LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 789|回复: 0

usb无线网卡驱动移植的问题

[复制链接]
发表于 2006-6-9 20:29:09 | 显示全部楼层 |阅读模式
我是新手,现在用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中哪部分要移过来,晕阿,请教做过的大虾,给点指导吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表