svn commit: r214669 - stable/8/sys/dev/ata/chipsets

Alexander Motin mav at FreeBSD.org
Tue Nov 2 09:15:28 UTC 2010


Author: mav
Date: Tue Nov  2 09:15:27 2010
New Revision: 214669
URL: http://svn.freebsd.org/changeset/base/214669

Log:
  MFC r213301:
  Revert r132291.
  Restore setting PIO/WDMA timings for VIA UDMA133 controllers.
  Linux disables only AST register writing there, but no all timings.

Modified:
  stable/8/sys/dev/ata/chipsets/ata-via.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/dev/ata/chipsets/ata-via.c
==============================================================================
--- stable/8/sys/dev/ata/chipsets/ata-via.c	Tue Nov  2 09:14:04 2010	(r214668)
+++ stable/8/sys/dev/ata/chipsets/ata-via.c	Tue Nov  2 09:15:27 2010	(r214669)
@@ -352,8 +352,7 @@ ata_via_old_setmode(device_t dev, int ta
 	    piomode = mode;
 	}
 	/* Set WDMA/PIO timings */
-	if (ctlr->chip->cfg1 != VIA133)
-	    pci_write_config(parent, reg - 0x08,timings[ata_mode2idx(piomode)], 1);
+	pci_write_config(parent, reg - 0x08,timings[ata_mode2idx(piomode)], 1);
 	return (mode);
 }
 


More information about the svn-src-stable-8 mailing list