Section: Devices and Network Interfaces (4)
Updated: 2003/09/15 05:36:41
Return to Main Contents
dummy_cb - CardBus dummy device driver
insmod dummy_cb.o [pc_debug=n]
The dummy_cb module is a sort of "point enabler" for CardBus
cards. When it is bound to a card, it configures that card, but
otherwise does not do anything. It may be useful for cards that have
Hot Plug PCI kernel drivers, but do not have CardBus client drivers in
the pcmcia-cs package. Hot Plug PCI drivers expect the kernel to
handle CardBus card configuration; instead, drivers in the pcmcia-cs
package rely on the cb_enabler module to do that.
To use dummy_cb, edit /etc/pcmcia/config.opts and add one
or more card descriptions, like:
card "Western Digital 1394 Adapter"
pci 0x1033, 0x00cd
This will override any driver bindings in the main config file. After
restarting cardmgr, then, insertion of these cards should load
dummy_cb. After that, the Hot Plug PCI driver can be loaded.
Before ejecting a card using dummy_cb, it is important to
manually unload the corresponding Hot Plug PCI driver. Since
cardmgr cannot notify this sort of driver about removal events,
bad things can happen if the Hot Plug PCI driver is not unloaded
first. Yes this is rather fragile. Ideally, people will use Hot Plug
PCI drivers with the kernel PCMCIA subsystem, but dummy_cb is
meant as a quick fix for situations where that is not possible.
Selects the PCMCIA debugging level. This parameter is only available
if the module is compiled with debugging enabled. A non-zero value
David Hinds - email@example.com
- SEE ALSO
linux.jgfs.net manual pages