18 printk(
" 0 1 2 3 4 5 6 7 8 9 Ah Bh Ch Dh Eh "
20 printk(
"------------------------------------------------------------"
22 for (cnt = 0; cnt <
size; c++) {
64 }
else if (is_qla4022(ha) | is_qla4032(ha)) {
67 readw(&ha->
reg->u1.isp4022.intr_mask));
73 readw(&ha->
reg->u1.isp4022.semaphore));
85 readw(&ha->
reg->u2.isp4010.ext_hw_conf));
88 readw(&ha->
reg->u2.isp4010.port_ctrl));
91 readw(&ha->
reg->u2.isp4010.port_status));
94 readw(&ha->
reg->u2.isp4010.req_q_out));
103 readw(&ha->
reg->u2.isp4010.port_err_status));
104 }
else if (is_qla4022(ha) | is_qla4032(ha)) {
108 readw(&ha->
reg->u2.isp4022.p0.ext_hw_conf));
111 readw(&ha->
reg->u2.isp4022.p0.port_ctrl));
114 readw(&ha->
reg->u2.isp4022.p0.port_status));
117 readw(&ha->
reg->u2.isp4022.p0.gp_out));
120 readw(&ha->
reg->u2.isp4022.p0.gp_in));
123 readw(&ha->
reg->u2.isp4022.p0.port_err_status));
126 &ha->
reg->ctrl_status);
129 readw(&ha->
reg->u2.isp4022.p1.req_q_out));
131 &ha->
reg->ctrl_status);
137 uint32_t halt_status1, halt_status2;
142 if (is_qla8022(ha)) {
144 "scsi(%ld): %s, ISP8022 Dumping hw/fw registers:\n"
145 " PEG_HALT_STATUS1: 0x%x, PEG_HALT_STATUS2: 0x%x,\n"
146 " PEG_NET_0_PC: 0x%x, PEG_NET_1_PC: 0x%x,\n"
147 " PEG_NET_2_PC: 0x%x, PEG_NET_3_PC: 0x%x,\n"
148 " PEG_NET_4_PC: 0x%x\n", ha->
host_no,
149 __func__, halt_status1, halt_status2,
155 }
else if (is_qla8032(ha)) {
157 "scsi(%ld): %s, ISP8324 Dumping hw/fw registers:\n"
158 " PEG_HALT_STATUS1: 0x%x, PEG_HALT_STATUS2: 0x%x,\n",
159 ha->
host_no, __func__, halt_status1, halt_status2);