lsscsi-0.15 released

2005-07-20 Thread Douglas Gilbert
lsscsi is a utility that uses sysfs in linux 2.6 series kernels to list information about all SCSI devices and SCSI hosts. Both a compact format (default) which is one line per device and a classic format (like the output of 'cat /proc/scsi/scsi') are supported. Some examples: $ lsscsi [0:0:0:0]

Re: [PATCH 22/82] remove linux/version.h from drivers/message/fus ion

2005-07-20 Thread Bernd Petrovitsch
On Tue, 2005-07-19 at 22:12 -0500, Matt Domsch wrote: On Tue, Jul 19, 2005 at 06:07:41PM -0600, Moore, Eric Dean wrote: [...] What you illustrated above is not going to work. If your doing #ifndef around a function, such as scsi_device_online, it's not going to compile when

Re: [PATCH 22/82] remove linux/version.h from drivers/message/fus ion

2005-07-20 Thread Matthew Wilcox
On Tue, Jul 19, 2005 at 10:12:49PM -0500, Matt Domsch wrote: What you illustrated above is not going to work. If your doing #ifndef around a function, such as scsi_device_online, it's not going to compile when scsi_device_online is already implemented in the kernel tree. The routine

Re: lsscsi-0.15 released

2005-07-20 Thread Martin Peschke3
Doug, Providing udev names is great. Makes it more user-frendly. Btw., what do you think about this idea: If lsscsi was enhanced to provide certain transport specific attributes, as well, then a user could easily look up the Linux device name of a logical unit that he otherwise knows by its

Re: [-mm patch] SCSI_QLA2ABC options must select FW_LOADER

2005-07-20 Thread Jesper Juhl
On 7/19/05, Adrian Bunk [EMAIL PROTECTED] wrote: [ The subject was adapted to linux-kernel spam filters... ] On Sat, Jul 16, 2005 at 07:26:44PM +0200, Jindrich Makovicka wrote: Andrew Vasquez wrote: Yes, quite. How about the following to correct the intention. Add correct

Re: [PATCH 22/82] remove linux/version.h from drivers/message/fus ion

2005-07-20 Thread Nathan Lynch
Matt Domsch wrote: On Tue, Jul 19, 2005 at 06:07:41PM -0600, Moore, Eric Dean wrote: On Tuesday, July 12, 2005 8:17 PM, Matt Domsch wrote: In general, this construct: -#if (LINUX_VERSION_CODE KERNEL_VERSION(2,6,6)) -static int inline scsi_device_online(struct scsi_device

Re: [PATCH 22/82] remove linux/version.h from drivers/message/fus ion

2005-07-20 Thread Nish Aravamudan
On 7/19/05, Moore, Eric Dean [EMAIL PROTECTED] wrote: On Tuesday, July 12, 2005 8:17 PM, Matt Domsch wrote: In general, this construct: -#if (LINUX_VERSION_CODE KERNEL_VERSION(2,6,6)) -static int inline scsi_device_online(struct scsi_device *sdev) -{ - return sdev-online;

Re: [PATCH 22/82] remove linux/version.h from drivers/message/fus ion

2005-07-20 Thread Matt Domsch
On Wed, Jul 20, 2005 at 12:54:09PM -0500, Nathan Lynch wrote: Matt Domsch wrote: On Tue, Jul 19, 2005 at 06:07:41PM -0600, Moore, Eric Dean wrote: On Tuesday, July 12, 2005 8:17 PM, Matt Domsch wrote: In general, this construct: -#if (LINUX_VERSION_CODE KERNEL_VERSION(2,6,6))