summaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
authorDouglas Gilbert <dougg@torque.net>2002-08-13 23:54:08 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2002-08-13 23:54:08 -0500
commit2e0376aabc38f32620c2f52a7ac596ecd632f165 (patch)
treee89b41806ca9923b9aa6245b2c4ff62ca18b0eea /include/scsi
parent80e4e144134505f07319b4f6f1eef275f369912c (diff)
This version of sg for the lk 2.5 series re-adds direct IO
support using work done by Kai Makisara (on st driver, posted 2002/7/29). Changelog: Changes since 3.5.26 (20020708) - re-add direct IO using Kai Makisara's work - re-tab to 8, start using C99-isms - simplify memory management Like Kai's patch, this one needs kernel/ksyms.c altered to export get_user_pages(). Kai's worker routines st_map_user_pages() and st_unmap_user_pages() are duplicated as is. Hopefully these routines will find a home in a library soon. The re-tabbing makes the patches rather large so here are 2 urls: This tarball contains sg.h and sg.c http://www.torque.net/sg/p/sg3527.tgz This gzipped patch is against lk 2.5.31 and touches kernel/ksyms.c as well http://www.torque.net/sg/p/sg_3527_lk2531.diff.gz Testing is ongoing, everything works apart from "zero copy" copy. That uses mmap-ed IO on the read side and direct IO on the write side. Not too many people would be using that I suspect. Doug Gilbert
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/sg.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/scsi/sg.h b/include/scsi/sg.h
index 5d609266c70c..9ffc9f960c7e 100644
--- a/include/scsi/sg.h
+++ b/include/scsi/sg.h
@@ -11,9 +11,13 @@ Original driver (sg.h):
Version 2 and 3 extensions to driver:
* Copyright (C) 1998 - 2002 Douglas Gilbert
- Version: 3.5.26 (20020708)
+ Version: 3.5.27 (20020812)
This version is for 2.5 series kernels.
+ Changes since 3.5.26 (20020708)
+ - re-add direct IO using Kai Makisara's work
+ - re-tab to 8, start using C99-isms
+ - simplify memory management
Changes since 3.5.25 (20020504)
- driverfs additions
- copy_to/from_user() fixes [William Stinson]