mycroft
89f8e05c10
Trim NULs, in addition to spaces, in scsi_strvis().
1995-12-11 04:43:01 +00:00
thorpej
1cd2ca323b
Remove a couple of now unneeded assignments.
1995-12-07 21:54:24 +00:00
thorpej
b6c6d46a82
In sdminphys(), add a comment about the semantics of the "length" field
...
in a 6-byte read/write cdb (namely, length == 0 really means 256), and
that we handle this conservatively by limiting the transfer to 255 blocks.
*sigh* One just never knows how a pre-scsi-1 device is going to behave.
1995-12-07 19:46:00 +00:00
thorpej
c9895db015
In both cd.c and sd.c:
...
If the read or write request can fit into a 6-byte cdb, then
use a 6-byte cdb, otherwise use the 10-byte as before.
In sd.c:
In sdattach(), make a note if the device is "ancient" (i.e.
inqbuf.version & SID_ANSII == 0).
Implement sdminphys(): if the device is "ancient", shorten the
transfer so it will fit into a 6-byte cdb.
These changes have eliminated the rejected read/write requests on my
Sun 3/60 with 2 ESDI disks behind an Emulex MD21.
1995-12-07 19:11:32 +00:00
pk
7a7ca00077
Add quirk for Exabyte 8200/rev. 263H (from Paul Goyette; PR#1797).
1995-11-30 10:12:04 +00:00
mycroft
fbecb8d22b
Remove the gratuitous code to check for a disc at boot time.
1995-11-11 20:07:57 +00:00
pk
8d78a257c0
More rogues.
1995-11-01 01:15:07 +00:00
thorpej
cbef9e5129
Add missing spindle synch control, rotational offset, and RPM members
...
to the rigid geometry mode page. These missing members are at the
end of the page, in space wich was previously marked "reserved".
1995-10-15 23:32:02 +00:00
gwr
444e2789c6
Add quirk entries for Wangtek SCSI tapes. Also, add entry for
...
Tandberg 3800 (fixes PR#1592 - from Jochen Pohl).
1995-10-13 20:01:03 +00:00
mycroft
92221a1399
Return EINVAL if something other than a whole number of blocks is requested.
1995-10-10 02:52:56 +00:00
pk
db0107b895
Specify SCSI_DATA_OUT in sddump() (from John Kohl; PR#1482).
1995-09-30 22:57:19 +00:00
thorpej
b93138b93d
Add another broken NEC CD-ROM drive to The List. Fixes PR #1451 .
1995-09-26 23:37:50 +00:00
thorpej
249cddaaa7
Don't declare Debugger(). It's handled in <sys/systm.h>.
...
#include <sys/systm.h> where necessary, as suggested by Jonathan Stone.
Fixes PR #1511 .
1995-09-26 19:26:48 +00:00
pk
d9e37f2bc7
Set the scsi link before calling config_attach(), so target/lun info is
...
available to, say, dk_establish().
1995-08-21 09:30:09 +00:00
briggs
3560df43af
CHINON CDS-535 version Q117 also needs NOLUNS. Assume all 535s do.
1995-08-14 13:01:42 +00:00
briggs
19f3c3099f
Another SDEV_NOLUNS device from paul@pgoyette.bdt.com (Paul Goyette).
1995-08-13 17:48:57 +00:00
mycroft
8887de9230
opri --> s
1995-08-12 22:58:01 +00:00
mycroft
8a9880e714
Fix oversight in previous.
1995-08-12 21:36:46 +00:00
mycroft
80d7b0695a
minphys() functions really should return void.
1995-08-12 20:30:45 +00:00
mycroft
92637a6d42
Add another Seagate disk to the list, and make all the disks match any
...
firmware revision.
1995-08-06 00:04:00 +00:00
mycroft
24a5e56396
Use an intermediate variable to shorten label initialization code.
1995-08-05 23:47:52 +00:00
cgd
d8e7ea659c
restore a deleted semicolon
1995-07-24 09:03:00 +00:00
cgd
4d0bd10d53
kill structure offest comments in non-fixed-size structures.
...
In some of our worlds, pointers just Aren't 4 bytes.
1995-07-24 07:08:14 +00:00
cgd
3301cf82fd
update SCSI minphys routines' definitions to match standard minphys()
...
definition and usage.
1995-07-24 06:55:37 +00:00
cgd
0b469d4a12
add/change a few quirks:
...
(1) all Chinon CDS-431 CD-ROMs (regardless of revision)
are forced to only having LUN 0, at the suggestion
of Michael Hitch.
(2) _force_ searching of extra LUNs for the Emulex MD21/S2
ESDI bridge. It's pre-SCSI 1, but knows about LUNs.
"amazing." From Jason Thorpe.
(3) recognize an Emulex tape adapter in front of a QIC-36
tape, and have it forced to only LUN 0. This is
an odd one; vendor, name, and rev strings are all
spaces. Anything that mathes this is very likely
broken, anyway, so might as well give it a shot.
Again from Jason Thorpe.
1995-07-12 09:56:09 +00:00
cgd
d8fe81c04c
implement SDEV_FORCELUNS flag, as suggested by Jason Thorpe.
1995-07-12 09:43:29 +00:00
cgd
f60db5f02a
add a SDEV_FORCELUNS flag, as suggested by Jason Thorpe, to force
...
the SCSI code to look for LUNs on prehistoric (pre-SCSI 1) drives &
controllers, where normally it would not.
1995-07-12 09:42:00 +00:00
cgd
5b671ea6a8
Morningstar SnapLink -> SDEV_NOLUNS, per Peter Galbavy in pr 1192.
1995-07-09 09:44:57 +00:00
cgd
21b6db23b7
play the alphabetization game
1995-07-09 09:43:07 +00:00
cgd
5a5eb678c9
QUANTUM P105S 910-10-94x A.3 -> SDEV_NOLUNS
1995-07-09 09:30:42 +00:00
mycroft
7263209ce6
Make each disk and tape driver define its own read and write functions.
...
Deprecate rawread() and rawwrite() completely. Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
cgd
1c5d265cad
another CD-ROM quirk, a la PR 1166
1995-06-27 20:42:45 +00:00
cgd
2a8d6461a8
implement new-style block device dump routine if __BDEVSW_DUMP_OLD_TYPE
...
not defined, otherwise use an "not implemented" stub.
1995-06-26 05:16:55 +00:00
cgd
d093e5d8b8
make dump stubs consistent
1995-06-26 05:15:33 +00:00
cgd
d8264613c8
add entry for another tweaked Texel CD-ROM. from pr 1151
1995-06-24 01:22:30 +00:00
mycroft
6664ae1ddd
Add another CD-ROM drive to The List.
1995-06-18 05:13:09 +00:00
pk
7d18c2534d
Add `Maxtor LXT-213S', this time without a Sun OEM addition.
1995-06-02 21:44:11 +00:00
mycroft
03f102b969
Remove a bunch of stuff which is outdated and/or doesn't belong here.
1995-06-02 14:04:36 +00:00
cgd
011aa68805
looks like some extra ')'s were left in here.
1995-05-03 21:38:57 +00:00
mycroft
1d2f0bce2a
Make the byte-shifting code consistent.
1995-05-03 19:38:45 +00:00
cgd
224a7f4533
config.new description of SCSI mi files.
1995-04-17 07:15:40 +00:00
mycroft
04e937dcbd
Don't boundary check I/O to the `raw' partition.
1995-04-15 05:01:26 +00:00
mycroft
68c8c80929
kernel_pmap --> pmap_kernel()
1995-04-10 16:48:27 +00:00
mycroft
3836533fc6
Add another broken CD-ROM drive to The List.
1995-04-04 05:44:32 +00:00
mycroft
7e2dabf972
Add a missing unlock.
1995-04-01 10:29:41 +00:00
mycroft
1d568eab9a
Revamp the locking mechanism slightly.
1995-03-29 23:04:39 +00:00
mycroft
b51403f60d
Remove the write protect check altogether, and rely on the drive to do it.
1995-03-25 19:45:18 +00:00
mycroft
12a1b9ad67
Add a rogue entry for the ANRITSU DMT780.
1995-03-25 18:41:42 +00:00
glass
911fbf48fa
fix syntax error. Andreas Gustafsson <gson@clinet.fi>
1995-03-24 20:17:15 +00:00
mycroft
990077ba88
Don't bother with DIOCWLABEL.
1995-03-23 12:13:37 +00:00