patch-2.3.35 linux/drivers/scsi/pluto.c
Next file: linux/drivers/scsi/qlogicisp.c
Previous file: linux/drivers/scsi/hosts.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Dec 20 22:06:42 1999
- Orig file:
v2.3.34/linux/drivers/scsi/pluto.c
- Orig date:
Thu Nov 11 20:11:48 1999
diff -u --recursive --new-file v2.3.34/linux/drivers/scsi/pluto.c linux/drivers/scsi/pluto.c
@@ -287,12 +287,16 @@
const char *pluto_info(struct Scsi_Host *host)
{
- static char buf[80];
+ static char buf[128], *p;
struct pluto *pluto = (struct pluto *) host->hostdata;
sprintf(buf, "SUN SparcSTORAGE Array %s fw %s serial %s %dx%d on %s",
pluto->rev_str, pluto->fw_rev_str, pluto->serial_str,
host->max_channel, host->max_id, pluto->fc->name);
+#ifdef __sparc__
+ p = strchr(buf, 0);
+ sprintf(p, " PROM node %x", pluto->fc->dev->prom_node);
+#endif
return buf;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)