diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-03-10 21:37:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-03-10 21:37:46 +0000 |
commit | 6ccd9d651353ca46fd2f261cefd66904703a4067 (patch) | |
tree | 690364ce1c1c625ef04285ddb5130aeaeec7b071 /sys/dev | |
parent | cb4d3e37787673f074e17962ab5d4ae752a18fcd (diff) |
Added support for the 82553 and 'B' 82555 PHY; dg@freebsd
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_fxp.c | 5 | ||||
-rw-r--r-- | sys/dev/pci/if_fxpreg.h | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/pci/if_fxp.c b/sys/dev/pci/if_fxp.c index 13f6a963f48..3a929e9282a 100644 --- a/sys/dev/pci/if_fxp.c +++ b/sys/dev/pci/if_fxp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_fxp.c,v 1.10 1998/01/11 13:43:03 deraadt Exp $ */ +/* $OpenBSD: if_fxp.c,v 1.11 1998/03/10 21:37:44 deraadt Exp $ */ /* $NetBSD: if_fxp.c,v 1.2 1997/06/05 02:01:55 thorpej Exp $ */ /* @@ -1321,6 +1321,9 @@ fxp_init(xsc) switch (sc->phy_primary_device) { case FXP_PHY_DP83840: case FXP_PHY_DP83840A: + case FXP_PHY_82553A: + case FXP_PHY_82553C: + case FXP_PHY_82555B: fxp_mdi_write(sc, sc->phy_primary_addr, FXP_DP83840_PCR, fxp_mdi_read(sc, sc->phy_primary_addr, FXP_DP83840_PCR) | FXP_DP83840_PCR_LED4_MODE | /* LED4 always indicates duplex */ diff --git a/sys/dev/pci/if_fxpreg.h b/sys/dev/pci/if_fxpreg.h index 56e8db4f59b..8eb90e8a8f9 100644 --- a/sys/dev/pci/if_fxpreg.h +++ b/sys/dev/pci/if_fxpreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_fxpreg.h,v 1.3 1997/07/31 01:15:00 downsj Exp $ */ +/* $OpenBSD: if_fxpreg.h,v 1.4 1998/03/10 21:37:45 deraadt Exp $ */ /* $NetBSD: if_fxpreg.h,v 1.2 1997/06/05 02:01:57 thorpej Exp $ */ /* @@ -304,6 +304,7 @@ struct fxp_stats { #define FXP_PHY_80C24 6 #define FXP_PHY_82555 7 #define FXP_PHY_DP83840A 10 +#define FXP_PHY_82555B 11 /* * PHY BMCR Basic Mode Control Register |