summaryrefslogtreecommitdiffstats
path: root/sys/dev/aic7xxx
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-01-29 14:22:19 +0000
committerpeter <peter@FreeBSD.org>2000-01-29 14:22:19 +0000
commit34c7d2ad4fc1a05b7aa42fefe53b6af35c63949e (patch)
tree984644050dc7cc28f1592b49545b2c6cfb0e3bcd /sys/dev/aic7xxx
parente5c332c2a29698f805ad4b3af088fa3b1e611ffa (diff)
downloadFreeBSD-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.c8
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 */
OpenPOWER on IntegriCloud