diff options
author | Andrew Patterson <andrew.patterson@hp.com> | 2009-06-02 14:48:39 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-06-02 14:48:39 +0200 |
commit | 7fe063268e73681cdca1a6496a25f93d3332f517 (patch) | |
tree | 97c9b5f53012908343af83c481c0b8fad888690e /drivers/block/ida_ioctl.h | |
parent | 88f627ae394eadd75ada669904269f1a4a77b3bd (diff) |
cciss: add cciss driver sysfs entries
Add sysfs entries to the cciss driver needed for the dm/multipath tools.
A file for vendor, model, rev, and unique_id is added for each logical
drive under directory /sys/bus/pci/devices/<dev>/ccissX/cXdY. Where X =
the controller (or host) number and Y is the logical drive number.
A link from /sys/bus/pci/devices/<dev>/ccissX/cXdY/block:cciss!cXdY to
/sys/block/cciss!cXdY/device is also created. A bus is created in
/sys/bus/cciss. A link is created from the pci ccissX entry to
/sys/bus/cciss/devices/ccissX. Please consider this for inclusion.
Signed-off-by: Mike Miller <mike.miller@hp.com>
Cc: Stephen M. Cameron <scameron@beardog.cca.cpqcorp.net>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block/ida_ioctl.h')
0 files changed, 0 insertions, 0 deletions