diff options
| author | Pyun YongHyeon <yongari@FreeBSD.org> | 2009-05-20 03:33:27 +0000 |
|---|---|---|
| committer | Pyun YongHyeon <yongari@FreeBSD.org> | 2009-05-20 03:33:27 +0000 |
| commit | e32035ce1e794b9cff2908b8e192893b7c815b71 (patch) | |
| tree | f46500833419525afc7e57b7738fb200397355b0 /sys/dev/age | |
| parent | 126f8425c3dddba964f2ea0f51b9f3e5ed2e4f91 (diff) | |
Notes
Diffstat (limited to 'sys/dev/age')
| -rw-r--r-- | sys/dev/age/if_age.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/dev/age/if_age.c b/sys/dev/age/if_age.c index 74afa2e44c7e..d60c2850c9cb 100644 --- a/sys/dev/age/if_age.c +++ b/sys/dev/age/if_age.c @@ -1477,23 +1477,11 @@ age_resume(device_t dev) { struct age_softc *sc; struct ifnet *ifp; - uint16_t cmd; sc = device_get_softc(dev); AGE_LOCK(sc); - /* - * Clear INTx emulation disable for hardwares that - * is set in resume event. From Linux. - */ - cmd = pci_read_config(sc->age_dev, PCIR_COMMAND, 2); - if ((cmd & 0x0400) != 0) { - cmd &= ~0x0400; - pci_write_config(sc->age_dev, PCIR_COMMAND, cmd, 2); - } - AGE_UNLOCK(sc); age_phy_reset(sc); - AGE_LOCK(sc); ifp = sc->age_ifp; if ((ifp->if_flags & IFF_UP) != 0) age_init_locked(sc); |
