summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2006-08-09 05:03:28 +0000
committerbrad <brad@openbsd.org>2006-08-09 05:03:28 +0000
commit4d7f3b4eacb77c9314010fe8d10bc4d4ac00dc93 (patch)
treefba9b956dd0a24f6101b77fc7d1d8c52cf6c38cf /sys
parentSync up to Intel's latest FreeBSD em driver (6.1.4). Adds PCI id for the PCIe (diff)
downloadwireguard-openbsd-4d7f3b4eacb77c9314010fe8d10bc4d4ac00dc93.tar.xz
wireguard-openbsd-4d7f3b4eacb77c9314010fe8d10bc4d4ac00dc93.zip
revert rev 1.119 as this seems to cause problems with some PHY.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_sk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c
index a3baf805899..2451140532a 100644
--- a/sys/dev/pci/if_sk.c
+++ b/sys/dev/pci/if_sk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sk.c,v 1.122 2006/08/04 06:25:13 brad Exp $ */
+/* $OpenBSD: if_sk.c,v 1.123 2006/08/09 05:03:28 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -419,7 +419,7 @@ sk_marv_miibus_writereg(struct device *dev, int phy, int reg, int val)
for (i = 0; i < SK_TIMEOUT; i++) {
DELAY(1);
- if (!(SK_YU_READ_2(sc_if, YUKON_SMICR) & YU_SMICR_BUSY))
+ if (SK_YU_READ_2(sc_if, YUKON_SMICR) & YU_SMICR_BUSY)
break;
}