[parisc-linux] [RFC]: rename ncr53c8xx to 53c720? [Was: D380 and ext[23] fs grave pb]
James Bottomley
James.Bottomley at SteelEye.com
Tue Sep 12 14:05:59 MDT 2006
On Tue, 2006-09-12 at 19:01 +0000, Joel Soete wrote:
> ncr53c720-0: rev 0xf irq 66
> ncr53c720-0: ID 7, Fast-10, Parity Checking, Differential
OK, that's not the chip revision, that's some random version made up by
the wrapper driver. Try this, it should pull the chip revision level
out of the actual device.
James
diff --git a/drivers/scsi/ncr53c8xx.c b/drivers/scsi/ncr53c8xx.c
index b28712d..555e31a 100644
--- a/drivers/scsi/ncr53c8xx.c
+++ b/drivers/scsi/ncr53c8xx.c
@@ -4004,8 +4004,8 @@ #endif /* SCSI_NCR_TRUST_BIOS_SETTING */
** Announce all that stuff to user.
*/
- printk(KERN_INFO "%s: ID %d, Fast-%d%s%s\n", ncr_name(np),
- np->myaddr,
+ printk(KERN_INFO "%s: ID %d, chip rev %d Fast-%d%s%s\n", ncr_name(np),
+ np->myaddr, INB(nc_ctest3) >> 4,
np->minsync < 12 ? 40 : (np->minsync < 25 ? 20 : 10),
(np->rv_scntl0 & 0xa) ? ", Parity Checking" : ", NO Parity",
(np->rv_stest2 & 0x20) ? ", Differential" : "");
More information about the parisc-linux
mailing list