summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-02-13 20:10:34 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-02-13 20:10:34 +0000
commitc353cba0ce0d9fed36f58bc37c67e0c0917c9dcb (patch)
tree88ca56ac09d37aa8800e66310533670291824704
parent862668f2ccf94ed4e4720bc6c6c387efa1e23d1d (diff)
Fix typo. Spotted by brad@.
-rw-r--r--sys/dev/pci/if_msk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_msk.c b/sys/dev/pci/if_msk.c
index 747dff801e1..65cac0cead9 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.48 2007/02/12 21:28:23 kettenis Exp $ */
+/* $OpenBSD: if_msk.c,v 1.49 2007/02/13 20:10:33 kettenis Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -1106,7 +1106,7 @@ msk_attach(struct device *parent, struct device *self, void *aux)
msk_ifmedia_upd, msk_ifmedia_sts);
mii_flags = MIIF_DOPAUSE;
if (sc->sk_fibertype)
- mii_flags = MIIF_HAVEFIBER;
+ mii_flags |= MIIF_HAVEFIBER;
mii_attach(self, &sc_if->sk_mii, 0xffffffff, MII_PHY_ANY,
MII_OFFSET_ANY, mii_flags);
if (LIST_FIRST(&sc_if->sk_mii.mii_phys) == NULL) {