Toshiba ToPIC developer info

Ryan Underwood nemesis-lists at icequake.net
Sun Jun 26 01:48:53 EDT 2005


> attached a patch that makes the ToPIC95 work for both 16bit and cardbus
> cards. tested on my old tecra530cdt. my topic97 rev5 does not require this.
> akpm: -mm please

This patch works.  The only ToPIC related problems I see are following:

cardctl status:
5V 16-bit PC Card
function 0: [ready], [bat dead], [bat low]
function 1: [busy], [bat dead], [bat low], [req attn]

None of these flags make any sense because this isn't a SRAM card (its a
combo modem/ethernet card)

Also, the 16-bit card doesn't generate a hotplug event (32-bit does), so
cardmgr is still required, but maybe that's offtopic for this list.  A
problem related to this is if cardmgr is not running and a 16-bit card
is inserted, the following is printed:

cs: unable to map card memory!
cs: unable to map card memory!

and the system seems to be swamped with interrupts (or something
polling/busy-waiting?) so it is almost unresponsive, until cardmgr is
started again and the 16-bit card's driver(s) are loaded once cardmgr
sees it.

I still think that it would be a better idea to use this method on all
ToPIC chips, or at least ToPIC97 in addition, since there may be a
corner case laying around.  Since this method should work on all Toshiba
chips, using it when it is not required would be better than not using
it when it is required.

-- 
Ryan Underwood, <nemesis at icequake.net>



More information about the linux-pcmcia mailing list