mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 21:24:08 +08:00
[SCSI] megaraid: outb_p extermination
From conversations with the maintainers the _p isn't needed so kill it. That removes the last non ISA _p user from the SCSI layer to my knowledge. Signed-off-by: Alan Cox <alan@redhat.com> Acked-by: "Yang, Bo" <Bo.Yang@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
2939deaab2
commit
7d1abbe824
@ -151,19 +151,19 @@ mega_setup_mailbox(adapter_t *adapter)
|
||||
*/
|
||||
if( adapter->flag & BOARD_IOMAP ) {
|
||||
|
||||
outb_p(adapter->mbox_dma & 0xFF,
|
||||
outb(adapter->mbox_dma & 0xFF,
|
||||
adapter->host->io_port + MBOX_PORT0);
|
||||
|
||||
outb_p((adapter->mbox_dma >> 8) & 0xFF,
|
||||
outb((adapter->mbox_dma >> 8) & 0xFF,
|
||||
adapter->host->io_port + MBOX_PORT1);
|
||||
|
||||
outb_p((adapter->mbox_dma >> 16) & 0xFF,
|
||||
outb((adapter->mbox_dma >> 16) & 0xFF,
|
||||
adapter->host->io_port + MBOX_PORT2);
|
||||
|
||||
outb_p((adapter->mbox_dma >> 24) & 0xFF,
|
||||
outb((adapter->mbox_dma >> 24) & 0xFF,
|
||||
adapter->host->io_port + MBOX_PORT3);
|
||||
|
||||
outb_p(ENABLE_MBOX_BYTE,
|
||||
outb(ENABLE_MBOX_BYTE,
|
||||
adapter->host->io_port + ENABLE_MBOX_REGION);
|
||||
|
||||
irq_ack(adapter);
|
||||
|
Loading…
Reference in New Issue
Block a user