diff options
author | mdodd <mdodd@FreeBSD.org> | 2003-03-29 21:44:46 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2003-03-29 21:44:46 +0000 |
commit | 69599b7cf6d34034513d579e54a174262ac93d39 (patch) | |
tree | 659d70beaef943197e4a69f5bddce46afd064a32 /sys/dev/ep/if_ep_eisa.c | |
parent | f932a709c1ab4f02d50cfaef926ad44c6bb48597 (diff) | |
download | FreeBSD-src-69599b7cf6d34034513d579e54a174262ac93d39.zip FreeBSD-src-69599b7cf6d34034513d579e54a174262ac93d39.tar.gz |
- Return error status instead of value in get_e().
- Modify ep_get_macaddr() to return an error status.
- Reverse the return value logic of eeprom_rdy().
Diffstat (limited to 'sys/dev/ep/if_ep_eisa.c')
-rw-r--r-- | sys/dev/ep/if_ep_eisa.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ep/if_ep_eisa.c b/sys/dev/ep/if_ep_eisa.c index f0bef6d..ac6738a 100644 --- a/sys/dev/ep/if_ep_eisa.c +++ b/sys/dev/ep/if_ep_eisa.c @@ -38,8 +38,8 @@ #include <net/if_arp.h> #include <net/if_media.h> - -#include <dev/eisa/eisaconf.h> +#include <dev/eisa/eisa_busreg.h> +#include <dev/eisa/eisa_busvar.h> #include <dev/ep/if_epreg.h> #include <dev/ep/if_epvar.h> @@ -122,8 +122,8 @@ ep_eisa_probe(device_t dev) if ((inw(iobase + EP_W0_ADDRESS_CFG) & 0x1f) != 0x1f) return ENXIO; - eisa_add_iospace(dev, iobase, EP_EISA_IOSIZE, RESVADDR_NONE); - eisa_add_iospace(dev, port, EP_IOSIZE, RESVADDR_NONE); + eisa_add_iospace(dev, iobase, EP_EISA_IOSIZE); + eisa_add_iospace(dev, port, EP_IOSIZE); conf = inw(iobase + EISA_IOCONF); /* Determine our IRQ */ @@ -171,7 +171,7 @@ ep_eisa_probe(device_t dev) break; } - eisa_add_intr(dev, irq, int_trig); + eisa_add_irq(dev, irq, int_trig); return 0; } |