Código:
ziv0# pciconf -lv
none1@pci0:0:17:0: class=0x028000 card=0x70011799 chip=0x432014e4 rev=0x03 hdr=0x00
vendor = 'Broadcom Corporation'
device = 'BCM94309 802.11b/g Wireless LAN Controller'
class = network
none1@pci0:0:17:0: class=0x028000 card=0x70011799 chip=0x432014e4 rev=0x03 hdr=0x00
vendor = 'Broadcom Corporation'
device = 'BCM94309 802.11b/g Wireless LAN Controller'
class = network
Como veis es una Broadcom, una tarjeta que no esta soportada en el kernel de FreeBSD, asi que hay que hacer uso de los drivers de W$ e instalarlos con ndisgen.
Hasta aqui todo correcto, he bajado los drivers, con su correspondiente .inf y .sys. Pe:
Código:
b44win.inf
bcm4sbxp.sys
bcm4sbxp.sys
Lo instalo con ndisgen, y cuando esta construyendo el modulo, saltan errores de redefinicion de tipos:
Código:
Generating Makefile... done.
Building kernel module... /usr/share/misc/windrv_stub.c:124: warning: redundant redeclaration of 'device_probe_desc'
./device_if.h:27: warning: previous declaration of 'device_probe_desc' was here
/usr/share/misc/windrv_stub.c:125: error: redefinition of typedef 'device_probe_t'
./device_if.h:29: error: previous declaration of 'device_probe_t' was here
build failed. Exiting.
Building kernel module... /usr/share/misc/windrv_stub.c:124: warning: redundant redeclaration of 'device_probe_desc'
./device_if.h:27: warning: previous declaration of 'device_probe_desc' was here
/usr/share/misc/windrv_stub.c:125: error: redefinition of typedef 'device_probe_t'
./device_if.h:29: error: previous declaration of 'device_probe_t' was here
build failed. Exiting.
Y en el directorio, queda esto:
Código:
ziv0# ls
.depend b44win.cat bcm4sbxp.sys device_if.h windrv.h
@ b44win.inf bus_if.h machine windrv.o
.depend b44win.cat bcm4sbxp.sys device_if.h windrv.h
@ b44win.inf bus_if.h machine windrv.o
No se si arreglar yo mismo los fallos de redefinicion o que, no se si seria lo correcto. Gracias de antemano, y saludos










Autor




En línea




