Commit 4b11b184 authored by Douglas Gilbert's avatar Douglas Gilbert Committed by Trond Myklebust

[PATCH] sg driver against lk 2.5.25

This patch is against lk 2.5.25 . It
  - fixes copy_from/to_user() [William Stinson from dj tree]
  - disables kiobuf use, so it will compile without kiobufs

The latter change is so Andrew Morton can remove kiobufs
as suggested in his "direct-to-BIO for O_DIRECT" thread.
parent 44a88f1c
This diff is collapsed.
...@@ -11,24 +11,15 @@ Original driver (sg.h): ...@@ -11,24 +11,15 @@ Original driver (sg.h):
Version 2 and 3 extensions to driver: Version 2 and 3 extensions to driver:
* Copyright (C) 1998 - 2002 Douglas Gilbert * Copyright (C) 1998 - 2002 Douglas Gilbert
Version: 3.5.25 (20020504) Version: 3.5.26 (20020708)
This version is for 2.5 series kernels. This version is for 2.5 series kernels.
Changes since 3.5.24 (20020319) Changes since 3.5.25 (20020504)
- off by one fix for last scatter gather element - driverfs additions
- if possible compact kiobuf_map into scatter gather list - copy_to/from_user() fixes [William Stinson]
- use Scsi_Request::upper_private_data - disable kiobufs support
- zero buffers for non-root users
Changes since 3.5.23 (20011231) For a full changelog see http://www.torque.net/sg
- change EACCES to EPERM when O_RDONLY is insufficient
- suppress newlines in host string
- fix xfer direction, old interface, short reply_len [Travers Carter]
Changes since 3.1.22 (20011208)
- branch sg driver for lk 2.5 series
- remove lock_kernel() from sg_close()
- remove code based on scsi mid level dma pool
- change scatterlist 'address' to use page + offset
- add SG_INTERFACE_ID_ORIG
Map of SG verions to the Linux kernels in which they appear: Map of SG verions to the Linux kernels in which they appear:
---------- ---------------------------------- ---------- ----------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment