diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-10-06 12:32:10 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-10-06 12:32:10 +0000 |
commit | 93e23a2157000ad922e1e44c350e6fe6b2293315 (patch) | |
tree | 5f58755c953eb4dfb5f6225ab93a9db7292ba690 /sys | |
parent | 2ac8c227a439949ec4e0220b27ae56c58ab0045e (diff) |
Oops, committed this with a typo, which made it do not quite the right thing.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/mii/eephy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/eephy.c b/sys/dev/mii/eephy.c index 4dbd4026943..0f7e66fb614 100644 --- a/sys/dev/mii/eephy.c +++ b/sys/dev/mii/eephy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eephy.c,v 1.41 2007/10/05 10:26:27 kettenis Exp $ */ +/* $OpenBSD: eephy.c,v 1.42 2007/10/06 12:32:09 kettenis Exp $ */ /* * Principal Author: Parag Patel * Copyright (c) 2001 @@ -160,7 +160,7 @@ eephyattach(struct device *parent, struct device *self, void *aux) * disable fiber/copper autoselection. */ reg = PHY_READ(sc, E1000_ESSR); - if ((reg & E1000_ESSR_HWCFG_MODE) == E1000_ESSR_GMII_COPPER) { + if ((reg & E1000_ESSR_HWCFG_MODE) == E1000_ESSR_RGMII_COPPER) { reg |= E1000_ESSR_DIS_FC; PHY_WRITE(sc, E1000_ESSR, reg); |