Revision a15fdf86 hw/lsi53c895a.c
b/hw/lsi53c895a.c | ||
---|---|---|
10 | 10 |
/* ??? Need to check if the {read,write}[wl] routines work properly on |
11 | 11 |
big-endian targets. */ |
12 | 12 |
|
13 |
#include <assert.h> \
|
|
13 |
#include <assert.h> |
|
14 | 14 |
|
15 | 15 |
#include "hw.h" |
16 | 16 |
#include "pci.h" |
... | ... | |
185 | 185 |
int carry; /* ??? Should this be an a visible register somewhere? */ |
186 | 186 |
int sense; |
187 | 187 |
/* Action to take at the end of a MSG IN phase. |
188 |
0 = COMMAND, 1 = disconect, 2 = DATA OUT, 3 = DATA IN. */ |
|
188 |
0 = COMMAND, 1 = disconnect, 2 = DATA OUT, 3 = DATA IN. */
|
|
189 | 189 |
int msg_action; |
190 | 190 |
int msg_len; |
191 | 191 |
uint8_t msg[LSI_MAX_MSGIN_LEN]; |
... | ... | |
1062 | 1062 |
lsi_set_phase(s, PHASE_MO); |
1063 | 1063 |
break; |
1064 | 1064 |
case 1: /* Disconnect */ |
1065 |
DPRINTF("Wait Disconect\n"); |
|
1065 |
DPRINTF("Wait Disconnect\n");
|
|
1066 | 1066 |
s->scntl1 &= ~LSI_SCNTL1_CON; |
1067 | 1067 |
break; |
1068 | 1068 |
case 2: /* Wait Reselect */ |
... | ... | |
1554 | 1554 |
SCRIPTS register move instructions are. */ |
1555 | 1555 |
s->sfbr = val; |
1556 | 1556 |
break; |
1557 |
case 0x0a: case 0x0b:
|
|
1557 |
case 0x0a: case 0x0b: |
|
1558 | 1558 |
/* Openserver writes to these readonly registers on startup */ |
1559 |
return;
|
|
1559 |
return; |
|
1560 | 1560 |
case 0x0c: case 0x0d: case 0x0e: case 0x0f: |
1561 | 1561 |
/* Linux writes to these readonly registers on startup. */ |
1562 | 1562 |
return; |
Also available in: Unified diff