diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-12-28 10:22:08 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-12-28 10:22:08 +0000 |
commit | bc6c977001895b91063917eed2438db8626f5eb7 (patch) | |
tree | 9c74e2d913305fadcd53b61fbb6ed88206424f32 /sys | |
parent | d0ae8b3626d85a2c087bc5f7767993ee880487af (diff) |
Pass MIIF_DOPAUSE to mii_attach().
Diffstat (limited to 'sys')
-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 3aa29f7f30c..4571898db42 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.34 2006/12/24 22:56:48 kettenis Exp $ */ +/* $OpenBSD: if_msk.c,v 1.35 2006/12/28 10:22:07 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, 0); + MII_OFFSET_ANY, MIIF_DOPAUSE); 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, |