diff options
| author | Noriaki Mitsunaga <non@FreeBSD.org> | 2001-09-04 01:42:07 +0000 |
|---|---|---|
| committer | Noriaki Mitsunaga <non@FreeBSD.org> | 2001-09-04 01:42:07 +0000 |
| commit | 487710e2c42ee6cbc67a92f6ae0a3a948c78ab27 (patch) | |
| tree | b9866139e50964972a16080c6c20ef402c0118b6 /sys | |
| parent | 128ff94094ff0f4b4e9f505fbb1f240296adc2d6 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/nsp/nsp_pccard.c | 2 | ||||
| -rw-r--r-- | sys/dev/stg/tmc18c30_pccard.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/nsp/nsp_pccard.c b/sys/dev/nsp/nsp_pccard.c index 380a60794393..58a77ba83c7c 100644 --- a/sys/dev/nsp/nsp_pccard.c +++ b/sys/dev/nsp/nsp_pccard.c @@ -143,7 +143,7 @@ nsp_alloc_resource(DEVPORT_PDEVICE dev) sc->port_rid = 0; sc->port_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->port_rid, - 0, ~0, 0, RF_ACTIVE); + 0, ~0, NSP_IOSIZE, RF_ACTIVE); if (sc->port_res == NULL) { nsp_release_resource(dev); return(ENOMEM); diff --git a/sys/dev/stg/tmc18c30_pccard.c b/sys/dev/stg/tmc18c30_pccard.c index 9088f4be1052..a76777e51f36 100644 --- a/sys/dev/stg/tmc18c30_pccard.c +++ b/sys/dev/stg/tmc18c30_pccard.c @@ -148,7 +148,7 @@ stg_alloc_resource(DEVPORT_PDEVICE dev) sc->port_rid = 0; sc->port_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->port_rid, - 0, ~0, 0, RF_ACTIVE); + 0, ~0, STGIOSZ, RF_ACTIVE); if (sc->port_res == NULL) { stg_release_resource(dev); return(ENOMEM); |
