summaryrefslogtreecommitdiffstats
path: root/sys/dev/puc
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2005-06-04 20:29:28 +0000
committermarius <marius@FreeBSD.org>2005-06-04 20:29:28 +0000
commitba798e730cc935095a1520e37541f02b99d7fc99 (patch)
tree74f69efea6eaeb5805d42a80b50689a9cdf12d8c /sys/dev/puc
parent9cdfa3f22a029a13bf24cd70d28e39312f597470 (diff)
downloadFreeBSD-src-ba798e730cc935095a1520e37541f02b99d7fc99.zip
FreeBSD-src-ba798e730cc935095a1520e37541f02b99d7fc99.tar.gz
Account for ebus(4) defaulting to SYS_RES_MEMORY for memory resources
since ebus.c rev. 1.22.
Diffstat (limited to 'sys/dev/puc')
-rw-r--r--sys/dev/puc/puc_ebus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/puc/puc_ebus.c b/sys/dev/puc/puc_ebus.c
index 12ac876..1e6696c 100644
--- a/sys/dev/puc/puc_ebus.c
+++ b/sys/dev/puc/puc_ebus.c
@@ -71,7 +71,7 @@ puc_ebus_attach(device_t dev)
dd.ports[i].bar = 0;
dd.ports[i].offset = 0x40 * i;
dd.ports[i].serialfreq = 0;
- dd.ports[i].flags = 0;
+ dd.ports[i].flags = PUC_FLAGS_MEMORY;
}
return (puc_attach(dev, &dd));
}
OpenPOWER on IntegriCloud