summaryrefslogtreecommitdiffstats
path: root/sys/dev/mly
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2002-08-22 21:24:01 +0000
committerarchie <archie@FreeBSD.org>2002-08-22 21:24:01 +0000
commit7a233d4c9f8562bf331fa9b7d4d1f649521fb602 (patch)
tree2fc5ad56a57cb03d56c0aa0af0f4c9ba2c7bb631 /sys/dev/mly
parent7995682a2f9ee27c40a0794821e01853508b55c3 (diff)
downloadFreeBSD-src-7a233d4c9f8562bf331fa9b7d4d1f649521fb602.zip
FreeBSD-src-7a233d4c9f8562bf331fa9b7d4d1f649521fb602.tar.gz
Replace (ab)uses of "NULL" where "0" is really meant.
Diffstat (limited to 'sys/dev/mly')
-rw-r--r--sys/dev/mly/mly.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c
index d38a64f..f5ae328 100644
--- a/sys/dev/mly/mly.c
+++ b/sys/dev/mly/mly.c
@@ -1505,11 +1505,11 @@ mly_start(struct mly_command *mc)
/* copy in new command */
bcopy(mc->mc_packet->mmbox.data, pkt->mmbox.data, sizeof(pkt->mmbox.data));
/* barrier to ensure completion of previous write before we write the flag */
- bus_space_barrier(NULL, NULL, 0, 0, BUS_SPACE_BARRIER_WRITE); /* tag/handle? */
+ bus_space_barrier(0, 0, 0, 0, BUS_SPACE_BARRIER_WRITE); /* tag/handle? */
/* copy flag last */
pkt->mmbox.flag = mc->mc_packet->mmbox.flag;
/* barrier to ensure completion of previous write before we notify the controller */
- bus_space_barrier(NULL, NULL, 0, 0, BUS_SPACE_BARRIER_WRITE); /* tag/handle */
+ bus_space_barrier(0, 0, 0, 0, BUS_SPACE_BARRIER_WRITE); /* tag/handle */
/* signal controller, update index */
MLY_SET_REG(sc, sc->mly_idbr, MLY_AM_CMDSENT);
OpenPOWER on IntegriCloud