Beta BroadCom 4401 driver

TaxF <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Organization ix.com
Message-ID <[email protected]>
Hello !
I try compile those on FreeBSD 4.7 .
And correct 'make: don't know how to make miidevs.h. Stop'(i copy 
miidevs.h into /sys/modules/bcm) and (i edit if_bcm.c line 67,68):
'/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:67: dev/pci/pcireg.h: 
No such file or directory'
'/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:68: dev/pci/pcivar.h: 
No such file or directory'
But result == 0. What wrong ?

Warning: Object directory not changed from original /usr/src/sys/modules/bcm
cc -O -pipe   -D_KERNEL -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-  -I. 
-I@ -I/usr/include  -mpreferred-stack-boundary=2 -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -c 
/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c
In file included from /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:70:
@/dev/bcm/if_bcmreg.h:180: field `mtx' has incomplete type
/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c: In function `bcm_attach':
/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:202: warning: implicit 
declaration of function `mtx_init'
/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:202: `MTX_NETWORK_LOCK' 
undeclared (first use in this function)
/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:202: (Each undeclared 
identifier is reported only once
/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:202: for each function 
it appears in.)
/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:203: `MTX_DEF' 
undeclared (first use in this function)
/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:203: `MTX_RECURSE' 
undeclared (first use in this function)
/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:292: `busdma_lock_mutex' 
undeclared (first use in this function)
/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:292: `Giant' undeclared 
(first use in this function)
/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:293: too many arguments 
to function `bus_dma_tag_create'
/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:309: too many arguments 
to function `bus_dma_tag_create'
/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:326: too many arguments 
to function `bus_dma_tag_create'
/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:364: too many arguments 
to function `bus_dma_tag_create'
/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:430: warning: passing 
arg 2 of `ether_ifattach' makes
.........


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.