Fix the incorrect parsing of the Risc2Host isr. For RIO_16,
fast posting command completion, and fast post CTIO completion, the upper half of Risc2Host is a copy of mailbox #1- *not* mailbox #0. MFC after: 1 day
This commit is contained in:
parent
bd3f1cd53b
commit
fc3bbaaa8b
@ -885,13 +885,25 @@ isp_pci_rd_isr_2300(struct ispsoftc *isp, u_int16_t *isrp,
|
||||
case ISPR2HST_MBX_OK:
|
||||
case ISPR2HST_MBX_FAIL:
|
||||
case ISPR2HST_ASYNC_EVENT:
|
||||
case ISPR2HST_RIO_16:
|
||||
case ISPR2HST_FPOST:
|
||||
case ISPR2HST_FPOST_CTIO:
|
||||
*isrp = r2hisr & 0xffff;
|
||||
*mbox0p = (r2hisr >> 16);
|
||||
*semap = 1;
|
||||
return (1);
|
||||
case ISPR2HST_RIO_16:
|
||||
*isrp = r2hisr & 0xffff;
|
||||
*mbox0p = ASYNC_RIO1;
|
||||
*semap = 1;
|
||||
return (1);
|
||||
case ISPR2HST_FPOST:
|
||||
*isrp = r2hisr & 0xffff;
|
||||
*mbox0p = ASYNC_CMD_CMPLT;
|
||||
*semap = 1;
|
||||
return (1);
|
||||
case ISPR2HST_FPOST_CTIO:
|
||||
*isrp = r2hisr & 0xffff;
|
||||
*mbox0p = ASYNC_CTIO_DONE;
|
||||
*semap = 1;
|
||||
return (1);
|
||||
case ISPR2HST_RSPQ_UPDATE:
|
||||
*isrp = r2hisr & 0xffff;
|
||||
*mbox0p = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user