On Thu, 5 Jul 2007 15:33:34 -0700
Andrew Morton <[EMAIL PROTECTED]> wrote:

> On Thu, 5 Jul 2007 13:05:30 -0700
> Kristen Carlson Accardi <[EMAIL PROTECTED]> wrote:
> 
> > +   ATA_DFLAG_IPM           = (1 << 6), /* device supports interface PM */
> >     ATA_DFLAG_CFG_MASK      = (1 << 8) - 1,
> 
> I had to bump this to (1<<7), so we've run out.

err, no, we've more than run out because you AN patches took the last one.


I guess we can bump ATA_DFLAG_CFG_MASK up to 12, like this?

--- 
a/include/linux/libata.h~ata-ahci-alpm-enable-link-power-management-for-ata-drivers
+++ a/include/linux/libata.h
@@ -140,11 +140,12 @@ enum {
        ATA_DFLAG_ACPI_PENDING  = (1 << 5), /* ACPI resume action pending */
        ATA_DFLAG_ACPI_FAILED   = (1 << 6), /* ACPI on devcfg has failed */
        ATA_DFLAG_AN            = (1 << 7), /* device supports Async 
notification */
-       ATA_DFLAG_CFG_MASK      = (1 << 8) - 1,
+       ATA_DFLAG_IPM           = (1 << 8), /* device supports interface PM */
+       ATA_DFLAG_CFG_MASK      = (1 << 12) - 1,
 
-       ATA_DFLAG_PIO           = (1 << 8), /* device limited to PIO mode */
-       ATA_DFLAG_NCQ_OFF       = (1 << 9), /* device limited to non-NCQ mode */
-       ATA_DFLAG_SPUNDOWN      = (1 << 10), /* XXX: for spindown_compat */
+       ATA_DFLAG_PIO           = (1 << 12), /* device limited to PIO mode */
+       ATA_DFLAG_NCQ_OFF       = (1 << 13), /* device limited to non-NCQ mode 
*/
+       ATA_DFLAG_SPUNDOWN      = (1 << 14), /* XXX: for spindown_compat */
        ATA_DFLAG_INIT_MASK     = (1 << 16) - 1,
 
        ATA_DFLAG_DETACH        = (1 << 16),


-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to