Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src Apply patch (requested by bouyer):



details:   https://anonhg.NetBSD.org/src/rev/f0115c7cf3fc
branches:  netbsd-1-4
changeset: 470753:f0115c7cf3fc
user:      he <he%NetBSD.org@localhost>
date:      Fri Jul 07 17:38:27 2000 +0000

description:
Apply patch (requested by bouyer):
  Document that we now support more PCIIDE controllers:
   o AMD 756
   o CMD PCI0648 and PCI0649
   o Hightpoint HPT366
   o OPTi 82c621 (and a few of its derivatives)
   o Promise Ultra/33 and Ultra/66
   o Intel 82801 (ICH/ICH0)

diffstat:

 distrib/notes/i386/hardware |   7 +++-
 share/man/man4/pciide.4     |  68 ++++++++++++++++++++++++++++----------------
 2 files changed, 48 insertions(+), 27 deletions(-)

diffs (142 lines):

diff -r e411559564ef -r f0115c7cf3fc distrib/notes/i386/hardware
--- a/distrib/notes/i386/hardware       Fri Jul 07 17:33:46 2000 +0000
+++ b/distrib/notes/i386/hardware       Fri Jul 07 17:38:27 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: hardware,v 1.45.2.8 2000/02/12 20:34:31 he Exp $       
+.\"    $NetBSD: hardware,v 1.45.2.9 2000/07/07 17:38:27 he Exp $       
 .Nx \*V
 runs on ISA (AT-Bus), EISA, PCI, and VL-bus systems
 with 386-family processors, with or without math coprocessors. It
@@ -20,9 +20,12 @@
                There is complete support (including IDE DMA or Ultra-
                DMA) for the following PCI controllers:
                 -  Acer labs M5229 IDE Controller
-                -  CMD Tech PCI0643 and PCI0646 IDE Controllers
+                -  CMD Tech PCI0643, 0646, 0648 and 0649 IDE Controllers
                 -  Contaq Microsystems/Cypress CY82C693 IDE Controller
+               -  HighPoint HPT366 IDE Controller
                 -  Intel PIIX, PIIX3 and PIIX4 IDE Controllers
+               -  Intel 82801 (ICH/ICH0) IDE Controllers
+               -  Promise PDC20246 (Ultra/33) and PDC20262 (Ultra/66)
                 -  Silicon Integrated System 5597/5598 IDE controller
                 -  VIA Technologies VT82C586 and VT82C586A IDE Controllers
                 Most of these controllers are only available in
diff -r e411559564ef -r f0115c7cf3fc share/man/man4/pciide.4
--- a/share/man/man4/pciide.4   Fri Jul 07 17:33:46 2000 +0000
+++ b/share/man/man4/pciide.4   Fri Jul 07 17:38:27 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pciide.4,v 1.8 1999/03/16 01:19:17 garbled Exp $
+.\"    $NetBSD: pciide.4,v 1.8.2.1 2000/07/07 17:38:27 he Exp $
 .\"
 .\" Copyright (c) 1998 Manuel Bouyer.
 .\"
@@ -18,28 +18,27 @@
 .\"    may be used to endorse or promote products derived from this software
 .\"    without specific prior written permission.
 .\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``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 REGENTS OR CONTRIBUTORS 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.
+.\" 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 15, 1998
-.Dt pciide 4
+.Dt PCIIDE 4
 .Os
 .Sh NAME
-.Nm pciide
-.Nd PCI IDE controllers driver
+.Nm PCIIDE
+.Nd PCI IDE disk controllers driver
 .Sh SYNOPSIS
-.Cd "pciide* at pci ? dev ? function ? flags 0x0000"
+.Cd "pciide* at pci? dev ? function ? flags 0x0000"
 .Cd "options PCIIDE_CMD064x_DISABLE"
+.Cd "options PCIIDE_AMD756_ENABLEDMA"
 .Sh DESCRIPTION
 The
 .Nm pciide
@@ -56,38 +55,57 @@
 .It
 Acer labs M5229 IDE Controller
 .It
-CMD Tech PCI0643 and PCI0646 IDE Controllers
+Advanced Micro Devices AMD-756 IDE Controllers
+.It
+CMD Tech PCI0643, PCI0646, PCI0648 and PCI0649 IDE Controllers
 .It
 Contaq Microsystems/Cypress CY82C693 IDE Controller
 .It
+HighPoint HPT366 Ultra/66 IDE controller
+.It
 Intel PIIX, PIIX3 and PIIX4 IDE Controllers
 .It
+Intel 82801 (ICH/ICH0) IDE Controllers
+.It
+OPTi 82c621 (plus a few of its derivatives) IDE Controllers
+.It
+Promise PDC20246 (Ultra/33) and PDC20262 (Ultra/66)
+.It
 Silicon Integrated System 5597/5598 IDE controller
 .It
 VIA Technologies VT82C586 and VT82C586A IDE Controllers
 .El 
-Some of these contollers are only available in multifunction PCI chips.
+Some of these controllers are only available in multifunction PCI chips.
 .Pp
-The 0x0001 flag force the
+The 0x0001 flag forces the
 .Nm 
 driver to use DMA when there is no explicit DMA mode setting support for
 the controller but DMA is present. If the BIOS didn't set up the controller
 properly, this can cause a machine hang.
-
 .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 is specified in the kernel config file.
+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 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 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
+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.
-
 .Sh SEE ALSO
 .Xr intro 4 ,
-.Xr wd 4 ,
+.Xr pci 4 ,
 .Xr scsi 4 ,
+.Xr wd 4 ,
 .Xr wdc 4



Home | Main Index | Thread Index | Old Index