summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorbriggs <briggs@cvs.openbsd.org>1997-03-10 01:15:31 +0000
committerbriggs <briggs@cvs.openbsd.org>1997-03-10 01:15:31 +0000
commitaf13710309c6dd0e6ac67e670bd8db990fa5e4a4 (patch)
tree55b368bfd4b94a0c8a75f7c41bfaa7aac2d47aa3 /sys/arch
parent458ef3d12608942f97ebd6cc0abee1790f81dc76 (diff)
Comment out use of bitmask_snprintf and make this work with OpenBSD mi SCSI.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/mac68k/dev/sbc_obio.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/mac68k/dev/sbc_obio.c b/sys/arch/mac68k/dev/sbc_obio.c
index f15011848c3..38b3936b4f1 100644
--- a/sys/arch/mac68k/dev/sbc_obio.c
+++ b/sys/arch/mac68k/dev/sbc_obio.c
@@ -163,12 +163,10 @@ sbc_obio_attach(parent, self, args)
/*
* Fill in the prototype scsi_link.
*/
- ncr_sc->sc_link.channel = SCSI_CHANNEL_ONLY_ONE;
ncr_sc->sc_link.adapter_softc = sc;
ncr_sc->sc_link.adapter_target = 7;
ncr_sc->sc_link.adapter = &sbc_ops;
ncr_sc->sc_link.device = &sbc_dev;
- ncr_sc->sc_link.max_target = 7;
/*
* Initialize fields used by the MI code
@@ -226,8 +224,9 @@ sbc_obio_attach(parent, self, args)
sc->sc_clrintr = NULL;
if (sc->sc_options)
- printf(": options=%s", bitmask_snprintf(sc->sc_options,
- SBC_OPTIONS_BITS, bits, sizeof(bits)));
+ printf(": options=0x%x", sc->sc_options);
+/* printf(": options=%s", bitmask_snprintf(sc->sc_options,
+ SBC_OPTIONS_BITS, bits, sizeof(bits))); */
printf("\n");
/* Now enable SCSI interrupts through VIA2, if appropriate */