aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sky2.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-06-04 20:23:25 -0400
committerJeff Garzik <jeff@garzik.org>2007-07-08 22:16:42 -0400
commit8f70920f2f2a699b4ad35e625071cd92f4ba6ca3 (patch)
tree3a6ae95b751ea92bceec0f8f49d660f741f05485 /drivers/net/sky2.c
parent451af33552286b426940a32126bd3ece243223a3 (diff)
sky2: GPIO register
The General Purpose I/O register is yet another hardware workaround catchall. Enable workaround that vendor driver does to stay but for bug compatiable. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/sky2.c')
-rw-r--r--drivers/net/sky2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index fbe39d929277..1f1b6db434be 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -230,6 +230,11 @@ static void sky2_power_on(struct sky2_hw *hw)
230 sky2_pci_write32(hw, PCI_DEV_REG5, reg); 230 sky2_pci_write32(hw, PCI_DEV_REG5, reg);
231 231
232 sky2_pci_write32(hw, PCI_CFG_REG_1, 0); 232 sky2_pci_write32(hw, PCI_CFG_REG_1, 0);
233
234 /* Enable workaround for dev 4.107 on Yukon-Ultra & Extreme */
235 reg = sky2_read32(hw, B2_GP_IO);
236 reg |= GLB_GPIO_STAT_RACE_DIS;
237 sky2_write32(hw, B2_GP_IO, reg);
233 } 238 }
234} 239}
235 240