Christoph Hellwig wrote:
On Wed, Jul 13, 2005 at 04:46:54PM -0700, Patrick Mansfield wrote:
Add or use the attributes under the scsi_device, then use the
/sysfs/block/sd/device symlink to find the corresponding scsi_device.
yupp, the /sys/block/* attributes are really only meant to be for
On Tue, Jul 12, 2005 at 05:38:19PM -0700, Edward Falk wrote:
Hi all; what's the proper way to get the scsi_device structure from a
gendisk structure?
No.
sd.c uses pointers through scsi_disk, but that
structure is private to sd.c. Will I need to add an access function in
sd.c or
You should revisit your code to not need access to the scsi_device
structure, and follow the layering of the block and scsi subsystems.
Maybe I should explain what I'm trying to do here.
Some of our software reads some of the values in /proc/ide/hda/. We're
porting this facility to
On Wed, Jul 13, 2005 at 11:44:34AM -0700, Edward Falk wrote:
You should revisit your code to not need access to the scsi_device
structure, and follow the layering of the block and scsi subsystems.
Maybe I should explain what I'm trying to do here.
Some of our software reads some of the
Hi all; what's the proper way to get the scsi_device structure from a
gendisk structure? sd.c uses pointers through scsi_disk, but that
structure is private to sd.c. Will I need to add an access function in
sd.c or something?
-ed falk, [EMAIL PROTECTED]
-
To unsubscribe from this list:
Edward Falk wrote on Tuesday, July 12, 2005 5:38 PM
Hi all; what's the proper way to get the scsi_device structure from a
gendisk structure? sd.c uses pointers through scsi_disk, but that
structure is private to sd.c. Will I need to add an access function in
sd.c or something?
If you are
6 matches
Mail list logo