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