diff options
| author | James Bottomley <jejb@mulgrave.(none)> | 2004-12-18 22:01:12 -0600 |
|---|---|---|
| committer | James Bottomley <jejb@mulgrave.(none)> | 2004-12-18 22:01:12 -0600 |
| commit | 5a0cd4a7007fdc09f3bf3b2f6f3e44de8c3849a3 (patch) | |
| tree | f67e1c12f7313e81a075bf95da78aa3e32f7bbeb /include | |
| parent | f562acb87d2330309d63161058e1e00d2a24c376 (diff) | |
SCSI: Add basic infrastructure for transport host statistics
From: James.Smart@Emulex.Com
This patch adds the basic hooks to the scsi subsystem to
support transport-specific statistics to be added to a host.
Its basic nature follows the way in which net devices showed
their statistics.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/scsi/scsi_transport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/scsi_transport.h b/include/scsi/scsi_transport.h index a70035109412..705e9ef3cae8 100644 --- a/include/scsi/scsi_transport.h +++ b/include/scsi/scsi_transport.h @@ -33,6 +33,7 @@ struct scsi_transport_template { struct class *device_class; struct class *target_class; struct class *host_class; + struct attribute_group *host_statistics; /* Constructor functions */ int (*device_setup)(struct scsi_device *); |
