Hi !
I'm currently playing around with a mc221 modem card from lucent. It's a winmodem card so it may be never runs under linux but may be if I find the time :-) I'll write a driver.
Problem is the pcmcia driver doesn't even recognize it after poking around in the code i found out the following.
1) The VendorID isn't read correctly. When doing a
pci_readw(bus, 0, PCI_VENDOR_ID, &vend)
once in cb_alloc vend == 0xff
If you insert a second read it's correct.
(semi present configuration space ?)
2) The cis is somehow missing
the cis pointer is set to 0x00000040 which should tell
me that there is a cis at offset 0x40 within the
configuration space. But the whole 256 bytes of
configuration space looks like this.
00: c1 11 40 04 00 00 90 02 01 00 80 07 00 00 00 00 10: 00 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 40 00 00 00 00 ff 40 04 30: 00 00 00 00 f8 00 00 00 00 00 00 00 00 01 fc 0e 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff f0: ff ff ff ff ff ff ff ff 01 00 22 e4 00 00 00 00
Starting after the first 64 bytes everything is 0xff except the last 8 bytes which doesn't look like a valid cis for me.
Any recommendations ?
regards
sebastian
|