PCMEM_CS (4)
PCMCIA memory card driver
SYNOPSIS
insmod pcmem_cs.o
[ pc_debug=n ]
[ mem_speed=n ]
[ word_width=n ]
DESCRIPTION
Pcmem_cs
is the Card Services driver for generic PCMCIA memory cards. It
provides character-mode devices for accessing any card's attribute and
common memory address spaces, analogous to
/dev/mem .
The attribute memory device returns only the even-numbered bytes.
Pcmem_cs
also provides a block-mode device for accessing common memory.
Pcmem_cs
will allocate a free major device number when it is loaded. The
bitwise layout of minor device numbers is 'ddddddmm', where 'dddddd'
is the device number, and 'mm' is the mode. Currently, the only modes
are 0 for common memory and 1 for attribute memory. When
pcmem_cs
is bound to a card, it will report its major and minor device numbers
to
cardmgr (8).
The block device driver for a card's common memory can be used to
create a filesystem on a card, and the device can be mounted in much
the same way as a floppy disk. You may need to explicitly specify the
card's capacity when creating a filesystem.
Since any PCMCIA card can be accessed as a memory card,
pcmem_cs
can be bound to any card regardless of function, and regardless of
what other drivers might also be bound to that card. For example,
this driver can be bound to a card and then used to read out the
contents of the card's attribute memory.
PARAMETERS
pc_debug=n
Selects the PCMCIA debugging level. This parameter is only available
if the module is compiled with debugging enabled. A non-zero value
enables debugging.
mem_speed=n
Sets the access speed of the shared memory window, in nanoseconds.
The default is 0 (i.e., no extra wait states). Values of up to 1000
are legal.
word_width=n
A flag indicating if the card should be configured for 8-bit (if 0) or
16-bit (if 1) transfers. The default is 1 (16-bit).
AUTHOR
David Hinds - dhinds@allegro.stanford.edu
SEE ALSO
|
|