From: Douglas Gilbert <dougg@torque.net>
To: linux-scsi@vger.kernel.org
Subject: [PATCH+RFC] sg: char_devs + seq_file lk2.6.0t9
Date: Fri, 07 Nov 2003 15:57:32 +1000 [thread overview]
Message-ID: <3FAB344C.8040403@torque.net> (raw)
In-Reply-To: <3F86BF51.8000609@torque.net>
[-- Attachment #1: Type: text/plain, Size: 939 bytes --]
This is an updated patch for the sg driver that takes into
account Patrick LaVarre's fix for negative reserved buffer
sizes found in lk 2.6.0-test9.
So it has the same changelog to the patch I sent on 2003/10/11:
- add "struct cdev" [char_devs] objects to increase
maximum number of sg devices from 256 to 8192
- use seq_file interface for /proc/scsi/sg/*
pseudo files
- sysfs symlinks between the sysfs scsi device and the
corresponding sg cdev node (and vice versa)
An edited "tree" output showing an example of these symlinks
was included in my previous post.
As noted in another thread, st (and osst) may need "cdevs"
and sysfs symlinks so SCSI tape devices have sysfs visibility
in lk 2.6 .
Also if both st and sg had sysfs visibility then Patrick
Mansfield's scsi_id program could be made to work for tape
drives (enclosures, tape robots, etc) by following these
symlinks.
Doug Gilbert
[-- Attachment #2: sg260t9.diff.gz --]
[-- Type: application/x-gzip, Size: 6036 bytes --]
prev parent reply other threads:[~2003-11-07 9:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-07 10:35 [PATCH+RFC] sg: char_devs + seq_file lk2.6.0t6 Douglas Gilbert
2003-10-10 14:16 ` Douglas Gilbert
2003-11-07 5:57 ` Douglas Gilbert [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3FAB344C.8040403@torque.net \
--to=dougg@torque.net \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.