diff options
Diffstat (limited to 'sys/arm/mv/obio.c')
-rw-r--r-- | sys/arm/mv/obio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/mv/obio.c b/sys/arm/mv/obio.c index 5dcbef1..1977148 100644 --- a/sys/arm/mv/obio.c +++ b/sys/arm/mv/obio.c @@ -99,7 +99,7 @@ mbus_attach(device_t dev) resource_list_init(&od->od_resources); resource_list_add(&od->od_resources, SYS_RES_MEMORY, 0, - od->od_base, od->od_base + od->od_size, od->od_size); + od->od_base, od->od_base + od->od_size - 1, od->od_size); for (i = 0; od->od_irqs[i] != -1; i++) { resource_list_add(&od->od_resources, SYS_RES_IRQ, i, |