diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-10-07 05:58:27 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-10-07 05:58:27 +0000 |
commit | 4bc5e2ee43fafe6c94a0fdae9dead3bf18320a17 (patch) | |
tree | f27aa52ee45ebe4b140bf274af3f0dbf7f6b8316 /sys/dev/isa | |
parent | 87b5d6d2e31f819914d853c0344e50d5c84d7609 (diff) |
the iosize is dummied to 0x666
Diffstat (limited to 'sys/dev/isa')
-rw-r--r-- | sys/dev/isa/lpt_isa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/lpt_isa.c b/sys/dev/isa/lpt_isa.c index 4a2f7342178..0c206efa555 100644 --- a/sys/dev/isa/lpt_isa.c +++ b/sys/dev/isa/lpt_isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lpt_isa.c,v 1.7 1997/10/07 05:36:07 mickey Exp $ */ +/* $OpenBSD: lpt_isa.c,v 1.8 1997/10/07 05:58:26 mickey Exp $ */ /* * Copyright (c) 1993, 1994 Charles Hannum. @@ -117,7 +117,7 @@ lpt_isa_probe(parent, match, aux) iot = ia->ia_iot; base = ia->ia_iobase; - iosz = (ia->ia_iosize == -1) ? LPT_NPORTS : ia->ia_iosize; + iosz = (ia->ia_iosize == 0x666) ? LPT_NPORTS : ia->ia_iosize; if (bus_space_map(iot, base, iosz, 0, &ioh)) return 0; |