diff options
Diffstat (limited to 'drivers/scsi/arcmsr/arcmsr_hba.c')
-rw-r--r-- | drivers/scsi/arcmsr/arcmsr_hba.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index d70398ac64db..50e1310ce983 100644 --- a/drivers/scsi/arcmsr/arcmsr_hba.c +++ b/drivers/scsi/arcmsr/arcmsr_hba.c | |||
@@ -97,9 +97,6 @@ static void arcmsr_flush_hba_cache(struct AdapterControlBlock *acb); | |||
97 | static void arcmsr_flush_hbb_cache(struct AdapterControlBlock *acb); | 97 | static void arcmsr_flush_hbb_cache(struct AdapterControlBlock *acb); |
98 | static const char *arcmsr_info(struct Scsi_Host *); | 98 | static const char *arcmsr_info(struct Scsi_Host *); |
99 | static irqreturn_t arcmsr_interrupt(struct AdapterControlBlock *acb); | 99 | static irqreturn_t arcmsr_interrupt(struct AdapterControlBlock *acb); |
100 | static pci_ers_result_t arcmsr_pci_error_detected(struct pci_dev *pdev, | ||
101 | pci_channel_state_t state); | ||
102 | static pci_ers_result_t arcmsr_pci_slot_reset(struct pci_dev *pdev); | ||
103 | static int arcmsr_adjust_disk_queue_depth(struct scsi_device *sdev, | 100 | static int arcmsr_adjust_disk_queue_depth(struct scsi_device *sdev, |
104 | int queue_depth) | 101 | int queue_depth) |
105 | { | 102 | { |
@@ -326,7 +323,7 @@ static int arcmsr_alloc_ccb_pool(struct AdapterControlBlock *acb) | |||
326 | 323 | ||
327 | reg = (struct MessageUnit_B *)(dma_coherent + | 324 | reg = (struct MessageUnit_B *)(dma_coherent + |
328 | ARCMSR_MAX_FREECCB_NUM * sizeof(struct CommandControlBlock)); | 325 | ARCMSR_MAX_FREECCB_NUM * sizeof(struct CommandControlBlock)); |
329 | acb->pmu = (struct MessageUnit_B *)reg; | 326 | acb->pmu = (struct MessageUnit *)reg; |
330 | mem_base0 = ioremap(pci_resource_start(pdev, 0), | 327 | mem_base0 = ioremap(pci_resource_start(pdev, 0), |
331 | pci_resource_len(pdev, 0)); | 328 | pci_resource_len(pdev, 0)); |
332 | mem_base1 = ioremap(pci_resource_start(pdev, 2), | 329 | mem_base1 = ioremap(pci_resource_start(pdev, 2), |