Re: ohci laptop ?
Brought to you by:
aeb,
bencollins
From: Ben C. <bco...@de...> - 2000-06-02 14:15:50
|
On Fri, Jun 02, 2000 at 09:54:42AM -0400, Olivier Daigle wrote: > Sebastien, > I'm currently working on a project that will have a laptop linked to > other devices (including other computers) by FireWire. We bought a Ratoc > IEEE1394 CardBus card (CBFW1 model) that is supposed to be OHCI 1.0 > compliant (compatible with built-in Winslows98 drivers). I'm waiting for > some specs about this card. I tried to load standard ohci drivers to > make it work but, as I expected, it didn't work. I think that I will > have to (at least) rewrite the probing part of the driver to make it > compatible with CardBus interface. I should begin reading on the CardBus > standard (and the programming interface of the Linux PCMCIA Card > Service) by next week. > > Stay tuned for more info. If anybody in there have any experience with > any type of CardBus devices, please raise your hand. I have the same card from Ratoc and it works[1] with the ohci1394 driver. However, you have to reload the driver whenever you insert the card so it will detect it. I have a patch to avoid this by using the PCI API of the 2.3/2.4 kernels, but it isn't very backward compatible with 2.2.x kernels, so it most likely wouldn't be put into the main source. For PCI interface for 2.3/2.4 is completey compatible with CardBus cards. One driver for all should work, with autoprobing initiated by he kernel against a PCI vendor/make masks. Thing that is critical is that it means the driver/core wont initiate the probe. That means the core needs to be reworked a bit to allow the driver to handle the probe and register single cards with the core, or the driver will have to register the core to handle it's PCI probes. Either way, the change wont allow things to work with 2.2.x (atleast not in a way that the code looks clean). Ben [1] Atleast it detected the card and raw1394 testlibraw was able to probe it for testing. -- -----------=======-=-======-=========-----------=====------------=-=------ / Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \ ` bco...@de... -- bco...@op... -- bco...@li... ' `---=========------=======-------------=-=-----=-===-======-------=--=---' |