diff options
author | peter <peter@FreeBSD.org> | 2000-01-29 14:22:19 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-01-29 14:22:19 +0000 |
commit | 34c7d2ad4fc1a05b7aa42fefe53b6af35c63949e (patch) | |
tree | 984644050dc7cc28f1592b49545b2c6cfb0e3bcd /sys/dev/aic7xxx | |
parent | e5c332c2a29698f805ad4b3af088fa3b1e611ffa (diff) | |
download | FreeBSD-src-34c7d2ad4fc1a05b7aa42fefe53b6af35c63949e.zip FreeBSD-src-34c7d2ad4fc1a05b7aa42fefe53b6af35c63949e.tar.gz |
remove #include "eisa.h" and #if NEISA > 0 - this is guaranteed by
config since ahc_eisa.c is "optional ahc eisa" meaning "only compile
ahc_eisa if ahc and eisa are defined"
Diffstat (limited to 'sys/dev/aic7xxx')
-rw-r--r-- | sys/dev/aic7xxx/ahc_eisa.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/aic7xxx/ahc_eisa.c b/sys/dev/aic7xxx/ahc_eisa.c index c8805fe..4e91eed 100644 --- a/sys/dev/aic7xxx/ahc_eisa.c +++ b/sys/dev/aic7xxx/ahc_eisa.c @@ -29,9 +29,6 @@ * $FreeBSD$ */ -#include "eisa.h" -#if NEISA > 0 - #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -104,8 +101,7 @@ aic7770_probe(device_t dev) return (ENXIO); device_set_desc(dev, desc); - iobase = (eisa_get_slot(dev) * EISA_SLOT_SIZE) - + AHC_EISA_SLOT_OFFSET; + iobase = (eisa_get_slot(dev) * EISA_SLOT_SIZE) + AHC_EISA_SLOT_OFFSET; /* Pause the card preseving the IRQ type */ hcntrl = inb(iobase + HCNTRL) & IRQMS; @@ -474,5 +470,3 @@ static driver_t ahc_eisa_driver = { static devclass_t ahc_devclass; DRIVER_MODULE(ahc, eisa, ahc_eisa_driver, ahc_devclass, 0, 0); - -#endif /* NEISA > 0 */ |