summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2007-01-21 22:37:56 +0000
committerkettenis <kettenis@openbsd.org>2007-01-21 22:37:56 +0000
commit830b49f2205a0de4901e96d26d973ea4bc06ec4b (patch)
tree2c747a918593a7675cab3a3040e494258985d4af /sys/dev
parentFix typo. From brad@ (diff)
downloadwireguard-openbsd-830b49f2205a0de4901e96d26d973ea4bc06ec4b.tar.xz
wireguard-openbsd-830b49f2205a0de4901e96d26d973ea4bc06ec4b.zip
Use MII_ANEGTICKS_GIGE instead of MII_ANEGTICKS.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/mii/rgephy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/rgephy.c b/sys/dev/mii/rgephy.c
index 747cefec7a4..2f04ebcd870 100644
--- a/sys/dev/mii/rgephy.c
+++ b/sys/dev/mii/rgephy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rgephy.c,v 1.23 2006/12/31 15:04:33 krw Exp $ */
+/* $OpenBSD: rgephy.c,v 1.24 2007/01/21 22:37:56 kettenis Exp $ */
/*
* Copyright (c) 2003
* Bill Paul <wpaul@windriver.com>. All rights reserved.
@@ -128,7 +128,7 @@ rgephyattach(struct device *parent, struct device *self, void *aux)
sc->mii_funcs = &rgephy_funcs;
sc->mii_pdata = mii;
sc->mii_flags = ma->mii_flags;
- sc->mii_anegticks = MII_ANEGTICKS;
+ sc->mii_anegticks = MII_ANEGTICKS_GIGE;
sc->mii_flags |= MIIF_NOISOLATE;