xref: /netbsd-src/share/man/man4/pciide.4 (revision 89c5a767f8fc7a4633b2d409966e2becbb98ff92)
1.\"	$NetBSD: pciide.4,v 1.13 1999/12/15 22:07:33 abs Exp $
2.\"
3.\" Copyright (c) 1998 Manuel Bouyer.
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. Redistributions in binary form must reproduce the above copyright
11.\"    notice, this list of conditions and the following disclaimer in the
12.\"    documentation and/or other materials provided with the distribution.
13.\" 3. All advertising materials mentioning features or use of this software
14.\"    must display the following acknowledgement:
15.\"	This product includes software developed by the University of
16.\"	California, Berkeley and its contributors.
17.\" 4. Neither the name of the University nor the names of its contributors
18.\"    may be used to endorse or promote products derived from this software
19.\"    without specific prior written permission.
20.\"
21.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
22.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
25.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31.\" SUCH DAMAGE.
32.\"
33
34.Dd October 15, 1998
35.Dt pciide 4
36.Os
37.Sh NAME
38.Nm pciide
39.Nd PCI IDE disk controllers driver
40.Sh SYNOPSIS
41.Cd "pciide* at pci? dev ? function ? flags 0x0000"
42.Cd "pciide* at pnpbios? index ?"
43.Cd "options PCIIDE_CMD064x_DISABLE"
44.Sh DESCRIPTION
45The
46.Nm pciide
47driver supports the PCI IDE controllers as specified in the
48"PCI IDE controller specification, revision 1.0" draft, and provides the core
49functions for the
50.Nm wd
51and
52.Nm atapi
53drivers. This driver include specific, enhanced support for the CMD Tech
54PCI0640 controller, and IDE DMA/Ultra-DMA support for the following
55controllers:
56.Bl -dash -compact -offset indent
57.It
58Acer labs M5229 IDE Controller
59.It
60CMD Tech PCI0643 and PCI0646 IDE Controllers
61.It
62Contaq Microsystems/Cypress CY82C693 IDE Controller
63.It
64Intel PIIX, PIIX3 and PIIX4 IDE Controllers
65.It
66Intel 82801 (ICH/ICH0) IDE Controllers
67.It
68Promise PDC20246 (Ultra/33) and PDC20262 (Ultra/66) PCI IDE controllers
69.It
70Silicon Integrated System 5597/5598 IDE controller
71.It
72VIA Technologies VT82C586 and VT82C586A IDE Controllers
73.El
74Some of these controllers are only available in multifunction PCI chips.
75.Pp
76The 0x0001 flag forces the
77.Nm
78driver to use DMA when there is no explicit DMA mode setting support for
79the controller but DMA is present. If the BIOS didn't set up the controller
80properly, this can cause a machine hang.
81
82.Sh BUGS
83There's no way to reliably know if a PCI064x controller is enabled or not.
84If the driver finds a PCI064x, it will assume it is enabled unless the
85PCIIDE_CMD064x_DISABLE is specified in the kernel config file.
86This will be a problem only if the controller has been disabled in the BIOS
87and another controller has been installed and uses the ISA legacy I/O ports
88and interrupts.
89.Pp
90The timings used for the PIO and DMA modes for controllers listed above
91are for a PCI bus running at 30 or 33 Mhz. This driver may not
92work properly on overclocked systems.
93
94.Sh SEE ALSO
95.Xr intro 4 ,
96.Xr pci 4 ,
97.Xr pnpbios 4 ,
98.Xr scsi 4 ,
99.Xr wd 4 ,
100.Xr wdc 4
101