diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1993-08-28 03:02:52 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1993-08-28 03:02:52 +0000 |
commit | d389a113066925541d1d808ab9c14476d5fc4ac0 (patch) | |
tree | 513a587c28beea7094e9527038303c6cde9c42fc /sys/dev/sio | |
parent | fa9c18f14c438f2a3e684967f18df9d62759f6ff (diff) | |
download | FreeBSD-src-d389a113066925541d1d808ab9c14476d5fc4ac0.zip FreeBSD-src-d389a113066925541d1d808ab9c14476d5fc4ac0.tar.gz |
xxxprobe now returns the correct number of I/O registers used so that
the probe output during boot gives the I/O range instead of just the
starting address
Diffstat (limited to 'sys/dev/sio')
-rw-r--r-- | sys/dev/sio/sio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 46e32eb..dd72ce4 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -41,7 +41,7 @@ * into the patch kit. Added in sioselect * from com.c. Added port 4 support. */ -static char rcsid[] = "$Header: /a/cvs/386BSD/src/sys.386bsd/i386/isa/sio.c,v 1.4 1993/07/20 00:22:30 jkh Exp $"; +static char rcsid[] = "$Header: /a/cvs/386BSD/src/sys/i386/isa/sio.c,v 1.5 1993/07/20 02:06:49 jkh Exp $"; #include "sio.h" #if NSIO > 0 @@ -352,7 +352,7 @@ sioprobe(dev) already_init = TRUE; } iobase = dev->id_iobase; - result = 1; + result = IO_COMSIZE; /* * We don't want to get actual interrupts, just masked ones. |