summaryrefslogtreecommitdiffstats
path: root/sys/pci/brooktree848.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-07-03 20:17:08 +0000
committerpeter <peter@FreeBSD.org>1999-07-03 20:17:08 +0000
commite5f4c63f137412a3f0691e64764e14569e7980db (patch)
tree2214af4f0dd363ebb3955ef6675f2e07918ae16b /sys/pci/brooktree848.c
parent7afdd102ca81aa50337adf724b0a330ca4120544 (diff)
downloadFreeBSD-src-e5f4c63f137412a3f0691e64764e14569e7980db.zip
FreeBSD-src-e5f4c63f137412a3f0691e64764e14569e7980db.tar.gz
Eliminate a bunch of #include "pci.h" and #if NPCI > 0 around entire
files. config will leave the whole file out if configured to do so.
Diffstat (limited to 'sys/pci/brooktree848.c')
-rw-r--r--sys/pci/brooktree848.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/pci/brooktree848.c b/sys/pci/brooktree848.c
index 23ccdea..1394def 100644
--- a/sys/pci/brooktree848.c
+++ b/sys/pci/brooktree848.c
@@ -1,4 +1,4 @@
-/* $Id: brooktree848.c,v 1.85 1999/06/12 14:54:54 roger Exp $ */
+/* $Id: brooktree848.c,v 1.86 1999/06/13 16:05:00 roger Exp $ */
/* BT848 Driver for Brooktree's Bt848, Bt848A, Bt849A, Bt878, Bt879 based cards.
The Brooktree BT848 Driver driver is based upon Mark Tinguely and
Jim Lowe's driver for the Matrox Meteor PCI card . The
@@ -438,7 +438,6 @@ They are unrelated to Revision Control numbering of FreeBSD or any other system.
#include "bktr.h"
#include "opt_bktr.h"
#include "opt_devfs.h"
-#include "pci.h"
#include "smbus.h"
#endif /* __FreeBSD__ */
@@ -447,7 +446,7 @@ They are unrelated to Revision Control numbering of FreeBSD or any other system.
#define NSMBUS 0
#endif
-#if !defined(__FreeBSD__) || ((NBKTR > 0) && (NPCI > 0))
+#if !defined(__FreeBSD__) || (NBKTR > 0)
#include <sys/param.h>
#include <sys/systm.h>
@@ -7040,7 +7039,7 @@ static void msp_autodetect( bktr_ptr_t bktr ) {
/* msp_write(bktr, 0x12, 0x0014, 0x7f40); */
}
-#endif /* !defined(__FreeBSD__) || (NBKTR > 0 && NPCI > 0) */
+#endif /* !defined(__FreeBSD__) || (NBKTR > 0) */
/* Local Variables: */
/* mode: C */
OpenPOWER on IntegriCloud