diff options
author | imp <imp@FreeBSD.org> | 2003-10-25 21:28:40 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-10-25 21:28:40 +0000 |
commit | a499536827c795a5b25b36a5b849f21a0de12384 (patch) | |
tree | bf643ea976b796b0f8f8812c70c72246ae2357ea /sys/dev/ep/if_ep_pccard.c | |
parent | 08148c6afb7306fe5041d7aa718534a163898128 (diff) | |
download | FreeBSD-src-a499536827c795a5b25b36a5b849f21a0de12384.zip FreeBSD-src-a499536827c795a5b25b36a5b849f21a0de12384.tar.gz |
Minor style nits suggested by sam and mdodd:
o give an argument to EP_BUSY_WAIT
o use foo_locked rather than foo_body
o Add locking assertions for extra safety.
Diffstat (limited to 'sys/dev/ep/if_ep_pccard.c')
-rw-r--r-- | sys/dev/ep/if_ep_pccard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ep/if_ep_pccard.c b/sys/dev/ep/if_ep_pccard.c index 67efa1b..4b9cefb 100644 --- a/sys/dev/ep/if_ep_pccard.c +++ b/sys/dev/ep/if_ep_pccard.c @@ -224,7 +224,7 @@ ep_pccard_attach(device_t dev) CSR_WRITE_2(sc, EP_W3_OPTIONS, 0xc040); CSR_WRITE_2(sc, EP_COMMAND, RX_RESET); CSR_WRITE_2(sc, EP_COMMAND, TX_RESET); - EP_BUSY_WAIT; + EP_BUSY_WAIT(sc); DELAY(1000); CSR_WRITE_2(sc, EP_W3_OPTIONS, 0x8040); } else |