summaryrefslogtreecommitdiff
path: root/sys/dev/ic/adw.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2000-09-06 00:48:02 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2000-09-06 00:48:02 +0000
commit7620e968302f943ed2318d1d0328e9e07c191f47 (patch)
treeb6a0dae29944cce89f12d3b2dfce496c3613437c /sys/dev/ic/adw.c
parentbd283c54e9b0fb364bc2573d357bf401b661b747 (diff)
Remove #ifdef/#endif around various bits of INQUIRY response
information. Left over from old attempt to fit adw with U3W on floppyxx.fs instead of floppyBxx.fs. Puts 'sdx at ...' msgs back at the start of their own lines so the drives can be found during (I)nstall or (U)pgrade!
Diffstat (limited to 'sys/dev/ic/adw.c')
-rw-r--r--sys/dev/ic/adw.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/ic/adw.c b/sys/dev/ic/adw.c
index bad480391b4..03671e10e06 100644
--- a/sys/dev/ic/adw.c
+++ b/sys/dev/ic/adw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adw.c,v 1.8 2000/07/22 15:10:13 krw Exp $ */
+/* $OpenBSD: adw.c,v 1.9 2000/09/06 00:48:01 krw Exp $ */
/* $NetBSD: adw.c,v 1.23 2000/05/27 18:24:50 dante Exp $ */
/*
@@ -1110,7 +1110,6 @@ adw_print_info(sc, tid)
ADW_SOFTC *sc;
int tid;
{
-#ifdef ADW_DEBUG
bus_space_tag_t iot = sc->sc_iot;
bus_space_handle_t ioh = sc->sc_ioh;
u_int16_t wdtr_able, wdtr_done, wdtr;
@@ -1120,11 +1119,9 @@ adw_print_info(sc, tid)
if (tid == 0){
wdtr_reneg = sdtr_reneg = 0;
}
-#endif
printf("%s: target %d ", sc->sc_dev.dv_xname, tid);
-#ifdef ADW_DEBUG
ADW_READ_WORD_LRAM(iot, ioh, ADW_MC_SDTR_ABLE, wdtr_able);
if(wdtr_able & ADW_TID_TO_TIDMASK(tid)) {
ADW_READ_WORD_LRAM(iot, ioh, ADW_MC_SDTR_DONE, wdtr_done);
@@ -1175,7 +1172,6 @@ adw_print_info(sc, tid)
((sdtr_reneg)? "sync" : "") );
printf(" renegotiation pending before next command.\n");
}
-#endif
}