diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-08-09 05:03:29 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-08-09 05:03:29 +0000 |
commit | ccdc2e5070ca7b97962fdbd74be2be1954ecfff6 (patch) | |
tree | 9fbd1c72f8effb979e8d6ac7dc22dfa5aad59a71 | |
parent | f7cb68fe9b49d939893b02b22a0aea0792805406 (diff) |
revert rev 1.119 as this seems to cause problems with some PHY.
-rw-r--r-- | sys/dev/pci/if_sk.c | 4 |
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; } |