explorer
f1947d6a44
add SDEV_NOLUNS for my scanner (UMAX S-6E)
1997-08-14 22:17:32 +00:00
fair
be20028837
trivial change for PR#3815
1997-08-04 07:16:49 +00:00
fair
cc7e70b188
%x -> 0x%x
1997-08-04 06:55:22 +00:00
pk
e3680b0e26
config.new => config
1997-07-20 20:33:08 +00:00
perry
797652981e
More CD quirks, from Dave Huang (pr-3843)
1997-07-17 00:46:50 +00:00
cgd
6ac982f2a0
mark prototypes for static inline functions as possibly unused (with
...
__attribute__ ((unused))), to avoid generating warnings when compiling
without optimization but with most ports' default warning flags.
1997-07-07 22:45:34 +00:00
phil
a8597d8143
Report actual disksize on finding a disk.
...
(From: der Mouse <mouse@Rodents.Montreal.QC.CA>)
1997-07-02 03:51:25 +00:00
thorpej
84166e5151
foosize()'s return value is in DEV_BSIZE units; adjust the size obtained
...
from the disklabel accordingly.
1997-06-24 00:28:36 +00:00
pk
8303adf18a
sdsize(): only call sdopen()/sdclose() if not already open, per the
...
current openmask.
1997-06-18 20:38:59 +00:00
matthias
8033e010bd
In case of a SCSI-error print the extended sense information and not
...
some sort of random garbage.
1997-06-09 19:36:56 +00:00
mycroft
103c7d360d
Oops; forgot to GC the last mbuf allocated when out of clusters.
1997-04-28 17:03:58 +00:00
augustss
81a10d7725
Don't require that a device is open for writing to perform a raw
...
SCSI command that just reads.
1997-04-26 22:24:46 +00:00
mycroft
91a808523c
Fix typo in previous.
1997-04-24 08:05:13 +00:00
mycroft
b65e62c6c4
If we fail to allocate a cluster to hold a large packet, simply
...
drop it rather than using a chain of tiny mbufs.
Do not force the initial part of a packet into a separate mbuf.
1997-04-24 02:36:46 +00:00
mycroft
db2332eb26
Another silly CD-ROM drive...
1997-04-24 00:49:14 +00:00
thorpej
6102bc8ec2
And Yet Another Broken IBM disk (the 664 this time), once again
...
reported by Hubert Feyrer <feyrer@grizu.fh-regensburg.de>.
1997-04-20 01:30:30 +00:00
thorpej
f9bc642a6d
Add Yet Another Broken IBM disk to the SDEV_AUTOSAVE list. This one
...
doesn't report a vendor string (yuck)!. Problem reported by
Hubert Feyrer <feyrer@grizu.fh-regensburg.de>.
1997-04-20 00:55:05 +00:00
pk
f2c53e4c3d
Two more quirks:
...
Python 28454-XXX tape drive: NOLUNS
1588-15MBSUN0669 disk: AUTOSAVE
1997-04-19 21:32:37 +00:00
scottr
63d11b7577
Add another IBM disk that needs SDEV_AUTOSAVE.
1997-04-08 17:35:06 +00:00
matthias
470e2a9983
* Do some KNFing.
...
* Make all local functions static.
* Add some untested netatalk support.
1997-04-04 19:02:43 +00:00
mycroft
6d3685ab6c
Add a SDEV_AUTOSAVE quirk for the Emulex SCSI<->ESDI bridge.
1997-04-02 02:36:02 +00:00
mycroft
aca1dae3c4
Push the buffer cleanup code into scsi_done(), and split it so that biodone()
...
is called *after* the driver `done' routine. This fixes disk I/O statistics
on SCSI devices.
Also, calling the `done' routine with a `complete' argument of 0 and actually
having it do anything meaningful loses in at least 3 ways, so just nuke the
argument altogether and don't call it this way. If the driver needs to do
some error handling, that's what `err_handler' is for.
1997-04-02 02:29:30 +00:00
mikel
df25ccca49
loosen the version number check in the quirk list for the CDR-H98MV;
...
from Koji Imada in PR kern/3419.
1997-04-01 04:05:03 +00:00
christos
4c29beee46
PR/3409: Koji Imada: cdsize() timeout too short for cd changers.
1997-03-29 21:37:55 +00:00
scottr
1cc0fb9b24
Add SDEV_AUTOSAVE quirks for IBM 0663H{08,12} disks
1997-03-27 07:37:54 +00:00
scottr
757d4ce5d4
Add SDEV_NOLUNS quirk for Seagate ST125N.
1997-03-25 22:33:50 +00:00
thorpej
24840394af
Fix a screwup (my fault, oops) that caused the stack to get corrupted.
...
From Ian Dall <Ian.Dall@dsto.defence.gov.au> on port-pc532.
1997-03-24 00:04:53 +00:00
matthias
c796ad8010
Add missing arp tag for se driver.
1997-03-21 08:55:09 +00:00
thorpej
21c7befacf
Back out part of the previous patch - not only does stuffing a sizeof()
...
into 8 bits generate (bogus) warnings on some architectures, but the
change to pad on "scsi inquiry" is no longer needed, apparently.
Thanks to Matthias Pfaller for pointing the latter out to me.
1997-03-20 07:13:07 +00:00
cgd
5b1c90b820
add appropriate includes so that this deals properly with NS and CCITT+LLC.
...
(Includes stolen from dev/ic/am7990.c, because it's a (the?) canonical
networking hardware driver.)
1997-03-18 04:45:04 +00:00
thorpej
f94626f157
Driver for the Cabletron EA41x SCSI Ethernet Adaptor, written by
...
Ian Dall <ian.dall@dsto.defence.gov.au>. Converted to "new arp"
and some other (very) minor changes by me.
1997-03-18 01:31:15 +00:00
thorpej
8c465535e7
Two changes from Ian Dall <ian.dall@dsto.defence.gov.au>:
...
- Deal with devices that ignore the length specified in the
inquiry command.
- Allow asynchronous requests without using a buf (key off NOSLEEP instead).
1997-03-18 01:28:10 +00:00
mikel
877fe66c4e
SDEV_NOMODESENSE quirks are no longer needed for optical devices; from
...
Enami Tsugutomo in PR kern/3308.
1997-03-11 06:06:35 +00:00
mikel
4a6b41b8fe
garbage collect unused variable (was this struct declaration orginally
...
a typedef?); from Enami Tsugutomo in PR kern/3282.
1997-03-04 06:25:22 +00:00
thorpej
15b56daab6
If posting an error condition because the media has been unloaded,
...
make sure to set the residual count to reflect that no data was
transfered.
From Naofumi HONDA / MINOURA Makoto, PR #3007 .
1997-02-21 23:03:25 +00:00
thorpej
850b75414f
- Tidy up some printf code in chattach().
...
- Implement a simple quirks framework for changers.
- Add a quirk for the Spectra 9000 8mm tape library; it requires a
slightly-longer-than-1-minute delay to take tape inventory. Many
thanks to David Webster at Cygnus Solutions for testing this for me.
1997-02-21 22:06:52 +00:00
thorpej
625d310b1b
Handle optical disks a little better, from Naofumi HONDA / MINOURA Makoto
...
in PR #3009 , with some slight KNF from me.
1997-02-21 21:51:59 +00:00
jeremy
2eff5a6059
Fix typo in comment.
1997-02-21 07:14:21 +00:00
cgd
c05e715a52
kill use of strchr(); it's moving to libkern
1997-01-18 02:18:47 +00:00
cgd
73f996ef33
note in a comment (XXX) that strchr() (what's it doing here, anyway?)
...
causes 'const' to be discarded.
1996-12-22 10:35:08 +00:00
mycroft
e1a87dc790
Make sure to initialize the memory we just allocated.
1996-12-14 10:50:32 +00:00
thorpej
f113ac70dd
Add a "max_target" member to struct scsi_link, which is filled in by
...
host adapter drivers, indicating the highest SCSI target they can
address. Use this value to dynamically allocate data structures, rather
than hard-coding 8 targets.
These changes allow targets > 7 to be addressed on wide SCSI busses.
Fixes PRs #1674 and #2892 .
1996-12-10 21:06:29 +00:00
cgd
ea0c7b4423
update these so they compile whether or not __BROKEN_INDIRECT_CONFIG
...
is defined.
1996-12-05 01:06:39 +00:00
thorpej
3ae1a191dc
Recognize the HP ScanJet 4p, per PR #2663 (Kenneth Stailey).
1996-12-03 01:25:53 +00:00
thorpej
40611b811f
Start a mode sense with a clean sense buffer.
...
Fixes PR #2953 , from David M. Stanhope <dms@celtech.com>.
1996-11-29 19:58:40 +00:00
thorpej
f3c0cc95a1
Add an inquiry pattern for the HP ScanJet 4p.
...
From Valtteri Vuorikoski <vuori@notcom.org>, PR #2957 .
1996-11-29 19:53:32 +00:00
thorpej
f6ffe73a99
Add Yet Another Broken CD-ROM Drive to The List.
...
From Lennart Augustsson <augustss@cs.chalmers.se>, PR #2971 .
1996-11-29 19:51:14 +00:00
explorer
f0873310e2
Another quirky cdrom drive ; pr kern/2917
1996-11-08 05:06:55 +00:00
mikel
19bb57bc5a
Add another broken CDROM. Fixes PR kern/2913.
...
Some misc. cleanup.
1996-11-06 05:50:31 +00:00
matthias
c53ad1988a
* At least the Teac FC-1 Shugart-SCSI bridgeboard does motor on/off
...
management by itself. But when it gets a start unit request, it keeps
the floppy motor running all the time. This adds code for dealing with
yet another quirk (SDEV_NOSTARTUNIT) that prevents sd.c from sending
start unit requests. A entry for the Teac FC-1 is added to the quirk
table.
1996-10-23 07:25:39 +00:00