summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2009-10-29 09:45:48 +0000
committerAlexander Motin <mav@FreeBSD.org>2009-10-29 09:45:48 +0000
commit9149cb69ab2a21e38e9292f6f65647b0182cf760 (patch)
treef1a7ad0526a5334676a84853f404762c6e3316cd
parentf60909e3e262a8d06d29b88fd553b4f735b6f200 (diff)
Notes
-rw-r--r--sys/dev/ata/chipsets/ata-nvidia.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ata/chipsets/ata-nvidia.c b/sys/dev/ata/chipsets/ata-nvidia.c
index 95be37c30829..bb763161d5ba 100644
--- a/sys/dev/ata/chipsets/ata-nvidia.c
+++ b/sys/dev/ata/chipsets/ata-nvidia.c
@@ -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);