Fix handle typos/pastos in bus_space_barrier() calls

This commit is contained in:
pooka 2015-08-11 22:28:34 +00:00
parent 406388c702
commit 2cecb63011
1 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: rumpdev_bus_space.c,v 1.5 2015/06/15 15:38:52 pooka Exp $ */
/* $NetBSD: rumpdev_bus_space.c,v 1.6 2015/08/11 22:28:34 pooka Exp $ */
/*-
* Copyright (c) 2013 Antti Kantee. All Rights Reserved.
@ -134,7 +134,7 @@ bus_space_read_multi_1(bus_space_tag_t bst, bus_space_handle_t bsh,
while (count--) {
*datap++ = bus_space_read_1(bst, bsh, offset);
bus_space_barrier(bst, bst, offset, 1, BUS_SPACE_BARRIER_READ);
bus_space_barrier(bst, bsh, offset, 1, BUS_SPACE_BARRIER_READ);
}
}
@ -145,7 +145,7 @@ bus_space_read_multi_2(bus_space_tag_t bst, bus_space_handle_t bsh,
while (count--) {
*datap++ = bus_space_read_2(bst, bsh, offset);
bus_space_barrier(bst, bst, offset, 2, BUS_SPACE_BARRIER_READ);
bus_space_barrier(bst, bsh, offset, 2, BUS_SPACE_BARRIER_READ);
}
}
@ -156,7 +156,7 @@ bus_space_read_multi_4(bus_space_tag_t bst, bus_space_handle_t bsh,
while (count--) {
*datap++ = bus_space_read_4(bst, bsh, offset);
bus_space_barrier(bst, bst, offset, 4, BUS_SPACE_BARRIER_READ);
bus_space_barrier(bst, bsh, offset, 4, BUS_SPACE_BARRIER_READ);
}
}
@ -220,7 +220,7 @@ bus_space_write_multi_1(bus_space_tag_t bst, bus_space_handle_t bsh,
const uint8_t value = *datap++;
bus_space_write_1(bst, bsh, offset, value);
bus_space_barrier(bst, bst, offset, 1, BUS_SPACE_BARRIER_WRITE);
bus_space_barrier(bst, bsh, offset, 1, BUS_SPACE_BARRIER_WRITE);
}
}
@ -233,7 +233,7 @@ bus_space_write_multi_2(bus_space_tag_t bst, bus_space_handle_t bsh,
const uint16_t value = *datap++;
bus_space_write_2(bst, bsh, offset, value);
bus_space_barrier(bst, bst, offset, 2, BUS_SPACE_BARRIER_WRITE);
bus_space_barrier(bst, bsh, offset, 2, BUS_SPACE_BARRIER_WRITE);
}
}
@ -246,7 +246,7 @@ bus_space_write_multi_4(bus_space_tag_t bst, bus_space_handle_t bsh,
const uint32_t value = *datap++;
bus_space_write_4(bst, bsh, offset, value);
bus_space_barrier(bst, bst, offset, 4, BUS_SPACE_BARRIER_WRITE);
bus_space_barrier(bst, bsh, offset, 4, BUS_SPACE_BARRIER_WRITE);
}
}