Add bfe(4) support from FreeBSD.
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 27 Feb 2004 11:56:12 +0000 (11:56 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 27 Feb 2004 11:56:12 +0000 (11:56 +0000)
commit7f1868394f13dcc0c5528dabd4b0fa1a3cf1e886
tree1a1c01f485c6ade198b073d69f24c0f1c466d735
parent8567ffba2b2ed75e48b204090b28b40004e58e5f
Add bfe(4) support from FreeBSD.
Initial code submitted by Peter Avalos <pavalos@theshell.com>.

Changes to the FreeBSD version:
- make the code consistent w.r.t. style(9)
- remove some unused entries from bfe_softc
- use the PCI IDs from pcidevs.h
- use BUS_DMA_WAITOK since the allocation is done in bfe_attach before
  the interrupt is registered and sleeping is therefore safe
- fix some warnings in the code about signed/unsigned comparisions
12 files changed:
share/man/man4/Makefile
share/man/man4/bfe.4 [new file with mode: 0644]
share/man/man4/miibus.4
sys/conf/files
sys/config/GENERIC
sys/config/LINT
sys/dev/netif/Makefile
sys/dev/netif/bfe/Makefile [new file with mode: 0644]
sys/dev/netif/bfe/if_bfe.c [new file with mode: 0644]
sys/dev/netif/bfe/if_bfereg.h [new file with mode: 0644]
sys/i386/conf/GENERIC
sys/i386/conf/LINT