|
技术交流 | 电路欣赏 | 工控天地 | 数字广电 | 通信技术 | 电源技术 | 测控之家 | EMC技术 | ARM技术 | EDA技术 | PCB技术 | 嵌入式系统 驱动编程 | 集成电路 | 器件替换 | 模拟技术 | 新手园地 | 单 片 机 | DSP技术 | MCU技术 | IC 设计 | IC 产业 | CAN-bus/DeviceNe |
请问大虾 ,usb无线网卡的移植问题 |
作者:iconwong 栏目:驱动编程 |
我是新手,现在用AT91RM9200的开发板做个项目,需要移植usb无线网卡的驱动,我下了 linux-wlan-ng.0.2.2.tar.gz.然后做了下面一点工作 1.kedit config.in enable the crosscompile 2.make config -------------- Linux WLAN Configuration Script ------------- The default responses are correct for most users. Build Prism2.x PCMCIA Card Services (_cs) driver? (y/n) [n]: n Build Prism2 PLX9052 based PCI (_plx) adapter driver? (y/n) [n]: n Build Prism2.5 native PCI (_pci) driver? (y/n) [n]: n Build Prism2.5 USB (_usb) driver? (y/n) [y]: y Linux source directory :/HHARM9200/linux-2.4.19-rmk7 The kernel source tree is version 2.4.19-rmk7. WARNING: the current running kernel is actually version 2.4.20. The current kernel build date is Wed Oct 6 09:16:23 2004. Alternate target INSTALL root directory on host [/opt/flea/INSTALL/wlan_ng]: MODULE INSTALL directory :/HHARM9200/linux-2.4.19-rmk7 It looks like you have a SYSTEM V init file setup. Prefix for build host compiler? (rarely needed) []: Build for debugging (see doc/config.debug) (y/n) [n]: Configuration successful. Now type 'make' and pray. 3. make success 我然后mount了主机到班子上,试图insmod prism2_usb.o,好像出错, 请问高手,驱动移植该怎么做啊,我试图修改了drivers/usb/makefile 文件,加入了obj-$(CONFIG_USB_WLAN) +=linux-wlan-ng 在drivers/usb/下建了linux-wlan-ng文件夹, 在/drivers/usb/config.in中也添加了USB_WLAN tristate USB wlan DEVICE' CONFIG_USB_WLAN,可是不知道其他的依赖关系了,还有不知道linux-wlan-ng中哪部分要移过来,晕阿,请教做过的大虾,给点指导吧 |
|
|
免费注册为维库电子开发网会员,参与电子工程师社区讨论,点此进入 |
Copyright © 1998-2006 www.dzsc.com 浙ICP证030469号 |