summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbriggs <briggs@cvs.openbsd.org>1997-04-22 13:37:57 +0000
committerbriggs <briggs@cvs.openbsd.org>1997-04-22 13:37:57 +0000
commitce4ada2b105c13a4b0605a5beb8a2ada7374b191 (patch)
treeac261d9f2015d0bf48113c0793f3b33252b91fb4
parent7a99bc250bbcdd0a96b974bf4e37bddb6fa7805b (diff)
Some minor cleanup.
-rw-r--r--sys/arch/mac68k/dev/if_sn_nubus.c7
-rw-r--r--sys/arch/mac68k/dev/if_sn_obio.c4
2 files changed, 6 insertions, 5 deletions
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);