summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1999-09-06 06:39:17 +0000
committerWarner Losh <imp@FreeBSD.org>1999-09-06 06:39:17 +0000
commit19032f4b33ea264e3977f8fc8909ff2b37eb3681 (patch)
treeea988552a08998240aaef713329850f4caf4c514
parentb99d6b5edc081077d5fae8d1a8af4d6f461efc1b (diff)
Notes
-rw-r--r--sys/amd64/amd64/legacy.c5
-rw-r--r--sys/amd64/amd64/nexus.c5
-rw-r--r--sys/i386/i386/legacy.c5
-rw-r--r--sys/i386/i386/nexus.c5
4 files changed, 20 insertions, 0 deletions
diff --git a/sys/amd64/amd64/legacy.c b/sys/amd64/amd64/legacy.c
index 23e6fdc69606..d4637f41128a 100644
--- a/sys/amd64/amd64/legacy.c
+++ b/sys/amd64/amd64/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/amd64/amd64/nexus.c b/sys/amd64/amd64/nexus.c
index 23e6fdc69606..d4637f41128a 100644
--- a/sys/amd64/amd64/nexus.c
+++ b/sys/amd64/amd64/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;
}
diff --git a/sys/i386/i386/legacy.c b/sys/i386/i386/legacy.c
index 23e6fdc69606..d4637f41128a 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 23e6fdc69606..d4637f41128a 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;
}