diff options
author | 2007-06-01 04:35:28 +0000 | |
---|---|---|
committer | 2007-06-01 04:35:28 +0000 | |
commit | 1b232a28a536c9c99c7357f30b7ddee5062e586d (patch) | |
tree | a72d948aa9d359fb0eebc50a829a72262ada8507 | |
parent | Remove a stupid wrapper function that does nothing more then calling another (diff) | |
download | wireguard-openbsd-1b232a28a536c9c99c7357f30b7ddee5062e586d.tar.xz wireguard-openbsd-1b232a28a536c9c99c7357f30b7ddee5062e586d.zip |
Only probe phy's at address 0; gets rid of bogus phy's on the
Marvell Yukon 88E8036.
ok jsg@
-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 3d6b95f3b5f..f6a2caee49a 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.54 2007/05/26 16:44:21 reyk Exp $ */ +/* $OpenBSD: if_msk.c,v 1.55 2007/06/01 04:35:28 kettenis Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -1100,7 +1100,7 @@ msk_attach(struct device *parent, struct device *self, void *aux) mii_flags = MIIF_DOPAUSE; if (sc->sk_fibertype) mii_flags |= MIIF_HAVEFIBER; - mii_attach(self, &sc_if->sk_mii, 0xffffffff, MII_PHY_ANY, + mii_attach(self, &sc_if->sk_mii, 0xffffffff, 0, MII_OFFSET_ANY, mii_flags); if (LIST_FIRST(&sc_if->sk_mii.mii_phys) == NULL) { printf("%s: no PHY found!\n", sc_if->sk_dev.dv_xname); |