diff options
author | peter <peter@FreeBSD.org> | 1999-10-19 17:12:28 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-10-19 17:12:28 +0000 |
commit | 9417f5ac3009df7d0ff47764f9361829783ab272 (patch) | |
tree | 4b7607ebb4ec93e08140e8744b9f48e869a8ab72 | |
parent | 39e862702cb354c8fc1e7409caac87dbe04262b6 (diff) | |
download | FreeBSD-src-9417f5ac3009df7d0ff47764f9361829783ab272.zip FreeBSD-src-9417f5ac3009df7d0ff47764f9361829783ab272.tar.gz |
Remove pccard attachment stub, this caused pccard unit 0 to be allocated
and unusable by the pccard system since pccard doesn't attach to the
nexus any more. This was stopping my 3c589D from working as pccard unit
0 is used directly for resource allocation and this fails when unit 0
isn't actually attached to anything.
-rw-r--r-- | sys/amd64/amd64/legacy.c | 5 | ||||
-rw-r--r-- | sys/amd64/amd64/nexus.c | 5 | ||||
-rw-r--r-- | sys/i386/i386/legacy.c | 5 | ||||
-rw-r--r-- | sys/i386/i386/nexus.c | 5 |
4 files changed, 0 insertions, 20 deletions
diff --git a/sys/amd64/amd64/legacy.c b/sys/amd64/amd64/legacy.c index c707b05..ec9c186f 100644 --- a/sys/amd64/amd64/legacy.c +++ b/sys/amd64/amd64/legacy.c @@ -221,11 +221,6 @@ 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/amd64/amd64/nexus.c b/sys/amd64/amd64/nexus.c index c707b05..ec9c186f 100644 --- a/sys/amd64/amd64/nexus.c +++ b/sys/amd64/amd64/nexus.c @@ -221,11 +221,6 @@ 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/legacy.c b/sys/i386/i386/legacy.c index c707b05..ec9c186f 100644 --- a/sys/i386/i386/legacy.c +++ b/sys/i386/i386/legacy.c @@ -221,11 +221,6 @@ 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 c707b05..ec9c186f 100644 --- a/sys/i386/i386/nexus.c +++ b/sys/i386/i386/nexus.c @@ -221,11 +221,6 @@ 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; } |