Add support for the 82553[AC] PHY by treating it like an 82555. From
Soren S. Jorvang <soren@t.dk>, PR #4840.
This commit is contained in:
parent
d454388747
commit
9359316f6f
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_fxp.c,v 1.10 1998/01/28 07:26:42 thorpej Exp $ */
|
||||
/* $NetBSD: if_fxp.c,v 1.11 1998/01/28 18:31:37 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -199,6 +199,12 @@ const struct fxp_supported_media fxp_media[] = {
|
|||
{ FXP_PHY_DP83840A, fxp_media_standard,
|
||||
sizeof(fxp_media_standard) / sizeof(fxp_media_standard[0]),
|
||||
FXP_MEDIA_STANDARD_DEFMEDIA },
|
||||
{ FXP_PHY_82553A, fxp_media_standard,
|
||||
sizeof(fxp_media_standard) / sizeof(fxp_media_standard[0]),
|
||||
FXP_MEDIA_STANDARD_DEFMEDIA },
|
||||
{ FXP_PHY_82553C, fxp_media_standard,
|
||||
sizeof(fxp_media_standard) / sizeof(fxp_media_standard[0]),
|
||||
FXP_MEDIA_STANDARD_DEFMEDIA },
|
||||
{ FXP_PHY_82555, fxp_media_standard,
|
||||
sizeof(fxp_media_standard) / sizeof(fxp_media_standard[0]),
|
||||
FXP_MEDIA_STANDARD_DEFMEDIA },
|
||||
|
@ -1357,6 +1363,8 @@ fxp_set_media(sc, media)
|
|||
FXP_DP83840_PCR_F_CONNECT | /* force link disconnect bypass */
|
||||
FXP_DP83840_PCR_BIT10); /* XXX I have no idea */
|
||||
/* fall through */
|
||||
case FXP_PHY_82553A:
|
||||
case FXP_PHY_82553C: /* XXX untested */
|
||||
case FXP_PHY_82555:
|
||||
if (IFM_SUBTYPE(media) != IFM_AUTO) {
|
||||
int flags;
|
||||
|
|
Loading…
Reference in New Issue