xref: /freebsd/share/man/man4/pccard.4 (revision 0b57cec536236d46e3dba9bd041533462f33dbb7)
1.\"
2.\" Copyright (c) 2002 M. Warner Losh <imp@FreeBSD.org>
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. The name of the author may not be used to endorse or promote products
10.\"    derived from this software without specific prior written permission.
11.\"
12.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
13.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
14.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
15.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
16.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
18.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
19.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
20.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
21.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
22.\" SUCH DAMAGE.
23.\"
24.\" $FreeBSD$
25.\"
26.Dd July 9, 2002
27.Dt PCCARD 4
28.Os
29.Sh NAME
30.Nm pccard
31.Nd PC Card bus driver
32.Sh SYNOPSIS
33.Cd device pccard
34.Sh DESCRIPTION
35The
36.Nm
37driver implements the PC Card bus.
38The
39.Nm
40driver supports all PC Card bridges in the system.
41.Sh TUNABLES
42The driver supports the following tunable parameters, which may be
43added to
44.Pa /boot/loader.conf
45or set via the
46.Xr sysctl 8
47command:
48.Bl -tag -width ".Cm hw.pccard.cis_debug" -compact
49.It Cm hw.pccard.debug
50Non-zero values cause more verbose information to be printed when a
5116-bit PC Card is inserted or removed.
52.It Cm hw.pccard.cis_debug
53Non-zero value causes the CIS parsing of the 16-bit PC Card to be much
54more verbose and include a complete CIS dump.
55.El
56.Sh FILES
57.Bl -tag -width ".Pa /dev/pccard0.cis" -compact
58.It Pa /dev/pccard0.cis
59This exclusive-use device will report all the CIS chains present in a
60PC Card, if a 16-bit PC Card is inserted in the slot.
61Only one user at a time may access the CIS.
62The CIS is presented as the relevant byte stream from the PC Card.
63For CIS tuples in Attribute Memory (the default), only the even
64locations are presented (the ODD locations are undefined per the
65standard).
66For CIS tuples in Common Memory, every byte is presented to the user.
67Decoding of the CIS tuples is done via a userland program.
68All tuples are presented to the user.
69.El
70.Sh SEE ALSO
71.Xr cardbus 4 ,
72.\" .Xr mecia 4 ,
73.Xr pccbb 4
74.\" .Xr tcic 4
75.Rs
76.%T "PC Card Standard, Release 8"
77.Re
78