From: briggs Date: Tue, 22 Apr 1997 13:37:56 +0000 (+0000) Subject: Some minor cleanup. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=54348c11d186d827aea795459e9baa8da3a8f842;p=openbsd Some minor cleanup. --- diff --git a/sys/arch/mac68k/dev/if_sn_nubus.c b/sys/arch/mac68k/dev/if_sn_nubus.c index d495ccfacea..a0bcc3e4093 100644 --- a/sys/arch/mac68k/dev/if_sn_nubus.c +++ b/sys/arch/mac68k/dev/if_sn_nubus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sn_nubus.c,v 1.9 1997/04/14 00:45:41 briggs Exp $ */ +/* $OpenBSD: if_sn_nubus.c,v 1.10 1997/04/22 13:37:56 briggs Exp $ */ /* * Copyright (C) 1997 Allen Briggs @@ -179,8 +179,9 @@ sn_nubus_attach(parent, self, aux) sc->snr_dcr = DCR_SYNC | DCR_WAIT0 | DCR_DW32 | DCR_DMABLOCK | DCR_RFT16 | DCR_TFT16; sc->snr_dcr2 = 0; - printf(": attachment incomplete.\n"); - return; + offset = 0; + success = 0; + printf(": unknown card: attachment incomplete.\n"); } if (!success) { diff --git a/sys/arch/mac68k/dev/if_sn_obio.c b/sys/arch/mac68k/dev/if_sn_obio.c index 135ebbac1b9..09df12eebe5 100644 --- a/sys/arch/mac68k/dev/if_sn_obio.c +++ b/sys/arch/mac68k/dev/if_sn_obio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sn_obio.c,v 1.12 1997/04/13 14:14:52 briggs Exp $ */ +/* $OpenBSD: if_sn_obio.c,v 1.13 1997/04/22 13:37:56 briggs Exp $ */ /* * Copyright (C) 1997 Allen Briggs @@ -120,7 +120,7 @@ sn_obio_attach(parent, self, aux) } if (sn_obio_getaddr(sc)) { - printf("Failed to get MAC address. Trying kludge.\n"); + printf(": Failed to get MAC address. Trying kludge.\n"); if (sn_obio_getaddr_kludge(sc)) { printf("Kludge failed, too. Attachment failed.\n"); bus_space_unmap(sc->sc_regt, sc->sc_regh, SN_REGSIZE);