summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2002-09-30 16:41:47 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2002-09-30 16:41:47 +0000
commita92b3039766dee45ce19435726fbc6659a661f8e (patch)
treeb9ac9160a1b2a30ad545737396f0e27a3735e07d
parentc90aa1d19ecf7f661a80e9af66f9e7b3e6760ad3 (diff)
Notes
-rw-r--r--sys/pc98/apm/apm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pc98/apm/apm.c b/sys/pc98/apm/apm.c
index 914be4ee7c2f..44a4066f7a18 100644
--- a/sys/pc98/apm/apm.c
+++ b/sys/pc98/apm/apm.c
@@ -914,6 +914,8 @@ apm_probe(device_t dev)
if ((vmf.vmf_cx & APM_32BIT_SUPPORT) == 0)
return ENXIO;
rid = 0;
+ bus_set_resource(dev, SYS_RES_IOPORT, rid,
+ APM_NECSMM_PORT, APM_NECSMM_PORTSZ);
sc->sc_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid,
APM_NECSMM_PORT, ~0, APM_NECSMM_PORTSZ, RF_ACTIVE);
if (sc->sc_res == NULL) {