-/* $OpenBSD: dio.c,v 1.1 1997/01/12 15:12:25 downsj Exp $ */
+/* $OpenBSD: dio.c,v 1.2 1997/01/13 18:03:53 downsj Exp $ */
/* $NetBSD: dio.c,v 1.1 1996/12/17 08:41:02 thorpej Exp $ */
/*-
else if (DIO_ISDIO(scode))
rval = DIO_BASE + (scode * DIO_DEVSIZE);
else if (DIO_ISDIOII(scode))
- rval = DIOII_BASE + (scode * DIOII_DEVSIZE);
+ rval = DIOII_BASE + ((scode - 132) * DIOII_DEVSIZE);
else
rval = 0;
-/* $OpenBSD: autoconf.c,v 1.7 1997/01/12 15:13:10 downsj Exp $ */
+/* $OpenBSD: autoconf.c,v 1.8 1997/01/13 18:03:55 downsj Exp $ */
/* $NetBSD: autoconf.c,v 1.29 1996/12/17 08:41:19 thorpej Exp $ */
/*
/*
* Invalid select codes
*/
- if ((sc >= 32 && sc < 132) || sc > 187) /* XXX */
+ if (sc >= 32 && sc < 132)
continue;
if (sc == -1) {