amd64/132372: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Mon Oct 26 08:50:05 UTC 2009
The following reply was made to PR amd64/132372; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: amd64/132372: commit references a PR
Date: Mon, 26 Oct 2009 08:41:23 +0000 (UTC)
Author: mav
Date: Mon Oct 26 08:41:10 2009
New Revision: 198479
URL: http://svn.freebsd.org/changeset/base/198479
Log:
Fix SATA on nVidia MCP55 chipset. It needs some short time to allow BAR(5)
memory access.
PR: amd64/128686, amd64/132372, amd64/139156
MFC after: 3 days
Modified:
head/sys/dev/ata/chipsets/ata-nvidia.c
Modified: head/sys/dev/ata/chipsets/ata-nvidia.c
==============================================================================
--- head/sys/dev/ata/chipsets/ata-nvidia.c Mon Oct 26 07:43:41 2009 (r198478)
+++ head/sys/dev/ata/chipsets/ata-nvidia.c Mon Oct 26 08:41:10 2009 (r198479)
@@ -165,7 +165,8 @@ ata_nvidia_chipinit(device_t dev)
/* enable control access */
pci_write_config(dev, 0x50, pci_read_config(dev, 0x50, 1) | 0x04,1);
-
+ /* MCP55 seems to need some time to allow r_res2 read. */
+ DELAY(10);
if (ctlr->chip->cfg1 & NVQ) {
/* clear interrupt status */
ATA_OUTL(ctlr->r_res2, offset, 0x00ff00ff);
_______________________________________________
svn-src-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
More information about the freebsd-amd64
mailing list