免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1589 | 回复: 1
打印 上一主题 下一主题

[嵌入式] usb无线网卡驱动移植 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-06-11 12:28 |只看该作者 |倒序浏览
我是新手,现在用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中哪部分要移过来,晕阿,请教做过的大虾,给点指导吧

论坛徽章:
0
2 [报告]
发表于 2006-08-01 14:16 |只看该作者

回复 1楼 leo314034 的帖子

你好,我正开发usb无线网卡驱动(uclinux)。请问,你用的是那款usb无限网卡(linux驱动)。急!!!
谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP