diff options
author | sos <sos@FreeBSD.org> | 2008-04-21 10:34:31 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2008-04-21 10:34:31 +0000 |
commit | 78988be5193b97aa87ae44a222e714b8cbea0d0d (patch) | |
tree | 409b4dfa689a0ccbb63c3d5b6bafc7040c1bf278 /sys/dev/ata | |
parent | bbf813673e69b90901d034189d21451674f5818e (diff) | |
download | FreeBSD-src-78988be5193b97aa87ae44a222e714b8cbea0d0d.zip FreeBSD-src-78988be5193b97aa87ae44a222e714b8cbea0d0d.tar.gz |
Do not enable FIS based PM switching, even if not used some controllers barf.
Diffstat (limited to 'sys/dev/ata')
-rw-r--r-- | sys/dev/ata/ata-chipset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ata/ata-chipset.c b/sys/dev/ata/ata-chipset.c index 11455fc..ae934b9 100644 --- a/sys/dev/ata/ata-chipset.c +++ b/sys/dev/ata/ata-chipset.c @@ -694,7 +694,7 @@ ata_ahci_allocate(device_t dev) ATA_AHCI_P_IX_PS | ATA_AHCI_P_IX_DHR)); /* enable FIS based switching */ - ATA_OUTL(ctlr->r_res2, ATA_AHCI_P_FBS + offset, 0x00000003); + //ATA_OUTL(ctlr->r_res2, ATA_AHCI_P_FBS + offset, 0x00000003); /* start operations on this channel */ ATA_OUTL(ctlr->r_res2, ATA_AHCI_P_CMD + offset, @@ -820,7 +820,7 @@ ata_ahci_begin_transaction(struct ata_request *request) ~ATA_AHCI_P_CMD_ATAPI); /* set PM port to address */ - ATA_OUTL(ctlr->r_res2, ATA_AHCI_P_FBS + offset, (port << 8) | 0x00000001); + //ATA_OUTL(ctlr->r_res2, ATA_AHCI_P_FBS + offset, (port << 8) | 0x00000001); /* issue command to controller */ ATA_OUTL(ctlr->r_res2, ATA_AHCI_P_CI + offset, (1 << request->tag)); |