diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-10-29 17:49:12 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-29 17:49:12 -0400 |
commit | b0c4e148bd591629749d02a8fbc8d81c26d548cf (patch) | |
tree | 3e2142635f3dc2ceeae870ead2dceab7b9c6def1 /drivers/net/pcmcia | |
parent | 5615ca7906aefbdc3318604c89db5931d0a25910 (diff) | |
parent | be15cd72d256e5eb3261a781b8507fac83ab33f6 (diff) |
Merge branch 'master'
Diffstat (limited to 'drivers/net/pcmcia')
-rw-r--r-- | drivers/net/pcmcia/pcnet_cs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/pcmcia/pcnet_cs.c b/drivers/net/pcmcia/pcnet_cs.c index 9f22d138e3ad..818c185d6438 100644 --- a/drivers/net/pcmcia/pcnet_cs.c +++ b/drivers/net/pcmcia/pcnet_cs.c | |||
@@ -1020,6 +1020,12 @@ static void set_misc_reg(struct net_device *dev) | |||
1020 | } else { | 1020 | } else { |
1021 | outb(full_duplex ? 4 : 0, nic_base + DLINK_DIAG); | 1021 | outb(full_duplex ? 4 : 0, nic_base + DLINK_DIAG); |
1022 | } | 1022 | } |
1023 | } else if (info->flags & IS_DL10019) { | ||
1024 | /* Advertise 100F, 100H, 10F, 10H */ | ||
1025 | mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 4, 0x01e1); | ||
1026 | /* Restart MII autonegotiation */ | ||
1027 | mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 0, 0x0000); | ||
1028 | mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 0, 0x1200); | ||
1023 | } | 1029 | } |
1024 | } | 1030 | } |
1025 | 1031 | ||