diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index b9037c72169c..2383f226a6f1 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -1,19 +1,19 @@ -# $NetBSD: Makefile,v 1.299 2003/10/08 11:20:09 bouyer Exp $ +# $NetBSD: Makefile,v 1.300 2003/10/08 12:02:40 bouyer Exp $ # @(#)Makefile 8.1 (Berkeley) 6/18/93 -MAN= aac.4 acphy.4 adv.4 adw.4 agp.4 ahb.4 ahc.4 amdpm.4 \ - amhphy.4 amr.4 an.4 aria.4 \ +MAN= aac.4 acardide.4 aceride.4 acphy.4 adv.4 adw.4 agp.4 ahb.4 ahc.4 \ + amdpm.4 amhphy.4 amr.4 an.4 aria.4 \ ata.4 atalk.4 atw.4 audio.4 audiocs.4 auich.4 autri.4 \ auvia.4 awi.4 bba.4 bce.4 bge.4 bha.4 bktr.4 bpf.4 bmtphy.4 brgphy.4 \ bridge.4 cac.4 cardbus.4 ccd.4 cd.4 cec.4 \ cgd.4 cfb.4 ch.4 clcs.4 clct.4 \ clnp.4 clockctl.4 cltp.4 \ - cmpci.4 cms.4 cnw.4 com.4 cs80bus.4 \ + cmdide.4 cmpci.4 cms.4 cnw.4 com.4 cs80bus.4 cypide.4 \ ddb.4 de.4 dmoverio.4 dmphy.4 dpt.4 dpti.4 \ drum.4 eap.4 ebus.4 edc.4 elmc.4 emuxki.4 en.4 envsys.4 ep.4 esh.4 \ esis.4 esa.4 esiop.4 esl.4 esm.4 eso.4 exphy.4 \ fd.4 fpa.4 fms.4 fwiso.4 fxp.4 \ - gem.4 gentbi.4 glxtphy.4 gpib.4 gre.4 gphyter.4 gsip.4 hme.4 \ + gem.4 gentbi.4 glxtphy.4 gpib.4 gre.4 gphyter.4 gsip.4 hme.4 hptide.4 \ icmp.4 icp.4 icsphy.4 idp.4 ifmedia.4 igsfb.4 iha.4 inet.4 \ inphy.4 intersil7170.4 ioasic.4 ioat.4 \ iop.4 iophy.4 iopsp.4 ip.4 ipkdb.4 iso.4 isp.4 joy.4 \ @@ -23,18 +23,18 @@ MAN= aac.4 acphy.4 adv.4 adw.4 agp.4 ahb.4 ahc.4 amdpm.4 \ mk48txx.4 mlx.4 mly.4 mpt.4 mpu.4 mtd.4 mtio.4 \ ne.4 neo.4 netintro.4 netsmb.4 ns.4 nsclpcsio.4 nsip.4 \ nsphy.4 nsphyter.4 ntwoc.4 null.4 nsmb.4 \ - oak.4 oosiop.4 opl.4 options.4 osiop.4 pas.4 \ - pcdisplay.4 pciide.4 pckbc.4 pckbd.4 pcn.4 pcppi.4 pcscp.4 pcweasel.4 \ - pms.4 pnaphy.4 ppp.4 pppoe.4 pty.4 puc.4 px.4 pxg.4 qsphy.4 \ - raid.4 ray.4 rcons.4 rnd.4 route.4 \ + oak.4 oosiop.4 opl.4 options.4 optiide.4 osiop.4 pas.4 \ + pcdisplay.4 pciide.4 pdcide.4 piixide.4 pckbc.4 pckbd.4 pcn.4 pcppi.4 \ + pcscp.4 pcweasel.4 pms.4 pnaphy.4 ppp.4 pppoe.4 pty.4 puc.4 px.4 \ + pxg.4 qsphy.4 raid.4 ray.4 rcons.4 rnd.4 route.4 \ rtk.4 sbus.4 scc.4 scsi.4 sd.4 se.4 ses.4 sf.4 sfb.4 siop.4 \ - sip.4 sk.4 sl.4 sm.4 spc.4 \ + sip.4 siside.4 sk.4 sl.4 slide.4 sm.4 spc.4 \ speaker.4 spp.4 sqphy.4 ss.4 st.4 ste.4 stge.4 sv.4 strip.4 systrace.4 \ tb.4 tc.4 tcds.4 tcp.4 \ termios.4 tfb.4 ti.4 tl.4 tlp.4 tlphy.4 tp.4 tr.4 trm.4 tty.4 tun.4 \ tqphy.4 twe.4 txp.4 \ udp.4 uha.4 uk.4 ukphy.4 unix.4 userconf.4 verifiedexec.4 vga.4 \ - vlan.4 vmmon.4 vmnet.4 vnd.4 \ + viaide.4 vlan.4 vmmon.4 vmnet.4 vnd.4 \ vr.4 wd.4 wdc.4 wi.4 wm.4 \ wscons.4 wsdisplay.4 wsfont.4 wskbd.4 wsmouse.4 wsmux.4 \ yds.4 ym.4 zero.4 zstty.4 diff --git a/share/man/man4/acardide.4 b/share/man/man4/acardide.4 new file mode 100644 index 000000000000..16d0ad10aae7 --- /dev/null +++ b/share/man/man4/acardide.4 @@ -0,0 +1,63 @@ +.\" $NetBSD: acardide.4,v 1.1 2003/10/08 12:02:40 bouyer Exp $ +.\" +.\" Copyright (c) 2003 Manuel Bouyer. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed by Manuel Bouyer. +.\" 4. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd October 8, 2003 +.Dt ACARDIDE 4 +.Os +.Sh NAME +.Nm acardide +.Nd acard IDE disk controllers driver +.Sh SYNOPSIS +.Cd "acardide* at pci? dev ? function ? flags 0x0000" +.Sh DESCRIPTION +The +.Nm +driver supports the Acard ATP850U Ultra33, ATP860 Ultra66 and ATP860-A Ultra66 +IDE controllers, and provides the interface with the hardware for the +.Ic ata +driver. +.Pp +The 0x0002 flag forces the +.Nm +driver to disable DMA on chipsets for which DMA would normally be +enabled. +This can be used as a debugging aid, or to work around +problems where the IDE controller is wired up to the system incorrectly. +.Sh SEE ALSO +.Xr intro 4 , +.Xr pci 4 , +.Xr ata 4 , +.Xr atapi 4 , +.Xr wd 4 , +.Xr pciide 4 +.Xr wdc 4 +.Sh BUGS +The timings used for the PIO and DMA modes for controllers listed above +are for a PCI bus running at 30 or 33 MHz. +This driver may not work properly on overclocked systems. diff --git a/share/man/man4/aceride.4 b/share/man/man4/aceride.4 new file mode 100644 index 000000000000..866268747a44 --- /dev/null +++ b/share/man/man4/aceride.4 @@ -0,0 +1,63 @@ +.\" $NetBSD: aceride.4,v 1.1 2003/10/08 12:02:40 bouyer Exp $ +.\" +.\" Copyright (c) 2003 Manuel Bouyer. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed by Manuel Bouyer. +.\" 4. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd October 8, 2003 +.Dt ACERIDE 4 +.Os +.Sh NAME +.Nm aceride +.Nd PCI IDE disk controllers driver +.Sh SYNOPSIS +.Cd "aceride* at pci? dev ? function ? flags 0x0000" +.Sh DESCRIPTION +The +.Nm +driver supports the Acer Labs M5229 IDE controllers, and provides the +interface with the hardware for the +.Ic ata +driver. +.Pp +The 0x0002 flag forces the +.Nm +driver to disable DMA on chipsets for which DMA would normally be +enabled. +This can be used as a debugging aid, or to work around +problems where the IDE controller is wired up to the system incorrectly. +.Sh SEE ALSO +.Xr intro 4 , +.Xr pci 4 , +.Xr ata 4 , +.Xr atapi 4 , +.Xr wd 4 , +.Xr pciide 4 +.Xr wdc 4 +.Sh BUGS +The timings used for the PIO and DMA modes for controllers listed above +are for a PCI bus running at 30 or 33 MHz. +This driver may not work properly on overclocked systems. diff --git a/share/man/man4/cmdide.4 b/share/man/man4/cmdide.4 new file mode 100644 index 000000000000..b3a652742eda --- /dev/null +++ b/share/man/man4/cmdide.4 @@ -0,0 +1,80 @@ +.\" $NetBSD: cmdide.4,v 1.1 2003/10/08 12:02:40 bouyer Exp $ +.\" +.\" Copyright (c) 2003 Manuel Bouyer. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed by Manuel Bouyer. +.\" 4. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd October 8, 2003 +.Dt CMDIDE 4 +.Os +.Sh NAME +.Nm cmdide +.Nd CMD Technology and Silicon Image IDE disk controllers driver +.Sh SYNOPSIS +.Cd "cmdide* at pci? dev ? function ? flags 0x0000" +.Cd "options PCIIDE_CMD064x_DISABLE" +.Cd "options PCIIDE_CMD0646U_ENABLEUDMA" +.Sh DESCRIPTION +The +.Nm +driver supports the CMD Technology PCI0640, PCI0643, PCI0646, PCI0648, PCI0649, +and Silicon Image 0680 and SATALink 3112 IDE controllers, and provides the +interface with the hardware for the +.Ic ata +driver. +.Pp +The 0x0002 flag forces the +.Nm +driver to disable DMA on chipsets for which DMA would normally be +enabled. +This can be used as a debugging aid, or to work around +problems where the IDE controller is wired up to the system incorrectly. +.Sh SEE ALSO +.Xr intro 4 , +.Xr pci 4 , +.Xr ata 4 , +.Xr atapi 4 , +.Xr wd 4 , +.Xr pciide 4 , +.Xr wdc 4 +.Sh BUGS +There's no way to reliably know if a PCI064x controller is enabled or not. +If the driver finds a PCI064x, it will assume it is enabled unless the +PCIIDE_CMD064x_DISABLE option is specified in the kernel config file. +This will be a problem only if the controller has been disabled in the BIOS +and another controller has been installed and uses the ISA legacy I/O ports +and interrupts. +.Pp +The PCI0646U controller is known to be buggy with Ultra-DMA transfers, so +Ultra-DMA is disabled by default for this controller. +To enable Ultra-DMA, use the PCIIDE_CMD0646U_ENABLEUDMA option. +Ultra-DMA can eventually be disabled on a per-drive basis with config +flags, see +.Xr wd 4 . +.Pp +The timings used for the PIO and DMA modes for controllers listed above +are for a PCI bus running at 30 or 33 MHz. +This driver may not work properly on overclocked systems. diff --git a/share/man/man4/cypide.4 b/share/man/man4/cypide.4 new file mode 100644 index 000000000000..1b2e0b70525c --- /dev/null +++ b/share/man/man4/cypide.4 @@ -0,0 +1,63 @@ +.\" $NetBSD: cypide.4,v 1.1 2003/10/08 12:02:40 bouyer Exp $ +.\" +.\" Copyright (c) 2003 Manuel Bouyer. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed by Manuel Bouyer. +.\" 4. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd October 8, 2003 +.Dt CYPIDE 4 +.Os +.Sh NAME +.Nm cypide +.Nd Cypress IDE disk controllers driver +.Sh SYNOPSIS +.Cd "cypide* at pci? dev ? function ? flags 0x0000" +.Sh DESCRIPTION +The +.Nm +driver supports the Cypress 82C693 IDE controllers, and provides the +interface with the hardware for the +.Ic ata +driver. +.Pp +The 0x0002 flag forces the +.Nm +driver to disable DMA on chipsets for which DMA would normally be +enabled. +This can be used as a debugging aid, or to work around +problems where the IDE controller is wired up to the system incorrectly. +.Sh SEE ALSO +.Xr intro 4 , +.Xr pci 4 , +.Xr ata 4 , +.Xr atapi 4 , +.Xr wd 4 , +.Xr pciide 4 , +.Xr wdc 4 +.Sh BUGS +The timings used for the PIO and DMA modes for controllers listed above +are for a PCI bus running at 30 or 33 MHz. +This driver may not work properly on overclocked systems. diff --git a/share/man/man4/hptide.4 b/share/man/man4/hptide.4 new file mode 100644 index 000000000000..ecb2f8e5ce16 --- /dev/null +++ b/share/man/man4/hptide.4 @@ -0,0 +1,64 @@ +.\" $NetBSD: hptide.4,v 1.1 2003/10/08 12:02:40 bouyer Exp $ +.\" +.\" Copyright (c) 2003 Manuel Bouyer. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed by Manuel Bouyer. +.\" 4. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd October 8, 2003 +.Dt HPTIDE 4 +.Os +.Sh NAME +.Nm hptide +.Nd Triones/Highpoint IDE disk controllers driver +.Sh SYNOPSIS +.Cd "hptide* at pci? dev ? function ? flags 0x0000" +.Sh DESCRIPTION +The +.Nm +driver supports the Triones/Highpoint HPT366, HPT370, HPT370A, HPT372 and +HPT374 IDE controllers, and provides the +interface with the hardware for the +.Ic ata +driver. +.Pp +The 0x0002 flag forces the +.Nm +driver to disable DMA on chipsets for which DMA would normally be +enabled. +This can be used as a debugging aid, or to work around +problems where the IDE controller is wired up to the system incorrectly. +.Sh SEE ALSO +.Xr intro 4 , +.Xr pci 4 , +.Xr ata 4 , +.Xr atapi 4 , +.Xr wd 4 , +.Xr pciide 4 +.Xr wdc 4 +.Sh BUGS +The timings used for the PIO and DMA modes for controllers listed above +are for a PCI bus running at 30 or 33 MHz. +This driver may not work properly on overclocked systems. diff --git a/share/man/man4/optiide.4 b/share/man/man4/optiide.4 new file mode 100644 index 000000000000..55c4a4b89093 --- /dev/null +++ b/share/man/man4/optiide.4 @@ -0,0 +1,63 @@ +.\" $NetBSD: optiide.4,v 1.1 2003/10/08 12:02:40 bouyer Exp $ +.\" +.\" Copyright (c) 2003 Manuel Bouyer. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed by Manuel Bouyer. +.\" 4. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd October 8, 2003 +.Dt OPTIIDE 4 +.Os +.Sh NAME +.Nm optiide +.Nd OPTi IDE disk controllers driver +.Sh SYNOPSIS +.Cd "optiide* at pci? dev ? function ? flags 0x0000" +.Sh DESCRIPTION +The +.Nm +driver supports the OPTi 82c621, 82c568 and 82d568 IDE controllers, +and provides the interface with the hardware for the +.Ic ata +driver. +.Pp +The 0x0002 flag forces the +.Nm +driver to disable DMA on chipsets for which DMA would normally be +enabled. +This can be used as a debugging aid, or to work around +problems where the IDE controller is wired up to the system incorrectly. +.Sh SEE ALSO +.Xr intro 4 , +.Xr pci 4 , +.Xr ata 4 , +.Xr atapi 4 , +.Xr wd 4 , +.Xr pciide 4 , +.Xr wdc 4 +.Sh BUGS +The timings used for the PIO and DMA modes for controllers listed above +are for a PCI bus running at 25 or 33 MHz. +This driver may not work properly on overclocked systems. diff --git a/share/man/man4/pciide.4 b/share/man/man4/pciide.4 index c4175b106699..1748bfd62033 100644 --- a/share/man/man4/pciide.4 +++ b/share/man/man4/pciide.4 @@ -1,6 +1,6 @@ -.\" $NetBSD: pciide.4,v 1.53 2003/10/08 11:20:09 bouyer Exp $ +.\" $NetBSD: pciide.4,v 1.54 2003/10/08 12:02:40 bouyer Exp $ .\" -.\" Copyright (c) 1998 Manuel Bouyer. +.\" Copyright (c) 1998,2003 Manuel Bouyer. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions @@ -36,10 +36,6 @@ .Sh SYNOPSIS .Cd "pciide* at pci? dev ? function ? flags 0x0000" .Cd "pciide* at pnpbios? index ?" -.Cd "options PCIIDE_CMD064x_DISABLE" -.Cd "options PCIIDE_AMD756_ENABLEDMA" -.Cd "options PCIIDE_CMD0646U_ENABLEUDMA" -.Cd "options PCIIDE_I31244_ENABLEDMA" .Sh DESCRIPTION The .Nm @@ -48,46 +44,62 @@ driver supports the PCI IDE controllers as specified in the interface with the hardware for the .Ic ata driver. -This driver include specific, enhanced support for the CMD Tech -PCI0640 controller, and IDE DMA/Ultra-DMA support for the following -controllers: +Please use the chip-specific drivers for the following controllers for +enhanced and DMA support: .Bl -dash -compact -offset indent .It -Acard ATP850 (Ultra/33) and ATP860 (Ultra/66) IDE Controllers +Acard ATP850 (Ultra/33) and ATP860 (Ultra/66) IDE Controllers: +.Xr acardide 4 .It -Acer labs M5229 IDE Controller +Acer labs M5229 IDE Controller: +.Xr aceride 4 .It -Advanced Micro Devices AMD-756, 766, and 768 IDE Controllers +Advanced Micro Devices AMD-756, 766, and 768 IDE Controllers: +.Xr viaide 4 .It -CMD Tech PCI0643, PCI0646, PCI0648, and PCI0649 IDE Controllers +CMD Tech PCI0643, PCI0646, PCI0648, and PCI0649 IDE Controllers: +.Xr cmdide 4 .It -Contaq Microsystems/Cypress CY82C693 IDE Controller +Contaq Microsystems/Cypress CY82C693 IDE Controller: +.Xr cypide 4 .It HighPoint HPT366 Ultra/66, HPT370 Ultra/100, HPT372, and HPT374 Ultra/133 -IDE controller +IDE controller: +.Xr hptide 4 .It -Intel PIIX, PIIX3, and PIIX4 IDE Controllers +Intel PIIX, PIIX3, and PIIX4 IDE Controllers: +.Xr piixide 4 .It -Intel i31244 Serial ATA controller +Intel i31244 Serial ATA controller: +.Xr piixide 4 .It -Intel 82801 (ICH/ICH0/ICH2/ICH3/ICH4/ICH5) IDE Controllers +Intel 82801 (ICH/ICH0/ICH2/ICH3/ICH4/ICH5) IDE Controllers: +.Xr piixide 4 .It -OPTi 82c621 (plus a few of its derivatives) IDE Controllers +NVIDIA nForce/nForce2 IDE Controllers: +.Xr viaide 4 +.It +OPTi 82c621 (plus a few of its derivatives) IDE Controllers: +.Xr optiide 4 .It Promise PDC20246 (Ultra/33), PDC20262 (Ultra/66), PDC20265/PDC20267 (Ultra100), PDC20268 (Ultra/100TX2 and Ultra/100TX2v2), Ultra/133, Ultra/133TX2 and -Ultra/133TX2v2 PCI IDE controllers +Ultra/133TX2v2 PCI IDE controllers: +.Xr pdcide 4 .It -Silicon Image 0680 IDE controller +Silicon Image 0680 IDE controller: +.Xr cmdide 4 .It -Silicon Image SATALink 3112 Serial ATA controller +Silicon Image SATALink 3112 Serial ATA controller: +.Xr cmdide 4 .It -Silicon Integrated System 5597/5598 IDE controller +Silicon Integrated System 5597/5598 IDE controller: +.Xr siside 4 .It VIA Technologies VT82C586, VT82C586A, VT82C596A, VT82C686A, VT8233A, -and VT8235 IDE Controllers +and VT8235 IDE Controllers: +.Xr viaide 4 .El -Some of these controllers are only available in multifunction PCI chips. .Pp The 0x0001 flag forces the .Nm @@ -106,44 +118,18 @@ problems where the IDE controller is wired up to the system incorrectly. .Xr intro 4 , .Xr pci 4 , .Xr pnpbios 4 , -.Xr scsi 4 , .Xr ata 4 , .Xr atapi 4 , .Xr wd 4 , +.Xr acardide 4 , +.Xr aceride 4 , +.Xr cmdide 4 , +.Xr cypide 4 , +.Xr hptide 4 , +.Xr optiide 4 , +.Xr pdcide 4 , +.Xr piixide 4 , +.Xr siside 4 , +.Xr slide 4 , +.Xr viaide 4 , .Xr wdc 4 -.Sh BUGS -There's no way to reliably know if a PCI064x controller is enabled or not. -If the driver finds a PCI064x, it will assume it is enabled unless the -PCIIDE_CMD064x_DISABLE option is specified in the kernel config file. -This will be a problem only if the controller has been disabled in the BIOS -and another controller has been installed and uses the ISA legacy I/O ports -and interrupts. -.Pp -The PCI0646U controller is known to be buggy with Ultra-DMA transfers, so -Ultra-DMA is disabled by default for this controller. -To enable Ultra-DMA, use the PCIIDE_CMD0646U_ENABLEUDMA option. -Ultra-DMA can eventually be disabled on a per-drive basis with config -flags, see -.Xr wd 4 . -.Pp -The AMD756 chip revision D2 has a bug affecting DMA (but not Ultra-DMA) -modes. -The workaround documented by AMD is to not use DMA on any drive which -does not support Ultra-DMA modes. -This does not appear to be necessary on all drives, the -PCIIDE_AMD756_ENABLEDMA option can be used to force multiword DMA -on the buggy revisions. -Multiword DMA can eventually be disabled on a -per-drive basis with config flags, see -.Xr wd 4 . -The bug, if triggered, will cause a total system hang. -.Pp -The Intel i31244 Serial ATA controller revision 0 has a bug affecting -DMA data transfers. -The PCIIDE_I31244_ENABLEDMA option can be used to force DMA on the -buggy revisions. -.Pp -The timings used for the PIO and DMA modes for controllers listed above -are for a PCI bus running at 30 or 33 MHz (except the OPTi controller, -which supports both 25 and 33 MHz PCI bus timings). -This driver may not work properly on overclocked systems. diff --git a/share/man/man4/pdcide.4 b/share/man/man4/pdcide.4 new file mode 100644 index 000000000000..26b50b0dffa4 --- /dev/null +++ b/share/man/man4/pdcide.4 @@ -0,0 +1,65 @@ +.\" $NetBSD: pdcide.4,v 1.1 2003/10/08 12:02:40 bouyer Exp $ +.\" +.\" Copyright (c) 2003 Manuel Bouyer. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed by Manuel Bouyer. +.\" 4. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd October 8, 2003 +.Dt PDCIDE 4 +.Os +.Sh NAME +.Nm pdcide +.Nd Promise IDE disk controllers driver +.Sh SYNOPSIS +.Cd "pdcide* at pci? dev ? function ? flags 0x0000" +.Sh DESCRIPTION +The +.Nm +driver supports the Promise Ultra33, Ultra66, Ultra100, Ultra100TX2, +Ultra100TX2v2, Ultra133, Ultra133TX2, Ultra133TX2v2, Fasttrak133 and +Serial ATA/150 IDE controllers, and provides the +interface with the hardware for the +.Ic ata +driver. +.Pp +The 0x0002 flag forces the +.Nm +driver to disable DMA on chipsets for which DMA would normally be +enabled. +This can be used as a debugging aid, or to work around +problems where the IDE controller is wired up to the system incorrectly. +.Sh SEE ALSO +.Xr intro 4 , +.Xr pci 4 , +.Xr ata 4 , +.Xr atapi 4 , +.Xr wd 4 , +.Xr pciide 4 , +.Xr wdc 4 +.Sh BUGS +The timings used for the PIO and DMA modes for controllers listed above +are for a PCI bus running at 30 or 33 MHz. +This driver may not work properly on overclocked systems. diff --git a/share/man/man4/piixide.4 b/share/man/man4/piixide.4 new file mode 100644 index 000000000000..f1435a5cb171 --- /dev/null +++ b/share/man/man4/piixide.4 @@ -0,0 +1,70 @@ +.\" $NetBSD: piixide.4,v 1.1 2003/10/08 12:02:40 bouyer Exp $ +.\" +.\" Copyright (c) 2003 Manuel Bouyer. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed by Manuel Bouyer. +.\" 4. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd October 8, 2003 +.Dt PIIXIDE 4 +.Os +.Sh NAME +.Nm piixide +.Nd Intel IDE disk controllers driver +.Sh SYNOPSIS +.Cd "piixide* at pci? dev ? function ? flags 0x0000" +.Cd "options PCIIDE_I31244_ENABLEDMA" +.Sh DESCRIPTION +The +.Nm +driver supports the Intel PIIX, PIIX3, PIIX4, i31244 Serial ATA, and +82801 (ICH/ICH0/ICH2/ICH3/ICH4/ICH5) IDE controllers, +and provides the interface with the hardware for the +.Ic ata +driver. +.Pp +The 0x0002 flag forces the +.Nm +driver to disable DMA on chipsets for which DMA would normally be +enabled. +This can be used as a debugging aid, or to work around +problems where the IDE controller is wired up to the system incorrectly. +.Sh SEE ALSO +.Xr intro 4 , +.Xr pci 4 , +.Xr ata 4 , +.Xr atapi 4 , +.Xr wd 4 , +.Xr pciide 4 +.Xr wdc 4 +.Sh BUGS +The Intel i31244 Serial ATA controller revision 0 has a bug affecting +DMA data transfers. +The PCIIDE_I31244_ENABLEDMA option can be used to force DMA on the +buggy revisions. +.Pp +The timings used for the PIO and DMA modes for controllers listed above +are for a PCI bus running at 30 or 33 MHz. +This driver may not work properly on overclocked systems. diff --git a/share/man/man4/siside.4 b/share/man/man4/siside.4 new file mode 100644 index 000000000000..bf4bfb416d89 --- /dev/null +++ b/share/man/man4/siside.4 @@ -0,0 +1,63 @@ +.\" $NetBSD: siside.4,v 1.1 2003/10/08 12:02:40 bouyer Exp $ +.\" +.\" Copyright (c) 2003 Manuel Bouyer. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed by Manuel Bouyer. +.\" 4. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd October 8, 2003 +.Dt SISIDE 4 +.Os +.Sh NAME +.Nm siside +.Nd Silicon Integrated System IDE disk controllers driver +.Sh SYNOPSIS +.Cd "siside* at pci? dev ? function ? flags 0x0000" +.Sh DESCRIPTION +The +.Nm +driver supports the Silicon Integrated System IDE controllers, +and provides the interface with the hardware for the +.Ic ata +driver. +.Pp +The 0x0002 flag forces the +.Nm +driver to disable DMA on chipsets for which DMA would normally be +enabled. +This can be used as a debugging aid, or to work around +problems where the IDE controller is wired up to the system incorrectly. +.Sh SEE ALSO +.Xr intro 4 , +.Xr pci 4 , +.Xr ata 4 , +.Xr atapi 4 , +.Xr wd 4 , +.Xr pciide 4 , +.Xr wdc 4 +.Sh BUGS +The timings used for the PIO and DMA modes for controllers listed above +are for a PCI bus running at 30 or 33 MHz. +This driver may not work properly on overclocked systems. diff --git a/share/man/man4/slide.4 b/share/man/man4/slide.4 new file mode 100644 index 000000000000..ddcd84407924 --- /dev/null +++ b/share/man/man4/slide.4 @@ -0,0 +1,63 @@ +.\" $NetBSD: slide.4,v 1.1 2003/10/08 12:02:40 bouyer Exp $ +.\" +.\" Copyright (c) 2003 Manuel Bouyer. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed by Manuel Bouyer. +.\" 4. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd October 8, 2003 +.Dt SLIDE 4 +.Os +.Sh NAME +.Nm slide +.Nd Symphony Labs and Winbond IDE disk controllers driver +.Sh SYNOPSIS +.Cd "slide* at pci? dev ? function ? flags 0x0000" +.Sh DESCRIPTION +The +.Nm +driver supports the Symphony Labs82C105 and Winbond W83C553F IDE controllers, +and provides the interface with the hardware for the +.Ic ata +driver. +.Pp +The 0x0002 flag forces the +.Nm +driver to disable DMA on chipsets for which DMA would normally be +enabled. +This can be used as a debugging aid, or to work around +problems where the IDE controller is wired up to the system incorrectly. +.Sh SEE ALSO +.Xr intro 4 , +.Xr pci 4 , +.Xr ata 4 , +.Xr atapi 4 , +.Xr wd 4 , +.Xr pciide 4 , +.Xr wdc 4 +.Sh BUGS +The timings used for the PIO and DMA modes for controllers listed above +are for a PCI bus running at 30 or 33 MHz. +This driver may not work properly on overclocked systems. diff --git a/share/man/man4/viaide.4 b/share/man/man4/viaide.4 new file mode 100644 index 000000000000..0dd3129ea133 --- /dev/null +++ b/share/man/man4/viaide.4 @@ -0,0 +1,85 @@ +.\" $NetBSD: viaide.4,v 1.1 2003/10/08 12:02:40 bouyer Exp $ +.\" +.\" Copyright (c) 2003 Manuel Bouyer. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed by Manuel Bouyer. +.\" 4. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd October 8, 2003 +.Dt VIAIDE 4 +.Os +.Sh NAME +.Nm viaide +.Nd AMD, NVIDIA and VIA IDE disk controllers driver +.Sh SYNOPSIS +.Cd "viaide* at pci? dev ? function ? flags 0x0000" +.Cd "options PCIIDE_AMD756_ENABLEDMA" +.Sh DESCRIPTION +The +.Nm +driver supports the following IDE controllers +and provides the interface with the hardware for the +.Ic ata +driver: +.Bl -dash -compact -offset indent +.It +Advanced Micro Devices AMD-756, 766, and 768 IDE Controllers +.It +NVIDIA nForce and nForce2 +.It +VIA Technologies VT82C586, VT82C586A, VT82C596A, VT82C686A, VT8233A, +VT8235 and VT8237 IDE Controllers +.El +.Pp +The 0x0002 flag forces the +.Nm +driver to disable DMA on chipsets for which DMA would normally be +enabled. +This can be used as a debugging aid, or to work around +problems where the IDE controller is wired up to the system incorrectly. +.Sh SEE ALSO +.Xr intro 4 , +.Xr pci 4 , +.Xr ata 4 , +.Xr atapi 4 , +.Xr wd 4 , +.Xr pciide 4 +.Xr wdc 4 +.Sh BUGS +The AMD756 chip revision D2 has a bug affecting DMA (but not Ultra-DMA) +modes. +The workaround documented by AMD is to not use DMA on any drive which +does not support Ultra-DMA modes. +This does not appear to be necessary on all drives, the +PCIIDE_AMD756_ENABLEDMA option can be used to force multiword DMA +on the buggy revisions. +Multiword DMA can eventually be disabled on a +per-drive basis with config flags, see +.Xr wd 4 . +The bug, if triggered, will cause a total system hang. +.Pp +The timings used for the PIO and DMA modes for controllers listed above +are for a PCI bus running at 30 or 33 MHz. +This driver may not work properly on overclocked systems.