cvs commit: src/sys/modules Makefile src/sys/pci if_en_pci.c
src/sys/modules/en Makefile src/sys/dev/en midway.c midwayreg.h
midwayvar.h
Hartmut Brandt
harti at FreeBSD.org
Fri Apr 25 09:14:04 PDT 2003
harti 2003/04/25 09:14:03 PDT
FreeBSD src repository
Modified files:
sys/modules Makefile
sys/pci if_en_pci.c
sys/dev/en midway.c midwayreg.h midwayvar.h
Added files:
sys/modules/en Makefile
Log:
Convert the midway driver to use busdma. Except for this conversion the
following changes have been done:
- stylify. The original code was too hard to read.
- get rid of a number of compilation options (Adaptec-only, Eni-only, no-DMA).
- more debugging features.
- locking. This is not correct yet in the absence of interface layer locking,
but is correct enough to not to cause lock order reversals.
- remove RAW mode. There are no users of this in the tree and I doubt that
there are any.
- remove NetBSD compatibility code. There was no way to keep NetBSD non-busdma
and FreeBSD busdma code together.
- if_en now buildable as a module.
This has been actively tested on sparc64 and i386 with ENI server and
client cards and an Adaptec card (thanks to kjc).
Reviewed by: mdodd, arr
Revision Changes Path
1.37 +2711 -2902 src/sys/dev/en/midway.c
1.5 +47 -69 src/sys/dev/en/midwayreg.h
1.7 +154 -124 src/sys/dev/en/midwayvar.h
1.320 +1 -0 src/sys/modules/Makefile
1.1 +20 -0 src/sys/modules/en/Makefile (new)
1.21 +282 -289 src/sys/pci/if_en_pci.c
More information about the cvs-src
mailing list