summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pccard/pcic.c')
-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 9bb7e01..d613a09 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);
OpenPOWER on IntegriCloud