summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bsd_eth_drivers/ChangeLog2
-rw-r--r--bsd_eth_drivers/libbsdport/bus.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/bsd_eth_drivers/ChangeLog b/bsd_eth_drivers/ChangeLog
index de70ce7..2b48187 100644
--- a/bsd_eth_drivers/ChangeLog
+++ b/bsd_eth_drivers/ChangeLog
@@ -1,3 +1,5 @@
+ 2009/05/12 (TS)
+ - bugfix: bus_write_2() must map to bus_space_write_2 (not 4)
2009/04/22 (TS)
- imported SLAC version into OAR repository; added FXP driver.
2008/03/22 (TS)
diff --git a/bsd_eth_drivers/libbsdport/bus.h b/bsd_eth_drivers/libbsdport/bus.h
index a5b1eda..0593d9c 100644
--- a/bsd_eth_drivers/libbsdport/bus.h
+++ b/bsd_eth_drivers/libbsdport/bus.h
@@ -236,7 +236,7 @@ static inline void bus_write_1(struct resource *r, bus_size_t o, u_int8_t v)
static inline void bus_write_2(struct resource *r, bus_size_t o, u_int16_t v)
{
- bus_space_write_4(rman_get_bustag(r), rman_get_bushandle(r), o, v);
+ bus_space_write_2(rman_get_bustag(r), rman_get_bushandle(r), o, v);
}
static inline void bus_write_4(struct resource *r, bus_size_t o, u_int32_t v)