Re: newbie driver question

From: Erik Mouw
Date: Wed Jan 21 2004 - 05:17:18 EST


On Wed, Jan 21, 2004 at 05:33:10AM +0000, keirwu pk wrote:
> what is the best way to write scsi driver for a scsi device?.got latest
> kernel.
> any examples, sources. what are typical library calls?. sg-Howto would
> help?.

The sg interface is all you need to write a driver for some kind of
exotic scsi device. Everything is handled in userland, no need to do it
in kernel. That's how scsi scanners and cd writers are handled.
The scsi-generic howto tells you how to use it, it even has programming
examples.


Erik

--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/