2.6.x libata updates
PATCH 1/1 2.6.x libata updates
Please do a
bk pull bk://gkernel.bkbits.net/libata-2.6
This will update the following files:
drivers/scsi/ahci.c | 12 +++++------ drivers/scsi/sata_qstor.c | 50 +++++++++++++++++++++++++++++++--------------- drivers/scsi/sata_vsc.c | 4 +-- 3 files changed, 42 insertions(+), 24 deletions(-)
through these ChangeSets:
<liml:rtr.ca>:
o sata_qstor: eh_timeout fix
<tklauser:nuerscht.ch>:
o drivers/scsi/ahci: Use the DMA_{64,32}BIT_MASK constants
o drivers/scsi/sata_vsc: Use the DMA_{64,32}BIT_MASK constants
Jeff Garzik:
o [libata ahci] Print out port id on error messages
Mark Lord:
o [libata qstor] minor update per LKML comments
drivers/scsi/ahci.c +6 -6
@@ -574,7 +574,7 @@writel (tmp, port_mmio +PORT_CMD );readl (port_mmio +PORT_CMD );/* flush */ -printk (KERN_WARNING "ata%u: error occurred, port reset\n" , ap->port_no); +printk (KERN_WARNING "ata%u: error occurred, port reset\n" , ap->id); }static void ahci_eng_timeout (struct ata_port *ap)
@@ -766,10 +766,10 @@ using_dac = hpriv->cap &HOST_CAP_64 ;if (using_dac && - !pci_set_dma_mask (pdev,0xffffffffffffffffULL )) { - rc =pci_set_consistent_dma_mask (pdev,0xffffffffffffffffULL ); + !pci_set_dma_mask (pdev,DMA_64BIT_MASK )) { + rc =pci_set_consistent_dma_mask (pdev,DMA_64BIT_MASK );if (rc) { - rc =pci_set_consistent_dma_mask (pdev,0xffffffffULL ); + rc =pci_set_consistent_dma_mask (pdev,DMA_32BIT_MASK );if (rc) { printk(KERN_ERR DRV_NAME "(%s): 64-bit DMA enable failed\n", pci_name(pdev));
@@ -779,13 +779,13 @@ hpriv->flags |=HOST_CAP_64 ; }else { - rc =pci_set_dma_mask (pdev,0xffffffffULL ); + rc =pci_set_dma_mask (pdev,DMA_32BIT_MASK );if (rc) { printk(KERN_ERR DRV_NAME "(%s): 32-bit DMA enable failed\n", pci_name(pdev));return rc; } - rc =pci_set_consistent_dma_mask (pdev,0xffffffffULL ); + rc =pci_set_consistent_dma_mask (pdev,DMA_32BIT_MASK );if (rc) { printk(KERN_ERR DRV_NAME "(%s): 32-bit consistent DMA enable failed\n", pci_name(pdev));
drivers/scsi/sata_qstor.c +34 -16
123 lines not on this page · raw message
drivers/scsi/sata_vsc.c +2 -2
@@ -285,10 +285,10 @@/* * Use 32 bit DMA mask, because 64 bit address support is poor. */ - rc =pci_set_dma_mask (pdev,0xFFFFFFFFULL ); + rc =pci_set_dma_mask (pdev,DMA_32BIT_MASK );if (rc) goto err_out_regions; - rc =pci_set_consistent_dma_mask (pdev,0xFFFFFFFFULL ); + rc =pci_set_consistent_dma_mask (pdev,DMA_32BIT_MASK );if (rc) goto err_out_regions;