I downloaded the kernel source from linux-sunxi.org and tried compiling, but when I enable the wireless driver I get the following messages during the modules build phase:
Building modules, stage 2.
MODPOST 82 modules
ERROR: "sw_usb_disable_hcd" [drivers/net/wireless/rtl8192cu/8192cu.ko] undefined!
ERROR: "sw_usb_enable_hcd" [drivers/net/wireless/rtl8192cu/8192cu.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
Any ideas what I'm doing wrong?
Ah, never mind, it seems I needed to turn on option USB_SW_SUN5I_USB_MANAGER (under Device Drivers -> USB support (USB_SUPPORT [=y]) -> SUN5I USB2.0 Dual Role Controller support (USB_SW_SUN5I_USB)).