diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-12-30 20:39:10 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-12-30 20:39:10 +0000 |
commit | ee38447076f804e2eab9abcaeccf7202f7308187 (patch) | |
tree | e5cb9f521a0dfbe88a8050d21d8f2acafa08035a /sys/dev/pci | |
parent | c855d6ad70250046bdeb84cfa987a7721d2c39d1 (diff) |
Pass MIIF_FORCEANEG to mii_attack() until we stop doing unnecessary PHY
hardware resets.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_msk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_msk.c b/sys/dev/pci/if_msk.c index d055abb45dd..2333fa7419c 100644 --- a/sys/dev/pci/if_msk.c +++ b/sys/dev/pci/if_msk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_msk.c,v 1.36 2006/12/28 16:34:42 kettenis Exp $ */ +/* $OpenBSD: if_msk.c,v 1.37 2006/12/30 20:39:09 kettenis Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -1097,7 +1097,7 @@ msk_attach(struct device *parent, struct device *self, void *aux) ifmedia_init(&sc_if->sk_mii.mii_media, 0, msk_ifmedia_upd, msk_ifmedia_sts); mii_attach(self, &sc_if->sk_mii, 0xffffffff, MII_PHY_ANY, - MII_OFFSET_ANY, MIIF_DOPAUSE); + MII_OFFSET_ANY, MIIF_DOPAUSE|MIIF_FORCEANEG); if (LIST_FIRST(&sc_if->sk_mii.mii_phys) == NULL) { printf("%s: no PHY found!\n", sc_if->sk_dev.dv_xname); ifmedia_add(&sc_if->sk_mii.mii_media, IFM_ETHER|IFM_MANUAL, |