aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2001-05-07 22:28:05 +0000
committerWarner Losh <imp@FreeBSD.org>2001-05-07 22:28:05 +0000
commitbc5797c7defd3598f9fd43f4308f034c66d4ba6f (patch)
tree312295a7aa494ae3af66038b6600f7afeebb04a8
parentfdabcac610ce125324653deaa5ce0334097051bd (diff)
Notes
-rw-r--r--sys/pccard/pcic.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c
index 9bb7e01dabc9..d613a09aee91 100644
--- a/sys/pccard/pcic.c
+++ b/sys/pccard/pcic.c
@@ -500,8 +500,11 @@ pcic_probe(device_t dev)
cinfo.maxio = 2; /* fake for UE2212 LAN card */
#endif
validslots++;
- /* XXX Do I need to allocated the port resources? */
- device_set_desc(dev, "NEC PC98 Original PCMCIA Controller");
+ slt = pccard_alloc_slot(&cinfo);
+ slt->cdata = sp;
+ sp->slt = slt;
+ /* XXX need to allocated the port resources */
+ device_set_desc(dev, "MECIA PC98 Original PCMCIA Controller");
}
#endif /* PC98 */
return(validslots ? 0 : ENXIO);