* [andrew.patterson@hp.com: [PATCH v6] cciss: add cciss driver sysfs entries]
@ 2009-05-29 14:55 Mike Miller (OS Dev)
2009-06-02 12:49 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Mike Miller (OS Dev) @ 2009-05-29 14:55 UTC (permalink / raw)
To: Andrew Morton, Jens Axboe; +Cc: LKML, LKML-SCSI
I fat fingered Andrew & Jens' addresses. Sorry for nay duplicates.
----- Forwarded message from Andrew Patterson <andrew.patterson@hp.com> -----
Date: Mon, 13 Apr 2009 10:45:25 -0600
From: Andrew Patterson <andrew.patterson@hp.com>
To: mikem@beardog.cca.cpqcorp.net
Cc: gerry.morong@hp.com, andrew.patterson@hp.com,
scameron@beardog.cca.cpqcorp.net, scott.benesh@hp.com
Subject: [PATCH v6] cciss: add cciss driver sysfs entries
This is version six of my patch to add sysfs entries to the cciss driver.
Changelog:
Version 3
Got rid of /sys/class/cciss_* entries. Now only show vendor, model,
rev, and unique_id at /sys/bus/pci/devices/ccissX/cXdY. Where X is the
controller nubmer and Y is the logical drive number.
Fixed a double memcpy of the serial number.
Documented new sysfs entries in
Documentation/ABI/testing/sysfs-bus-pci-devices-cciss
Fixed tabs in Documentation/ABI/testing/sysfs-bus-pci-devices-cciss
Removed unneeded device_attribute release functions
Fixed pahole-reported holes.
Version 4
Moved cciss_sysfs.c into cciss.c
Added cciss_bus_type to logical drive so we get /sys/bus/cciss/device/ccissX.
Version 5
Added cciss_bus_type to hba so we get /sys/bus/cciss/device/cYdZ.
Version 6
Use "sizeof() + 1" instead of "*LEN + 2" for *_show() routines.
Added back in ABI docs.
The following patch adds sysfs entries for the cciss driver. It adds
vendor, model, rev, and unique_id under /sys/block/cciss!c#d#/device
needed for RedHat BZ:
https://bugzilla.redhat.com/show_bug.cgi?id=484419
This patch is based off os linus's 2.6 tree (2.6.30-rc1).
.../ABI/testing/sysfs-bus-pci-devices-cciss | 33 ++
drivers/block/cciss.c | 267 ++++++++++++++++++++
drivers/block/cciss.h | 24 +-
3 files changed, 314 insertions(+), 10 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-bus-pci-devices-cciss
--
Andrew Patterson
----- End forwarded message -----
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [andrew.patterson@hp.com: [PATCH v6] cciss: add cciss driver sysfs entries]
2009-05-29 14:55 [andrew.patterson@hp.com: [PATCH v6] cciss: add cciss driver sysfs entries] Mike Miller (OS Dev)
@ 2009-06-02 12:49 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2009-06-02 12:49 UTC (permalink / raw)
To: Mike Miller (OS Dev); +Cc: Andrew Morton, LKML, LKML-SCSI
On Fri, May 29 2009, Mike Miller (OS Dev) wrote:
> I fat fingered Andrew & Jens' addresses. Sorry for nay duplicates.
Applied, along with the other pending cciss patches.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-02 12:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-29 14:55 [andrew.patterson@hp.com: [PATCH v6] cciss: add cciss driver sysfs entries] Mike Miller (OS Dev)
2009-06-02 12:49 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).