Skip to content

Commit

Permalink
[SCSI] megaraid: outb_p extermination
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Cox authored and James Bottomley committed Feb 18, 2008
1 parent 2939dea commit 7d1abbe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions drivers/scsi/megaraid.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7d1abbe

Please sign in to comment.