usb/107642: [patch]Ralink Technology RT2501USB/RT2601USB
chipset driver
Jonathan Fosburgh
jonathan at fosburgh.org
Sun Mar 11 00:50:08 UTC 2007
The following reply was made to PR usb/107642; it has been noted by GNATS.
From: Jonathan Fosburgh <jonathan at fosburgh.org>
To: bug-followup at freebsd.org,
valera at chikalov.dp.ua
Cc:
Subject: Re: usb/107642: [patch]Ralink Technology RT2501USB/RT2601USB chipset driver
Date: Sat, 10 Mar 2007 18:45:18 -0600
I am trying to compile this on -CURRENT and I am receiving the following in
rum:
`--# make
Warning: Object directory not changed from original /usr/src/sys/modules/rum
:> opt_bdg.h
:> opt_usb.h
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h
cc -O2 -pipe -march=athlon64 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I- -I.
-I@ -I@/contrib/altq -finline-limit=8000 --param
inline-unit-growth=100 --param
large-function-growth=1000 -fno-common -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387
-mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-Wundef -fformat-extensions -c /usr/src/sys/modules/rum/../../dev/usb/if_rum.c
/usr/src/sys/modules/rum/../../dev/usb/if_rum.c: In function `rum_attachhook':
/usr/src/sys/modules/rum/../../dev/usb/if_rum.c:246: warning: assignment
discards qualifiers from pointer target type
/usr/src/sys/modules/rum/../../dev/usb/if_rum.c:254: warning: int format,
different type arg (arg 4)
*** Error code 1
Stop in /usr/src/sys/modules/rum.
I would hope if I could figure out where I am picking up the -Werror from I
could get it to build, but I would assume others have made it build correctly
on -CURRENT, so I should think it would compile fine.
I have a Novatech nv-902w adapter that is currently working on the ural
driver, but wpa crashes it. According to what I have seen in Linux forums it
is a 2570 chipset, so I wonder if this driver might be more appropriate.
More information about the freebsd-usb
mailing list