From 74121ffc35caa5944ec858741c0f4e2299159f26 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Tue, 19 Oct 1999 17:12:28 +0000 Subject: [PATCH] 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. --- sys/amd64/amd64/legacy.c | 5 ----- sys/amd64/amd64/nexus.c | 5 ----- sys/i386/i386/legacy.c | 5 ----- sys/i386/i386/nexus.c | 5 ----- 4 files changed, 20 deletions(-) diff --git a/sys/amd64/amd64/legacy.c b/sys/amd64/amd64/legacy.c index c707b0510ad..ec9c186fbb3 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 c707b0510ad..ec9c186fbb3 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 c707b0510ad..ec9c186fbb3 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 c707b0510ad..ec9c186fbb3 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; }