Date: Fri, 25 Apr 2003 09:14:03 -0700 (PDT) From: Hartmut Brandt <harti@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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 Message-ID: <200304251614.h3PGE3t5006537@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304251614.h3PGE3t5006537>