Set the slot pointer in the pc98 case. Correct the name of the bridge

chip to the one that the Japanese use.  Now we get insert/remove
events on my PC-9821Ne.  More work in bus space is needed to make
drivers work.

MFC after: 3 days
This commit is contained in:
Warner Losh 2001-05-07 22:28:05 +00:00
parent fdabcac610
commit bc5797c7de

View File

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