]> err.no Git - linux-2.6/commitdiff
Merge branch 'upstream'
authorJeff Garzik <jgarzik@pobox.com>
Sun, 9 Oct 2005 15:16:14 +0000 (11:16 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Sun, 9 Oct 2005 15:16:14 +0000 (11:16 -0400)
1  2 
drivers/scsi/ahci.c
drivers/scsi/libata-core.c
drivers/scsi/libata-scsi.c
include/linux/libata.h

Simple merge
Simple merge
Simple merge
index 3ab67622ef933220746d1a362bb9e7217e1f25d0,7929cfc9318d0b42aa7fb7da018987fd567fabef..0f89f4121fa36df2782f7ed0a3ecbfe8d2e9208b
@@@ -154,21 -155,21 +155,25 @@@ enum 
        ATA_SHIFT_UDMA          = 0,
        ATA_SHIFT_MWDMA         = 8,
        ATA_SHIFT_PIO           = 11,
 +
 +      /* size of buffer to pad xfers ending on unaligned boundaries */
 +      ATA_DMA_PAD_SZ          = 4,
 +      ATA_DMA_PAD_BUF_SZ      = ATA_DMA_PAD_SZ * ATA_MAX_QUEUE,
+       
+       /* Masks for port functions */
+       ATA_PORT_PRIMARY        = (1 << 0),
+       ATA_PORT_SECONDARY      = (1 << 1),
  };
  
- enum pio_task_states {
-       PIO_ST_UNKNOWN,
-       PIO_ST_IDLE,
-       PIO_ST_POLL,
-       PIO_ST_TMOUT,
-       PIO_ST,
-       PIO_ST_LAST,
-       PIO_ST_LAST_POLL,
-       PIO_ST_ERR,
+ enum hsm_task_states {
+       HSM_ST_UNKNOWN,
+       HSM_ST_IDLE,
+       HSM_ST_POLL,
+       HSM_ST_TMOUT,
+       HSM_ST,
+       HSM_ST_LAST,
+       HSM_ST_LAST_POLL,
+       HSM_ST_ERR,
  };
  
  /* forward declarations */