| .. | .. |
|---|
| 565 | 565 | * TODO - this define is not in MPI spec yet, |
|---|
| 566 | 566 | * but they plan to set it to 0x21 |
|---|
| 567 | 567 | */ |
|---|
| 568 | | - if (event == 0x21 ) { |
|---|
| 568 | + if (event == 0x21) { |
|---|
| 569 | 569 | ioc->aen_event_read_flag=1; |
|---|
| 570 | 570 | dctlprintk(ioc, printk(MYIOC_s_DEBUG_FMT "Raised SIGIO to application\n", |
|---|
| 571 | 571 | ioc->name)); |
|---|
| .. | .. |
|---|
| 2593 | 2593 | /* Get the data transfer speeds |
|---|
| 2594 | 2594 | */ |
|---|
| 2595 | 2595 | data_sz = ioc->spi_data.sdp0length * 4; |
|---|
| 2596 | | - pg0_alloc = (SCSIDevicePage0_t *) pci_alloc_consistent(ioc->pcidev, data_sz, &page_dma); |
|---|
| 2596 | + pg0_alloc = pci_alloc_consistent(ioc->pcidev, data_sz, &page_dma); |
|---|
| 2597 | 2597 | if (pg0_alloc) { |
|---|
| 2598 | 2598 | hdr.PageVersion = ioc->spi_data.sdp0version; |
|---|
| 2599 | 2599 | hdr.PageLength = data_sz; |
|---|
| .. | .. |
|---|
| 2657 | 2657 | /* Issue the second config page request */ |
|---|
| 2658 | 2658 | cfg.action = MPI_CONFIG_ACTION_PAGE_READ_CURRENT; |
|---|
| 2659 | 2659 | data_sz = (int) cfg.cfghdr.hdr->PageLength * 4; |
|---|
| 2660 | | - pg3_alloc = (SCSIDevicePage3_t *) pci_alloc_consistent( |
|---|
| 2661 | | - ioc->pcidev, data_sz, &page_dma); |
|---|
| 2660 | + pg3_alloc = pci_alloc_consistent(ioc->pcidev, data_sz, &page_dma); |
|---|
| 2662 | 2661 | if (pg3_alloc) { |
|---|
| 2663 | 2662 | cfg.physAddr = page_dma; |
|---|
| 2664 | 2663 | cfg.pageAddr = (karg.hdr.channel << 8) | karg.hdr.id; |
|---|