aionos
(usa Arch Linux)
Enviado em 23/04/2010 - 09:24h
Não creio que o problema esteja no driver, mas sim no suporte do kernel 2.6.33 ao mesmo. Mas de qualquer forma segue abaixo o resultado da tentativa de compilação do driver.
root@darkstar:~/2010_0412_RT61_Linux_STA_v1.1.2.5/Module# make
make -C /lib/modules/2.6.33.1-smp/build SUBDIRS=/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module modules
make[1]: Entering directory `/usr/src/linux-2.6.33.1'
CC [M] /root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.o
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c: In function 'rt61_get_drvinfo':
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:78: error: 'struct net_device' has no member named 'priv'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:78: warning: unused variable 'pAd'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c: In function 'rt61_get_regs_len':
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:97: warning: no return statement in function returning non-void
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c: In function 'rt61_get_regs':
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:103: error: 'struct net_device' has no member named 'priv'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:104: warning: unused variable 'counter'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:103: warning: unused variable 'pAd'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c: In function 'rt61_ethtool_get_link':
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:120: warning: unused variable 'pAd'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:130: warning: no return statement in function returning non-void
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c: In function 'rt61_get_eeprom_len':
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:139: warning: no return statement in function returning non-void
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c: In function 'rt61_get_eeprom':
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:145: error: 'struct net_device' has no member named 'priv'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:146: warning: unused variable 'counter'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:145: warning: unused variable 'pAd'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:159: warning: no return statement in function returning non-void
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c: At top level:
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:169: warning: initialization from incompatible pointer type
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c: In function 'RT61_probe':
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:238: warning: assignment discards qualifiers from pointer target type
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:282: warning: format '%lX' expects type 'long unsigned int', but argument 4 has type 'resource_size_t'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:287: error: 'struct net_device' has no member named 'priv'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:290: error: 'struct net_device' has no member named 'priv'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:294: error: 'struct net_device' has no member named 'priv'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:305: error: 'struct net_device' has no member named 'open'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:306: error: 'struct net_device' has no member named 'hard_start_xmit'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:307: error: 'struct net_device' has no member named 'stop'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:308: error: 'struct net_device' has no member named 'get_stats'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:317: error: 'struct net_device' has no member named 'set_multicast_list'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:318: error: 'struct net_device' has no member named 'do_ioctl'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:328: error: 'struct net_device' has no member named 'validate_addr'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:344: warning: ISO C90 forbids mixed declarations and code
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:392: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'resource_size_t'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c: In function 'RT61_open':
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:422: error: 'struct net_device' has no member named 'priv'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:472: warning: passing argument 2 of 'request_irq' from incompatible pointer type
include/linux/interrupt.h:117: note: expected 'irq_handler_t' but argument is of type 'enum irqreturn_t (*)(int, void *, struct pt_regs *)'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c: In function 'RTMPSendPackets':
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:627: error: 'struct net_device' has no member named 'priv'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c: In function 'RTMPIsr':
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:713: error: 'struct net_device' has no member named 'priv'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c: In function 'RT61_get_wireless_stats':
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:825: error: 'struct net_device' has no member named 'priv'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c: In function 'RT61_get_ether_stats':
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:873: error: 'struct net_device' has no member named 'priv'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c: In function 'RT61_close':
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:942: error: 'struct net_device' has no member named 'priv'
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c: In function 'RT61_remove_one':
/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.c:1002: error: 'struct net_device' has no member named 'priv'
make[2]: *** [/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module/rtmp_main.o] Error 1
make[1]: *** [_module_/root/2010_0412_RT61_Linux_STA_v1.1.2.5/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.33.1'
make: *** [all] Error 2