diff options
author | imp <imp@FreeBSD.org> | 2001-05-07 22:28:05 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2001-05-07 22:28:05 +0000 |
commit | 9e7f330c4891d589999a906ac88f36202edb1009 (patch) | |
tree | 8a434600e99831b5ca8fbfcc8e7a8b3c38a27bb3 /sys | |
parent | 9825ae0a273d763cfccee9bf659460dbc660a550 (diff) | |
download | FreeBSD-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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pccard/pcic.c | 7 |
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); |