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"
This commit is contained in:
peter 2000-01-29 14:22:19 +00:00
parent e5c332c2a2
commit 34c7d2ad4f

View File

@ -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 */