diff options
author | dfr <dfr@FreeBSD.org> | 1999-04-20 09:53:05 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1999-04-20 09:53:05 +0000 |
commit | f4a4db4735c0c5b04b0b035240ce98556a8707b1 (patch) | |
tree | 075f62c9b04d477004d19eb9ae39974822fd5ea6 | |
parent | 10f2d7145cd84442eecd2cc567a265eb7bf1c317 (diff) | |
download | FreeBSD-src-f4a4db4735c0c5b04b0b035240ce98556a8707b1.zip FreeBSD-src-f4a4db4735c0c5b04b0b035240ce98556a8707b1.tar.gz |
Make bt driver work on eisa again.
Submitted by: Matthew N. Dodd <winter@jurai.net>
-rw-r--r-- | sys/dev/buslogic/bt_eisa.c | 4 | ||||
-rw-r--r-- | sys/i386/eisa/bt_eisa.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/buslogic/bt_eisa.c b/sys/dev/buslogic/bt_eisa.c index 84ca778..06cba3a 100644 --- a/sys/dev/buslogic/bt_eisa.c +++ b/sys/dev/buslogic/bt_eisa.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: bt_eisa.c,v 1.3 1999/03/23 07:27:38 gibbs Exp $ + * $Id: bt_eisa.c,v 1.4 1999/04/18 15:50:33 peter Exp $ */ #include "eisa.h" @@ -118,7 +118,7 @@ bt_eisa_alloc_resources(device_t dev) * XXX assumes that the iospace ranges are sorted in increasing * order. */ - rid = 1; + rid = 0; port = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1, RF_ACTIVE); if (!port) diff --git a/sys/i386/eisa/bt_eisa.c b/sys/i386/eisa/bt_eisa.c index 84ca778..06cba3a 100644 --- a/sys/i386/eisa/bt_eisa.c +++ b/sys/i386/eisa/bt_eisa.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: bt_eisa.c,v 1.3 1999/03/23 07:27:38 gibbs Exp $ + * $Id: bt_eisa.c,v 1.4 1999/04/18 15:50:33 peter Exp $ */ #include "eisa.h" @@ -118,7 +118,7 @@ bt_eisa_alloc_resources(device_t dev) * XXX assumes that the iospace ranges are sorted in increasing * order. */ - rid = 1; + rid = 0; port = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1, RF_ACTIVE); if (!port) |