From 515af692549c11c6000609e78d7b95b340734711 Mon Sep 17 00:00:00 2001 From: isaki Date: Sun, 7 Sep 2003 05:26:30 +0000 Subject: [PATCH] Delete strange ifdef x68k. Requested by tsutsui@ --- sys/dev/ic/mb89352.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/sys/dev/ic/mb89352.c b/sys/dev/ic/mb89352.c index 398d085ac4bd..9094319640b8 100644 --- a/sys/dev/ic/mb89352.c +++ b/sys/dev/ic/mb89352.c @@ -1,4 +1,4 @@ -/* $NetBSD: mb89352.c,v 1.23 2003/08/29 02:45:57 isaki Exp $ */ +/* $NetBSD: mb89352.c,v 1.24 2003/09/07 05:26:30 isaki Exp $ */ /* NecBSD: mb89352.c,v 1.4 1998/03/14 07:31:20 kmatsuda Exp */ /*- @@ -70,7 +70,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mb89352.c,v 1.23 2003/08/29 02:45:57 isaki Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mb89352.c,v 1.24 2003/09/07 05:26:30 isaki Exp $"); #ifdef DDB #define integrate @@ -656,12 +656,6 @@ spc_select(sc, acb) #if 0 bus_space_write_1(iot, ioh, SCMD, SCMD_SET_ATN); #endif -#ifdef x68k /* XXX? */ - do { - asm ("nop"); - } while (bus_space_read_1(iot, ioh, SSTS) & - (SSTS_ACTIVE|SSTS_TARGET|SSTS_BUSY)); -#endif bus_space_write_1(iot, ioh, PCTL, 0); bus_space_write_1(iot, ioh, TEMP, @@ -1664,14 +1658,8 @@ loop: /* * First check for abnormal conditions, such as reset. */ -#ifdef x68k /* XXX? */ - while ((ints = bus_space_read_1(iot, ioh, INTS)) == 0) - delay(1); - SPC_MISC(("ints = 0x%x ", ints)); -#else ints = bus_space_read_1(iot, ioh, INTS); SPC_MISC(("ints = 0x%x ", ints)); -#endif if ((ints & INTS_RST) != 0) { printf("%s: SCSI bus reset\n", sc->sc_dev.dv_xname);