host_oob_irq = rockchip_wifi_get_oob_irq();
- printk("host_oob_irq: %d \r\n", host_oob_irq);
+ printf("host_oob_irq: %d \r\n", host_oob_irq);
return host_oob_irq;
}
uint host_oob_irq_flags = 0;
host_oob_irq_flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL | IORESOURCE_IRQ_SHAREABLE) & IRQF_TRIGGER_MASK;
- printk("host_oob_irq_flags=%d\n", host_oob_irq_flags);
+ printf("host_oob_irq_flags=%d\n", host_oob_irq_flags);
return host_oob_irq_flags;
}
int err = 0;
if (on) {
- printk("======== PULL WL_REG_ON HIGH! ========\n");
+ printf("======== PULL WL_REG_ON HIGH! ========\n");
rockchip_wifi_power(1);
} else {
- printk("======== PULL WL_REG_ON LOW! ========\n");
+ printf("======== PULL WL_REG_ON LOW! ========\n");
rockchip_wifi_power(0);
}
int err = 0;
if (present) {
- printk("======== Card detection to detect SDIO card! ========\n");
+ printf("======== Card detection to detect SDIO card! ========\n");
rockchip_wifi_set_carddetect(1);
} else {
- printk("======== Card detection to remove SDIO card! ========\n");
+ printf("======== Card detection to remove SDIO card! ========\n");
rockchip_wifi_set_carddetect(0);
}
int bcm_wlan_get_mac_address(unsigned char *buf)
{
int err = 0;
-
- printk("======== %s ========\n", __FUNCTION__);
+
+ printf("======== %s ========\n", __FUNCTION__);
#ifdef EXAMPLE_GET_MAC
/* EXAMPLE code */
{
void *alloc_ptr = NULL;
alloc_ptr = bcmdhd_mem_prealloc(section, size);
if (alloc_ptr) {
- printk("success alloc section %d, size %ld\n", section, size);
+ printf("success alloc section %d, size %ld\n", section, size);
if (size != 0L)
bzero(alloc_ptr, size);
return alloc_ptr;
}
- printk("can't alloc section %d\n", section);
+ printf("can't alloc section %d\n", section);
return NULL;
}
#endif
int bcm_wlan_set_plat_data(void) {
- printk("======== %s ========\n", __FUNCTION__);
+ printf("======== %s ========\n", __FUNCTION__);
dhd_wlan_control.set_power = bcm_wlan_set_power;
dhd_wlan_control.set_carddetect = bcm_wlan_set_carddetect;
dhd_wlan_control.get_mac_addr = bcm_wlan_get_mac_address;