Keywords: xircom cem33
Description: The attached patch (against -STABLE or anything close to it; these files haven't changed for ages) is hopefully a long-overdue fix to the support for CE2, CEM28 and CEM33 cards in the xe driver.
The attached patch (against -STABLE or anything close to it; these files haven't changed for ages) is hopefully a long-overdue fix to the support for CE2, CEM28 and CEM33 cards in the xe driver. Specifically:
- Most, if not all, CE2 cards should now be probed correctly - Some changes supplied by Peter Fürst to prevent the driver becoming confused about the number of bytes to send, and not sending any - A few other minor tweaks
Peter also informed me of some restrictions in the memory ranges and I/O addresses supported by the CEM33 (this may be true for the CE2 and CEM28 as well). He says:
There are restrictions on IO addresses and memory range, as the Xircom CEM33 readme, Release 1.21, July 9, 1998 says:
-The CreditCard Ethernet+Modem 33.6 supports only "even" IO addresses (example: 240, 260, 280, 300, 320, 340, 360). If you use an "odd" IO address (example: 310, 330, 250), the adapter will fail to initialize.
It may be worthwhile fixing your pccard.conf to match these restrictions if your card isn't being configured correctly.
Question: is there any way to enforce these restrictions from within the driver? The CIS on these cards doesn't appear to give any indication that these addresses are not allowed.
Then rebuild your kernel, reboot and see what happens. The patch turns on some more debugging output from the driver, so expect more verbose messages than usual. It may also be worthwhile running pccardd manually with the -d flag if there are problems configuring the card.
I don't have a CE2 card, so I can't verify that these changes will do any good at all. however, it still works with my CE3 so I don't think I've made anything worse :-)
Please let me know if this works or not, whatever variety of Xircom card you're using. If it doesn't work, please include relevant messages, 'pccardc dumpcis' output and pccard.conf file.
-- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scot. @mail.com | 0xAA775B8B | -- Anon