summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev/if_sn_obio.c
diff options
context:
space:
mode:
authorbriggs <briggs@cvs.openbsd.org>1997-04-04 14:48:57 +0000
committerbriggs <briggs@cvs.openbsd.org>1997-04-04 14:48:57 +0000
commite39a68fa1480bfa940ff09781b4e4dd94e468776 (patch)
tree919863b9a95b092392b357f14c10893a13531927 /sys/arch/mac68k/dev/if_sn_obio.c
parent7cc812c4ed6bf7ac02a4699c4cedf0b7552a5679 (diff)
Do not set DCR_SYNC for the C/Q[68]xx systems.
Thanks to Steve Brown <sbrown@best.com> for working with me to find this.
Diffstat (limited to 'sys/arch/mac68k/dev/if_sn_obio.c')
-rw-r--r--sys/arch/mac68k/dev/if_sn_obio.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/mac68k/dev/if_sn_obio.c b/sys/arch/mac68k/dev/if_sn_obio.c
index 831209f4868..0384337c402 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.5 1997/03/29 23:26:49 briggs Exp $ */
+/* $OpenBSD: if_sn_obio.c,v 1.6 1997/04/04 14:48:56 briggs Exp $ */
/*
* Copyright (C) 1997 Allen Briggs
@@ -86,7 +86,7 @@ sn_obio_attach(parent, self, aux)
struct sn_softc *sc = (void *)self;
int i;
- sc->snr_dcr = DCR_SYNC | DCR_WAIT0 | DCR_DMABLOCK |
+ sc->snr_dcr = DCR_WAIT0 | DCR_DMABLOCK |
DCR_RFT16 | DCR_TFT16;
sc->snr_dcr2 = 0;
@@ -94,7 +94,7 @@ sn_obio_attach(parent, self, aux)
case MACH_MACQ700: /* only tested on Q700 */
case MACH_MACQ900:
case MACH_MACQ950:
- sc->snr_dcr |= DCR_LBR | DCR_DW32;
+ sc->snr_dcr |= DCR_SYNC | DCR_LBR | DCR_DW32;
sc->bitmode = 1;
break;
@@ -108,7 +108,7 @@ sn_obio_attach(parent, self, aux)
break;
case MACH_MACPB500:
- sc->snr_dcr |= DCR_LBR | DCR_DW16;
+ sc->snr_dcr |= DCR_SYNC | DCR_LBR | DCR_DW16;
sc->bitmode = 0;
break;
}
@@ -159,7 +159,7 @@ sn_obio_getaddr(sc)
* When the address is read out it must be reversed to ethernet format
* before use.
*
- * Apple has been assigned OUI's 00:08:07 and 00:a0:40. All onboard
+ * Apple has been assigned OUI's 08:00:07 and 00:a0:40. All onboard
* ethernet addresses on 68K machines should be in one of these
* two ranges.
*