diff options
author | jhb <jhb@FreeBSD.org> | 2014-10-10 19:12:04 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2014-10-10 19:12:04 +0000 |
commit | 3528154dd45c4d89e5523e5ac883c71f3392f2d7 (patch) | |
tree | b14344090c008c128d42f61f654821eda7b13a85 /sys/dev/digi | |
parent | 4cb4e287c6e3b9f3ec21e2fd4733d8b136475d82 (diff) | |
download | FreeBSD-src-3528154dd45c4d89e5523e5ac883c71f3392f2d7.zip FreeBSD-src-3528154dd45c4d89e5523e5ac883c71f3392f2d7.tar.gz |
Don't pass RF_ALLOCATED to bus_alloc_resource().
Diffstat (limited to 'sys/dev/digi')
-rw-r--r-- | sys/dev/digi/digi_isa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/digi/digi_isa.c b/sys/dev/digi/digi_isa.c index 0a0a2a0..d0741ac 100644 --- a/sys/dev/digi/digi_isa.c +++ b/sys/dev/digi/digi_isa.c @@ -292,7 +292,7 @@ digi_isa_probe(device_t dev) /* Temporarily map our memory */ sc->res.mrid = 0; sc->res.mem = bus_alloc_resource(dev, SYS_RES_MEMORY, &sc->res.mrid, - 0ul, ~0ul, sc->win_size, RF_ALLOCATED); + 0ul, ~0ul, sc->win_size, 0); if (sc->res.mem == NULL) { device_printf(dev, "0x%lx: Memory range is in use\n", sc->pmem); bus_release_resource(dev, SYS_RES_IOPORT, sc->res.iorid, |