diff options
author | peter <peter@FreeBSD.org> | 1999-04-22 13:10:43 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-04-22 13:10:43 +0000 |
commit | 31282b93d094f6185d2007c21fbaa1ced5338664 (patch) | |
tree | a87ed4f636648a4a5d383bbe9105e98872524367 /sys/dev/ppc | |
parent | cdd1dd5272846cb2feab27bee194a89e1e46a054 (diff) | |
download | FreeBSD-src-31282b93d094f6185d2007c21fbaa1ced5338664.zip FreeBSD-src-31282b93d094f6185d2007c21fbaa1ced5338664.tar.gz |
Return the port size from the probe.
"ppc0 at port 0x378 irq 7 drq 3 on isa0" becomes
"ppc0 at port 0x378-0x37f irq 7 drq 3 on isa0"
Diffstat (limited to 'sys/dev/ppc')
-rw-r--r-- | sys/dev/ppc/ppc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ppc/ppc.c b/sys/dev/ppc/ppc.c index 49d3e33..073eab5 100644 --- a/sys/dev/ppc/ppc.c +++ b/sys/dev/ppc/ppc.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ppc.c,v 1.19 1999/02/14 17:09:59 nsouch Exp $ + * $Id: ppc.c,v 1.20 1999/02/14 22:02:47 nsouch Exp $ * */ #include "ppc.h" @@ -43,6 +43,7 @@ #include <vm/pmap.h> #include <i386/isa/isa_device.h> +#include <i386/isa/isa.h> #include <dev/ppbus/ppbconf.h> #include <dev/ppbus/ppb_msq.h> @@ -1745,7 +1746,7 @@ ppcprobe(struct isa_device *dvp) if (ppc_detect(ppc, dvp->id_flags & 0xf)) goto error; - return (1); + return (IO_LPTSIZE); error: return (0); |