LinuxSir.cn,穿越时空的Linuxsir!

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

3com 3c940芯片驱动求救

[复制链接]
发表于 2003-6-21 13:04:01 | 显示全部楼层 |阅读模式
各位大侠好:
弟在驱动主机板内建的LAN芯片上遇到了问题
主机板是ASUS的P4C800-Deluxe, 华硕提供的linux驱动只有在RedHat9上
驱动成功, 在SuSE8上无法驱动, 以下是SuSE上安装的错误讯息:

gcc -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -DMODULE -I. -DSK_USE_CSUM -I
/usr/include -include /usr/include/linux/modversions.h -DMODVERSIONS -D__SMP__   -c -o
skge.o skge.c
In file included from /usr/include/asm/hardirq.h:6,
                 from /usr/include/linux/interrupt.h:45,
                 from h/skdrv1st.h:161,
                 from skge.c:347:
/usr/include/linux/irq.h:65: error: `CONFIG_X86_L1_CACHE_SHIFT undeclared here (not in a
function)
/usr/include/linux/irq.h:65: error: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:45,
                 from h/skdrv1st.h:161,
                 from skge.c:347:
/usr/include/asm/hardirq.h:16: error: `CONFIG_X86_L1_CACHE_SHIFT undeclared here (not in
a function)
/usr/include/asm/hardirq.h:16: error: requested alignment is not a constant
In file included from h/skdrv1st.h:161,
                 from skge.c:347:
/usr/include/linux/interrupt.h:128: error: `CONFIG_X86_L1_CACHE_SHIFT undeclared here (not
in a function)
/usr/include/linux/interrupt.h:128: error: requested alignment is not a constant
In file included from h/skdrv1st.h:166,
                 from skge.c:347:
/usr/include/linux/netdevice.h:165: error: `CONFIG_X86_L1_CACHE_SHIFT undeclared here
(not in a function)
/usr/include/linux/netdevice.h:165: error: requested alignment is not a constant
In file included from h/skdrv1st.h:166,
                 from skge.c:347:
/usr/include/linux/netdevice.h:507: error: `CONFIG_X86_L1_CACHE_SHIFT undeclared here
(not in a function)
/usr/include/linux/netdevice.h:507: error: requested alignment is not a constant
In file included from skge.c:347:
h/skdrv1st.h:172:26: net/checksum.h: No such file or directory
skge.c: In function `skge_probe:
skge.c:525: warning: integer constant is too large for "long" type
skge.c:644: error: `proc_net undeclared (first use in this function)
skge.c:644: error: (Each undeclared identifier is reported only once
skge.c:644: error: for each function it appears in.)
skge.c: In function `skge_cleanup_module:
skge.c:986: error: `proc_net undeclared (first use in this function)
skge.c: In function `XmitFrameSG:
skge.c:2098: warning: comparison between signed and unsigned
skge.c:2100: warning: comparison between signed and unsigned
skge.c:2171: warning: comparison between signed and unsigned
skge.c:2216: warning: comparison between signed and unsigned
skge.c: In function `ReceiveIrq:
skge.c:2569: warning: comparison between signed and unsigned
skge.c:2579: warning: comparison between signed and unsigned
skge.c: In function `SkGeIoctl:
skge.c:3526: warning: comparison between signed and unsigned
skge.c:3526: warning: signed and unsigned type in conditional expression
skge.c:3526: warning: comparison between signed and unsigned
skge.c:3526: warning: signed and unsigned type in conditional expression
skge.c:3526: warning: comparison between signed and unsigned
skge.c:3526: warning: signed and unsigned type in conditional expression
skge.c: In function `SkDrvEvent:
skge.c:4445: warning: comparison between signed and unsigned
skge.c: At top level:
h/skversion.h:51: warning: `SysKonnectFileId defined but not used
h/skversion.h:52: warning: `SysKonnectBuildNumber defined but not used
skge.c:792: warning: `__module_license defined but not used
make: *** [skge.o] Error 1
发表于 2003-6-25 00:04:10 | 显示全部楼层
skge.c:792: warning: `__module_license defined but not used


这里面说license不能用

请问兄弟在哪下的驱动?
 楼主| 发表于 2003-6-25 07:48:31 | 显示全部楼层
我是在华硕的网页下载的。
前几天技术人员回复我,说目前只有RedHat通过测试而已….
发表于 2003-6-25 14:58:43 | 显示全部楼层
请说一下是什么网卡
#lspci -v
#dmesg
 楼主| 发表于 2003-6-25 17:20:06 | 显示全部楼层
就是标题所说的网络芯片,是内建在板子上的LAN芯片。
详细规格在http://www.asus.com.cn/prog/spec ... Deluxe&langs=12
至于提供的驱动程序如上所述,只能在RH上安装…  
http://www.asus.com.cn/support/d ... amp;SLanguage=zh-cn
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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