[Bug 25192] 3w-{9,x}xxx don't work on big-endian MIPS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=25192





--- Comment #6 from Adam Radford <aradford@xxxxxxxxx>  2010-12-19 17:49:10 ---
No need to add prints to twa_probe().  

In twa_poll_response(), just add this printk() and report the results:

response_queue.value = readl(TW_RESPONSE_QUEUE_REG_ADDR(tw_dev));

printk(KERN_WARNING "3w-9xxx: response_queue.value = 0x%x, request_id =
0x%x\n", response_queue.value, request_id);

response_request_id = TW_RESID_OUT(response_queue.response_id);
if (request_id != response_request_id) {
        TW_PRINTK(tw_dev->host, TW_DRIVER, 0x1e, "Found unexpected request id
while polling for response");
        goto out;
}

We call twa_empty_response_queue() before this to junk garbage responses in the
reigsters on power-up, so if we don't see anything even remotely close to the
correct response in response_queue.value, that will tell us a lot.

-Adam

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
--
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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux