* [PATCH] set proc_name in aic94xx
@ 2006-08-05 21:48 Darrick J. Wong
0 siblings, 0 replies; only message in thread
From: Darrick J. Wong @ 2006-08-05 21:48 UTC (permalink / raw)
To: linux-scsi
Hi,
Here's a patch to set proc_name in the aic94xx driver so that
/sys/class/scsi_host/*/proc_name displays something more
useful than "(NULL)".
--D
Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
diff --git a/drivers/scsi/aic94xx/aic94xx_init.c b/drivers/scsi/aic94xx/aic94xx_init.c
index 3ec2e46..3cd8553 100644
--- a/drivers/scsi/aic94xx/aic94xx_init.c
+++ b/drivers/scsi/aic94xx/aic94xx_init.c
@@ -63,6 +63,7 @@ static struct scsi_host_template aic94xx
.module = THIS_MODULE,
/* .name is initialized */
.name = "aic94xx",
+ .proc_name = "aic94xx",
.queuecommand = sas_queuecommand,
.target_alloc = sas_target_alloc,
.slave_configure = sas_slave_configure,
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2006-08-05 21:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-05 21:48 [PATCH] set proc_name in aic94xx Darrick J. Wong
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.