• Andrew Patterson's avatar
    cciss: add cciss driver sysfs entries · 7fe06326
    Andrew Patterson authored
    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: default avatarMike Miller <mike.miller@hp.com>
    Cc: Stephen M. Cameron <scameron@beardog.cca.cpqcorp.net>
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    7fe06326
sysfs-bus-pci-devices-cciss 1.05 KB