1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-04 17:15:50 +00:00

Do not enable FIS based PM switching, even if not used some controllers barf.

This commit is contained in:
Søren Schmidt 2008-04-21 10:34:31 +00:00
parent 0051271e12
commit 629f08ade0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178373

View File

@ -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));