Use of port 0x80 is x86-specific and can even hang some newer x86 systems. Signed-off-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx> --- drivers/scsi/atp870u.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/atp870u.c b/drivers/scsi/atp870u.c index 80f41ef..dcefd8b 100644 --- a/drivers/scsi/atp870u.c +++ b/drivers/scsi/atp870u.c @@ -1122,8 +1122,6 @@ wait_rdyok: tmport = dev->ioport[0] + 0x1b; outb(0x02, tmport); - outb(0, 0x80); - val = 0x0080; /* bsy */ tmport = dev->ioport[0] + 0x1c; outw(val, tmport); @@ -1141,7 +1139,6 @@ wait_nomsg: if ((inb(tmport) & 0x04) != 0) { goto wait_nomsg; } - outb(1, 0x80); udelay(100); for (n = 0; n < 0x30000; n++) { if ((inb(tmport) & 0x80) != 0) { /* bsy ? */ @@ -1163,7 +1160,6 @@ wait_io1: udelay(1); val &= 0x00bf; /* no sel */ outw(val, tmport); - outb(2, 0x80); TCM_SYNC: mdelay(2); if ((inb(tmport) & 0x80) == 0x00) { /* bsy ? */ @@ -1183,18 +1179,15 @@ TCM_SYNC: val &= 0x00ff; /* synchronization */ val |= 0x3f00; fun_scam(dev, &val); - outb(3, 0x80); val &= 0x00ff; /* isolation */ val |= 0x2000; fun_scam(dev, &val); - outb(4, 0x80); i = 8; j = 0; TCM_ID: if ((inw(tmport) & 0x2000) == 0) { goto TCM_ID; } - outb(5, 0x80); val &= 0x00ff; /* get ID_STRING */ val |= 0x2000; k = fun_scam(dev, &val); -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html