summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-05-07 22:28:05 +0000
committerimp <imp@FreeBSD.org>2001-05-07 22:28:05 +0000
commit9e7f330c4891d589999a906ac88f36202edb1009 (patch)
tree8a434600e99831b5ca8fbfcc8e7a8b3c38a27bb3
parent9825ae0a273d763cfccee9bf659460dbc660a550 (diff)
downloadFreeBSD-src-9e7f330c4891d589999a906ac88f36202edb1009.zip
FreeBSD-src-9e7f330c4891d589999a906ac88f36202edb1009.tar.gz
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
-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