summaryrefslogtreecommitdiffstats
path: root/sys/dev/ep/if_epreg.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2009-09-08 13:19:05 +0000
committerphk <phk@FreeBSD.org>2009-09-08 13:19:05 +0000
commit52972616516a18e69bb2849c2f2e718ee644b27f (patch)
tree9f7c1709b6ce492cd874120e81e8a117cab4ca7d /sys/dev/ep/if_epreg.h
parent2314521104388ada19392a3b2cdaca4ba6f82243 (diff)
downloadFreeBSD-src-52972616516a18e69bb2849c2f2e718ee644b27f.zip
FreeBSD-src-52972616516a18e69bb2849c2f2e718ee644b27f.tar.gz
Revert previous commit and add myself to the list of people who should
know better than to commit with a cat in the area.
Diffstat (limited to 'sys/dev/ep/if_epreg.h')
-rw-r--r--sys/dev/ep/if_epreg.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/ep/if_epreg.h b/sys/dev/ep/if_epreg.h
index 8c46403..f3c269f 100644
--- a/sys/dev/ep/if_epreg.h
+++ b/sys/dev/ep/if_epreg.h
@@ -315,11 +315,7 @@
S_TX_AVAIL|S_RX_COMPLETE|S_RX_EARLY)
#define S_COMMAND_IN_PROGRESS (u_short) (0x1000)
-#define EP_BUSY_WAIT(sc) \
- do { \
- while (CSR_READ_2(sc, EP_STATUS) & S_COMMAND_IN_PROGRESS) \
- continue; \
- } while (0)
+#define EP_BUSY_WAIT(sc) while (CSR_READ_2(sc, EP_STATUS) & S_COMMAND_IN_PROGRESS)
/* Address Config. Register.
* Window 0/Port 06
OpenPOWER on IntegriCloud