From eaa3fa50e7be2874dc310a0467ff2ab4617b6b29 Mon Sep 17 00:00:00 2001 From: briggs Date: Mon, 10 Mar 1997 01:15:30 +0000 Subject: [PATCH] Comment out use of bitmask_snprintf and make this work with OpenBSD mi SCSI. --- sys/arch/mac68k/dev/sbc_obio.c | 7 +++---- 1 file 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 */ -- 2.20.1