Re: need help with sg ioctls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Mike,

On Thu, Feb 28, 2008 at 02:15:39PM -0600, Mike Christie wrote:
> Bernd Schubert wrote:
>> Hello,
>> for some reasons the kernel.org qla4xxx driver doesn't work for us. 
>> Version 5.01.00.08 seems to work a bit better, but all default sg-ioctl's 
>> are not defined.
>> Adding these manually as in scsi/sg.c works, but IMHO is rather stupid. Is 
>> there a sane way to call sg_ioctl()?
>> I mean it's static and also not exported and the file_operations ioctl 
>> method is already taken by the qla4xxx driver.
>
> Do you mean that with the driver from qlogic.com (or one of the distros) 
> you can do sg io to the qla4xxx driver, but with the kernel.org driver you 
> have to go through the sg (scsi/sg.c) driver?

I'm not sure about the in-kernel driver, as I was told by my boss it doesn't
work at all with the overland tape library.
And yes, with the driver from qlogic I *have* to do sg io through this driver.
But it only knows its own ioctls, but not the default sg-ioctls.
I'm now adding all these ioctls to the driver, but somehow I think it is 
ridiculous to this when these are already defined in scsi/sg.c.

Thanks,
Bernd
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux