X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=include%2Flinux%2Flibata.h;h=e826c9aaeed3f94113ea582c501499bb83be70e5;hb=b317f2e5b2a5f0df345563fd2926ae960d33e319;hp=ed9826b21c5e8ad0f7e944f8be4c72915f93881e;hpb=9ebacc8c9dacd1fdaccda9a06d6029cf5faa479d;p=mirror_ubuntu-bionic-kernel.git diff --git a/include/linux/libata.h b/include/linux/libata.h index ed9826b21c5e..e826c9aaeed3 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -211,6 +211,7 @@ enum { ATA_FLAG_SLAVE_POSS = (1 << 0), /* host supports slave dev */ /* (doesn't imply presence) */ ATA_FLAG_SATA = (1 << 1), + ATA_FLAG_NO_LPM = (1 << 2), /* host not happy with LPM */ ATA_FLAG_NO_LOG_PAGE = (1 << 5), /* do not issue log page read */ ATA_FLAG_NO_ATAPI = (1 << 6), /* No ATAPI support */ ATA_FLAG_PIO_DMA = (1 << 7), /* PIO cmds via DMA */ @@ -523,7 +524,8 @@ enum ata_lpm_policy { ATA_LPM_MAX_POWER, ATA_LPM_MED_POWER, ATA_LPM_MED_POWER_WITH_DIPM, /* Med power + DIPM as win IRST does */ - ATA_LPM_MIN_POWER, + ATA_LPM_MIN_POWER_WITH_PARTIAL, /* Min Power + partial and slumber */ + ATA_LPM_MIN_POWER, /* Min power + no partial (slumber only) */ }; enum ata_lpm_hints {