diff options
author | imp <imp@FreeBSD.org> | 1999-09-06 06:39:17 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1999-09-06 06:39:17 +0000 |
commit | d5b25eded4268e62234dfa82e03cdf19cfd3636d (patch) | |
tree | 14db0e831e78762643881f31c5379f52a087f87f /sys/i386 | |
parent | 807a894190420ad4941c156eafc7668184d007a6 (diff) | |
download | FreeBSD-src-d5b25eded4268e62234dfa82e03cdf19cfd3636d.zip FreeBSD-src-d5b25eded4268e62234dfa82e03cdf19cfd3636d.tar.gz |
Add pccard child to nexus. A better version would take care of this
with an identify method, but that has not been implemented.
Forgotten by: imp
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/legacy.c | 5 | ||||
-rw-r--r-- | sys/i386/i386/nexus.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/sys/i386/i386/legacy.c b/sys/i386/i386/legacy.c index 23e6fdc..d4637f4 100644 --- a/sys/i386/i386/legacy.c +++ b/sys/i386/i386/legacy.c @@ -224,6 +224,11 @@ nexus_attach(device_t dev) panic("nexus_attach isa"); device_probe_and_attach(child); } + + child = device_add_child(dev, "pccard", 0, 0); + if (child == NULL) + panic("nexus_probe pccard"); + device_probe_and_attach(child); return 0; } diff --git a/sys/i386/i386/nexus.c b/sys/i386/i386/nexus.c index 23e6fdc..d4637f4 100644 --- a/sys/i386/i386/nexus.c +++ b/sys/i386/i386/nexus.c @@ -224,6 +224,11 @@ nexus_attach(device_t dev) panic("nexus_attach isa"); device_probe_and_attach(child); } + + child = device_add_child(dev, "pccard", 0, 0); + if (child == NULL) + panic("nexus_probe pccard"); + device_probe_and_attach(child); return 0; } |