at76c503 on sun ultra 10
Charles Lemmon <[email protected]>
| Newsgroups | gmane.linux.drivers.at76c503a.user |
|---|---|
| Message-ID | <[email protected]> |
Well I searched and found some info on the web about the call-clobbered
error:
/lib/modules/2.4.26-sparc/build/include/asm/page.h:112: warning:
call-clobbered register used for global register variable
and modified my CFLAGS in the Makefile
CFLAGS = -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing \
-Wno-trigraphs \
-mcpu=ultrasparc -m64 -fomit-frame-pointer -mno-fpu \
-mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7 \
-Wa,--undeclared-regs -DMODULE\
$(FW_DL) \
-fno-common -Wno-sign-compare -Wno-unused
Everything compiles cleanly except at76c503.c
sparc64-linux-gcc -MD -O2 -Wall -Wstrict-prototypes -pipe
-fno-strict-aliasing -Wno-trigraphs -mcpu=ultrasparc -m64
-fomit-frame-pointer -mno-fpu -mcmodel=medlow -ffixed-g4
-fcall-used-g5 -fcall-used-g7 -Wa,--undeclared-regs -DMODULE
-fno-common -Wno-sign-compare -Wno-unused -D__KERNEL__ -DMODULE
-DEXPORT_SYMTAB -DDRIVER_VERSION=\"v0.12beta11\"
-I/lib/modules/2.4.26-sparc/build/include -DMODVERSIONS -include
/lib/modules/2.4.26-sparc/build/include/linux/modversions.h
-nostdinc -I
/usr/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3.3/include -c at76c503.c
at76c503.c: In function `rx_mgmt_beacon':
at76c503.c:3062: warning: int format, different type arg (arg 3)
at76c503.c: In function `at76c503_do_probe':
at76c503.c:6612: warning: unsigned int format, different type arg
(arg 8)
at76c503.c:6612: warning: unsigned int format, different type arg
(arg 10)
I am still getting "wlan0: no wireless extensions"
iwconfig --version
iwconfig Wireless-Tools version 27
Compatible with Wireless Extension v11 to v16.
Kernel Currently compiled with Wireless Extension v16.
dmesg output:
eth0: Link is up using internal transceiver at 10Mb/s, Half Duplex.
hub.c: new USB device 02:03.0-3, assigned address 2
usb.c: USB device 2 (vend/prod 0x66b/0x2211) is not claimed by any
active driver.
usbdfu.c: USB Device Firmware Upgrade (DFU) handler v0.12beta11 loading
at76c503.c: Generic Atmel at76c503/at76c505 routines v0.12beta11
at76c503-fw_skel.c: Atmel at76c503 (i3861) Wireless LAN Driver
v0.12beta11 loading
usb.c: registered new driver at76c503-i3861
at76c503-fw_skel.c: using compiled-in firmware
at76c503.c: $Id: at76c503.c,v 1.53 2004/04/16 19:06:02 jal2 Exp $
compiled May 4 2004 20:53:52
at76c503.c: firmware version 0.90.0 #2 (fcs_len 4)
at76c503.c: device's MAC 00:04:5a:c8:b1:02, regulatory domain <unknown>
(id 255)at76c503.c: registered wlan0
sys32_ioctl(iwconfig:1446): Unknown cmd fd(3) cmd(00008b1a) arg(effffce0)
sys32_ioctl(iwconfig:1457): Unknown cmd fd(3) cmd(00008b04) arg(effffd10)
at76c503.c: using BSSID 02:00:8c:46:67:00
I feel like I am very close. Can anyone suggest why the driver doesn't
appear to have wireless extensions?
Thanks,
Charles