From 4bc5e2ee43fafe6c94a0fdae9dead3bf18320a17 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 7 Oct 1997 05:58:27 +0000 Subject: the iosize is dummied to 0x666 --- sys/dev/isa/lpt_isa.c | 4 ++-- 1 file 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; -- cgit v1.2.3