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.
This commit is contained in:
parent
64a2cc5d5b
commit
28af7de8a4
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_sn_obio.c,v 1.5 1997/03/30 19:51:49 briggs Exp $ */
|
||||
/* $NetBSD: if_sn_obio.c,v 1.6 1997/04/04 14:54:44 briggs Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1997 Allen Briggs
|
||||
|
@ -92,15 +92,14 @@ sn_obio_attach(parent, self, aux)
|
|||
u_int8_t myaddr[ETHER_ADDR_LEN];
|
||||
int i;
|
||||
|
||||
sc->snr_dcr = DCR_SYNC | DCR_WAIT0 | DCR_DMABLOCK |
|
||||
DCR_RFT16 | DCR_TFT16;
|
||||
sc->snr_dcr = DCR_WAIT0 | DCR_DMABLOCK | DCR_RFT16 | DCR_TFT16;
|
||||
sc->snr_dcr2 = 0;
|
||||
|
||||
switch (current_mac_model->machineid) {
|
||||
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;
|
||||
|
||||
|
@ -114,7 +113,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;
|
||||
|
||||
|
@ -170,7 +169,7 @@ sn_obio_getaddr(sc, lladdr)
|
|||
* 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.
|
||||
*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_sn_obio.c,v 1.5 1997/03/30 19:51:49 briggs Exp $ */
|
||||
/* $NetBSD: if_sn_obio.c,v 1.6 1997/04/04 14:54:44 briggs Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1997 Allen Briggs
|
||||
|
@ -92,15 +92,14 @@ sn_obio_attach(parent, self, aux)
|
|||
u_int8_t myaddr[ETHER_ADDR_LEN];
|
||||
int i;
|
||||
|
||||
sc->snr_dcr = DCR_SYNC | DCR_WAIT0 | DCR_DMABLOCK |
|
||||
DCR_RFT16 | DCR_TFT16;
|
||||
sc->snr_dcr = DCR_WAIT0 | DCR_DMABLOCK | DCR_RFT16 | DCR_TFT16;
|
||||
sc->snr_dcr2 = 0;
|
||||
|
||||
switch (current_mac_model->machineid) {
|
||||
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;
|
||||
|
||||
|
@ -114,7 +113,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;
|
||||
|
||||
|
@ -170,7 +169,7 @@ sn_obio_getaddr(sc, lladdr)
|
|||
* 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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue