Uniden Data 2000 Wireless CDPD PC Card Guía de usuario Pagina 54

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 56
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 53
/proc/bus/pccard/*/info
For each socket, describes that socket's host controller and its capabilities.
/proc/bus/pccard/*/exca
This contains a dump of a controller's ``ExCA'' Intel i82365sl−compatible register set.
/proc/bus/pccard/*/{pci,cardbus}
For CardBus bridges, a dump of the bridge's PCI configuration space, and a dump of the
bridge's CardBus configuration registers.
7.5 Writing Card Services drivers for new cards
The Linux PCMCIA Programmer's Guide is the best documentation for the client driver interface. The latest
version is always available from sourceforge.org in /pcmcia/doc, or on the web at
http://pcmcia.sourceforge.org.
For devices that are close relatives of normal ISA devices, you will probably be able to use parts of existing
Linux drivers. In some cases, the biggest stumbling block will be modifying an existing driver so that it can
handle adding and removing devices after boot time. Of the current drivers, the memory card driver is the
only ``self−contained'' driver that does not depend on other parts of the Linux kernel to do most of the dirty
work.
In many cases, the largest barrier to supporting a new card type is obtaining technical information from the
manufacturer. It may be difficult to figure out who to ask, or to explain exactly what information is needed.
However, with a few exceptions, it is very difficult if not impossible to implement a driver for a card without
technical information from the manufacturer.
I have written a dummy driver with lots of comments that explains a lot of how a driver communicates with
Card Services; you will find this in the PCMCIA source distribution in clients/dummy_cs.c.
7.6 Guidelines for PCMCIA client driver authors
I have decided that it is not really feasible for me to distribute all PCMCIA client drivers as part of the
PCMCIA package. Each new driver makes the main package incrementally harder to maintain, and including
a driver inevitably transfers some of the maintenance work from the driver author to me. Instead, I will
decide on a case by case basis whether or not to include contributed drivers, based on user demand as well as
maintainability. For drivers not included in the core package, I suggest that driver authors adopt the following
scheme for packaging their drivers for distribution.
Driver files should be arranged in the same directory scheme used in the PCMCIA source distribution, so that
the driver can be unpacked on top of a complete PCMCIA source tree. A driver should include source files
(in ./modules/), a man page (in ./man/), and configuration files (in ./etc/). The top level directory
should also include a README file.
Linux PCMCIA HOWTO
7.5 Writing Card Services drivers for new cards 51
Vista de pagina 53
1 2 ... 49 50 51 52 53 54 55 56

Comentarios a estos manuales

Sin comentarios