From 4a6a94d8d803018858d728dad780253f98583be0 Mon Sep 17 00:00:00 2001 From: Archie Cobbs Date: Thu, 22 Aug 2002 21:24:01 +0000 Subject: Replace (ab)uses of "NULL" where "0" is really meant. --- sys/dev/mly/mly.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/mly') diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c index d38a64f2bfc9..f5ae328e32a2 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); -- cgit v1.3