lkml.org 
[lkml]   [2004]   [Jan]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 21 Jan 2004 11:15:30 +0100
FromErik Mouw <>
SubjectRe: newbie driver question
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:00    [W:0.310 / U:0.210 seconds]
©2003-2008 Jasper Spaans