Some minor cleanup.
authorbriggs <briggs@openbsd.org>
Tue, 22 Apr 1997 13:37:56 +0000 (13:37 +0000)
committerbriggs <briggs@openbsd.org>
Tue, 22 Apr 1997 13:37:56 +0000 (13:37 +0000)
sys/arch/mac68k/dev/if_sn_nubus.c
sys/arch/mac68k/dev/if_sn_obio.c

index d495ccf..a0bcc3e 100644 (file)
@@ -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) {
index 135ebba..09df12e 100644 (file)
@@ -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);