freebsd-dev/sys/dev/en
Hartmut Brandt 33cfde03bc 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
2003-04-25 16:14:03 +00:00
..
if_en_pci.c Convert the midway driver to use busdma. Except for this conversion the 2003-04-25 16:14:03 +00:00
midway.c Convert the midway driver to use busdma. Except for this conversion the 2003-04-25 16:14:03 +00:00
midwayreg.h Convert the midway driver to use busdma. Except for this conversion the 2003-04-25 16:14:03 +00:00
midwayvar.h Convert the midway driver to use busdma. Except for this conversion the 2003-04-25 16:14:03 +00:00