From 34c7d2ad4fc1a05b7aa42fefe53b6af35c63949e Mon Sep 17 00:00:00 2001 From: peter Date: Sat, 29 Jan 2000 14:22:19 +0000 Subject: 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" --- sys/dev/aic7xxx/ahc_eisa.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'sys/dev/aic7xxx') 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 #include #include @@ -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 */ -- cgit v1.1