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
This commit is contained in:
Warner Losh 1999-09-06 06:39:17 +00:00
parent b99d6b5edc
commit 19032f4b33
4 changed files with 20 additions and 0 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}