* [e100 2.6] missing setup for National DP83840 PHY rev b/c
@ 2004-03-07 8:40 Feldman, Scott
2004-03-08 1:20 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Feldman, Scott @ 2004-03-07 8:40 UTC (permalink / raw)
To: Jeff Garzik; +Cc: netdev, Feldman, Scott
* Add National DP83840 PHY rev b/c setup. Only rev a was being setup.
-------------
--- linux-2.5/drivers/net/e100.c 2004-03-04 09:30:03.000000000 -0800
+++ linux-2.5/drivers/net/e100.c.mod 2004-03-04 09:30:48.000000000 -0800
@@ -158,7 +158,7 @@
#define DRV_NAME "e100"
-#define DRV_VERSION "3.0.15"
+#define DRV_VERSION "3.0.16"
#define DRV_DESCRIPTION "Intel(R) PRO/100 Network Driver"
#define DRV_COPYRIGHT "Copyright(c) 1999-2004 Intel Corporation"
#define PFX DRV_NAME ": "
@@ -1032,8 +1032,9 @@ static int e100_phy_init(struct nic *nic
nic->phy = (u32)id_hi << 16 | (u32)id_lo;
DPRINTK(HW, DEBUG, "phy ID = 0x%08X\n", nic->phy);
- /* Handle National tx phy */
- if(nic->phy == phy_nsc_tx) {
+ /* Handle National tx phys */
+#define NCS_PHY_MODEL_MASK 0xFFF0FFFF
+ if((nic->phy & NCS_PHY_MODEL_MASK) == phy_nsc_tx) {
/* Disable congestion control */
cong = mdio_read(netdev, nic->mii.phy_id, MII_NSC_CONG);
cong |= NSC_CONG_TXREADY;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-08 1:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-07 8:40 [e100 2.6] missing setup for National DP83840 PHY rev b/c Feldman, Scott
2004-03-08 1:20 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).