Add missing "break;" statements in the code that determines the

media setup by the Alpha SRM console software.

From Ross Harvey <ross@teraflop.com>.
This commit is contained in:
thorpej 1997-09-12 22:40:02 +00:00
parent 1507e4ad2c
commit 4f7a116064

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_de.c,v 1.48 1997/08/25 19:03:44 thorpej Exp $ */
/* $NetBSD: if_de.c,v 1.49 1997/09/12 22:40:02 thorpej Exp $ */
/*-
* Copyright (c) 1994-1997 Matt Thomas (matt@3am-software.com)
@ -5044,12 +5044,14 @@ tulip_pci_attach(
* force a probe.
*/
switch ((cfdainfo >> 8) & 0xff) {
case 1: sc->tulip_media = chipid > TULIP_DE425 ? TULIP_MEDIA_AUI : TULIP_MEDIA_AUIBNC;
case 2: sc->tulip_media = chipid > TULIP_DE425 ? TULIP_MEDIA_BNC : TULIP_MEDIA_UNKNOWN;
case 3: sc->tulip_media = TULIP_MEDIA_10BASET;
case 4: sc->tulip_media = TULIP_MEDIA_10BASET_FD;
case 5: sc->tulip_media = TULIP_MEDIA_100BASETX;
case 6: sc->tulip_media = TULIP_MEDIA_100BASETX_FD;
case 1: sc->tulip_media = chipid > TULIP_DE425 ?
TULIP_MEDIA_AUI : TULIP_MEDIA_AUIBNC; break;
case 2: sc->tulip_media = chipid > TULIP_DE425 ?
TULIP_MEDIA_BNC : TULIP_MEDIA_UNKNOWN; break;
case 3: sc->tulip_media = TULIP_MEDIA_10BASET; break;
case 4: sc->tulip_media = TULIP_MEDIA_10BASET_FD; break;
case 5: sc->tulip_media = TULIP_MEDIA_100BASETX; break;
case 6: sc->tulip_media = TULIP_MEDIA_100BASETX_FD; break;
}
#endif