summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppc/ppc_puc.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2006-04-24 23:31:51 +0000
committermarcel <marcel@FreeBSD.org>2006-04-24 23:31:51 +0000
commitdeb16135f3fca75d654b5678f9f331af783b6d6b (patch)
tree4c14a9bedc4bcdbb3fbd46089cf47c3af3cc2de1 /sys/dev/ppc/ppc_puc.c
parenteefd58df920bd36d125e2f8e0db44d74e8859b3a (diff)
downloadFreeBSD-src-deb16135f3fca75d654b5678f9f331af783b6d6b.zip
FreeBSD-src-deb16135f3fca75d654b5678f9f331af783b6d6b.tar.gz
o Move ISA specific code from ppc.c to ppc_isa.c -- a bus front-
end for isa(4). o Add a seperate bus frontend for acpi(4) and allow ISA DMA for it when ISA is configured in the kernel. This allows acpi(4) attachments in non-ISA configurations, as is possible for ia64. o Add a seperate bus frontend for pci(4) and detect known single port parallel cards. o Merge PC98 specific changes under pc98/cbus into the MI driver. The changes are minor enough for conditional compilation and in this form invites better abstraction. o Have ppc(4) usabled on all platforms, now that ISA specifics are untangled enough.
Diffstat (limited to 'sys/dev/ppc/ppc_puc.c')
-rw-r--r--sys/dev/ppc/ppc_puc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ppc/ppc_puc.c b/sys/dev/ppc/ppc_puc.c
index 2b41bfe..760b1ce 100644
--- a/sys/dev/ppc/ppc_puc.c
+++ b/sys/dev/ppc/ppc_puc.c
@@ -68,7 +68,7 @@ static device_method_t ppc_puc_methods[] = {
};
static driver_t ppc_puc_driver = {
- "ppc",
+ ppc_driver_name,
ppc_puc_methods,
sizeof(struct ppc_data),
};
@@ -78,7 +78,7 @@ ppc_puc_probe(dev)
device_t dev;
{
device_set_desc(dev, "Parallel port");
- return (ppc_probe(dev));
+ return (ppc_probe(dev, 0));
}
DRIVER_MODULE(ppc, puc, ppc_puc_driver, ppc_devclass, 0, 0);
OpenPOWER on IntegriCloud