pk
ca07d14b0f
Add SDEV_NOLUNS to another CD-ROM player.
1997-09-09 21:56:01 +00:00
bouyer
6f3bab1f59
Merge scsipi branch in the mainline. This add support for ATAPI devices
...
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
1997-08-27 11:22:52 +00:00
mjacob
4aa2f7013c
A few more SDEV_NOLUNS entries- one tape drive (SONY Beta/VHS) and a couple
...
of PCMCIA card readers (one as T_DIRECT, the other as T_PROCESSOR).
1997-08-17 16:25:11 +00:00
mjacob
ee328c6f18
This fibre channel disk doesn't support the geometry page.
1997-08-16 01:05:51 +00:00
explorer
f1947d6a44
add SDEV_NOLUNS for my scanner (UMAX S-6E)
1997-08-14 22:17:32 +00:00
perry
797652981e
More CD quirks, from Dave Huang (pr-3843)
1997-07-17 00:46:50 +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
mycroft
6d3685ab6c
Add a SDEV_AUTOSAVE quirk for the Emulex SCSI<->ESDI bridge.
1997-04-02 02:36:02 +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
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
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
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
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
explorer
efccf77947
Add quirk entries for two more optical drives; closes pr kern/2861
1996-10-18 17:22:17 +00:00
christos
9a2c8cf28c
revert previous kprintf change
1996-10-12 23:23:13 +00:00
christos
9beb92aad7
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:32:59 +00:00
thorpej
f60341a382
Store the SCSI version in the scsi_link, and set the LUN in the CDB
...
if the version is <= SCSI-2. This should help some older SCSI
devices that previously needed the "NOLUNS" quirk. While this is
not strictly necessary on SCSI-2 devices, the spec allows it,
so we set it for SCSI-2 devices "just in case". See section 7.2.2 of
Draft X3T9.2 Rev 10L for details.
1996-09-03 18:20:31 +00:00
cgd
11ec3588ad
(1) add a 'channel' field to scsi_link.
...
(2) in scsibusmatch, match channel as appropriate.
(3) add a scsiprint() function, to do the "scsibus at..."
and channel (if not SCSI_CHANNEL_ONLY_ONE) printing,
i.e. the common functionality that all SCSI drivers currently
should be doing.
1996-08-28 18:47:51 +00:00
cgd
2a73ef60b7
change cfprint_t type definition to take a const char *, rather than
...
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
1996-08-27 21:53:46 +00:00
thorpej
27e2d3eee3
Match any Maxtor XT-8760S for the SDEV_NOLUNS quirk. Some of these
...
drives carry Sun OEM identifiers, as well.
Noticed by Taras Ivanenko <ivanenko@ctpa03.mit.edu>.
1996-07-24 20:50:23 +00:00
explorer
228f4739ce
add ZIP quirk for SDEV_NOMODESENSE
1996-07-05 21:58:04 +00:00
christos
7e1c82f6f4
- Apply PR/2535: Add support for flex scsi disks.
...
- Add a quirk called SCSI_NOMODESENSE for drives like the iomega jaz,
that don't support mode sense.
1996-07-05 16:19:02 +00:00
neil
c4b8477b78
Added another quirked SCSI device, re PR 2320 from Manuel Bouyer
1996-05-02 01:09:01 +00:00
christos
ffd5576439
remove include of <sys/cpu.h>
1996-04-22 01:44:31 +00:00
scottr
3166ff9f2f
Add a SDEV_NOLUNS quirk for the Epson OMD-5010 removable MO cartridge drive.
1996-03-21 03:29:40 +00:00
hpeyerl
9785218963
Fix for NEC D3847 1.6gB drive which reported itself at lun[1-7].
1996-03-18 16:19:58 +00:00
thorpej
532e997971
New device attachment scheme:
...
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
1996-03-17 00:57:14 +00:00
thorpej
8f4177ba60
Add another broken drive that doesn't deal with LUNs properly to The List.
...
Fixes PR 1961, from Kevin P. Neal.
1996-03-05 01:45:42 +00:00
thorpej
a8573feb51
Normalize SCSI autoconfiguration output.
...
From Chris Demetriou <cgd@NetBSD.ORG>. Fixes PR #1958 .
1996-03-05 00:15:09 +00:00
mycroft
ad355be572
Add a SDEV_AUTOSAVE quirk for the DEC RZ55.
1996-02-22 23:37:27 +00:00
mycroft
294879d4ee
Add SCSI scanner support by Kenneth Stailey and Joachim Koenig-Baltes,
...
hacked a bit. Needs more work.
1996-02-18 20:32:40 +00:00
christos
0bc63f486d
scsi prototypes
1996-02-14 21:46:52 +00:00
pk
59dd89e3b1
LUN deficient device: Tandberg 3600 (Ken Raeburn; PR#1933).
1996-01-12 11:32:37 +00:00
thorpej
19c3f6d999
Add another broken CD-ROM drive to The List (Chinon CDS-525), per PR #1686 .
...
From Kortelainen Mika <k125374@cs.tut.fi>.
1995-12-31 02:40:53 +00:00
mycroft
89f8e05c10
Trim NULs, in addition to spaces, in scsi_strvis().
1995-12-11 04:43:01 +00:00
pk
8d78a257c0
More rogues.
1995-11-01 01:15:07 +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
thorpej
b93138b93d
Add another broken NEC CD-ROM drive to The List. Fixes PR #1451 .
1995-09-26 23:37:50 +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
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
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
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
cgd
1c5d265cad
another CD-ROM quirk, a la PR 1166
1995-06-27 20:42:45 +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
3836533fc6
Add another broken CD-ROM drive to The List.
1995-04-04 05:44:32 +00:00
mycroft
2986fc2fd0
Be less picky about revision numbers for some broken devices.
1995-02-22 19:32:33 +00:00
pk
e560d77223
Another Maxtor botch.
1995-02-09 10:23:14 +00:00
mycroft
d8743f51a2
Add Exabyte 8200 to the list.
1995-02-01 09:37:54 +00:00
mycroft
1076165d07
All revisions of the TDC 3600 are rogues.
1995-01-30 15:39:33 +00:00
mycroft
85532dd4ce
Don't clear the debug flags when copying the prototype scsi_link.
1995-01-16 21:13:40 +00:00
mycroft
83a1c4799e
Add two more broken devices.
1995-01-12 10:25:44 +00:00
mycroft
dff292c275
Put Dan's broken tape drive in The List.
1995-01-01 11:37:03 +00:00
mycroft
6e9d6a0d75
And a little better...
1994-12-30 05:20:22 +00:00
mycroft
0a83cd8c57
Deal with short inquiry response a little better.
1994-12-30 05:14:52 +00:00
mycroft
8fd135209c
Numerous changes. Many bugs fixed, better autoconfig, a few new features.
1994-12-28 19:42:47 +00:00
mycroft
d8561ad477
Oops; update scsibusmatch() arg list.
1994-11-03 22:09:00 +00:00
mycroft
ef0c18e1cf
Always use direct configuration for SCSI devices.
1994-11-03 22:05:08 +00:00
mycroft
54608f7ea0
Remove a couple of i386-specific hacks, and make a couple of others #ifdef
...
CONFIG_INDIRECT instead.
1994-11-03 20:24:21 +00:00
cgd
fccfa11af5
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:39:25 +00:00
mycroft
58dfc9dffc
Fix various types. Remove some outdated flags.
1994-04-11 03:53:58 +00:00
mycroft
2e5a28159f
New SCSI system, based on Julian's more recent work.
1994-03-29 04:29:20 +00:00
mycroft
d5a269b4dd
Put controller target in scsi_switch.
1994-03-25 07:38:51 +00:00
mycroft
b4d3382694
Canonicalize all #includes.
1993-12-17 07:56:32 +00:00
deraadt
d307daf9f6
scsi probing spent too much time on the bus -- sped it up now,
...
and simplified the message printing code (works the same)
1993-05-27 10:14:02 +00:00
deraadt
ee59868966
patch00149 by Julian Elischer <julian@jules.dialix.oz.au> & Rodney Grimes.
...
When an error was encountered, the sd/cd drivers printed blockno&ff0000
rather that blockno.
1993-05-25 07:27:31 +00:00
cgd
c59cd967ff
add rcsids and clean up file headers
1993-05-20 03:46:09 +00:00
deraadt
47622db521
fixed bug from last commit
1993-05-05 00:29:38 +00:00
deraadt
a0bcb17e60
support for making dev->id_alive be set, this is for iostat to
...
find disk devices. wee bit of a kludge. sub-device attach()
routines must now return 1 for successful attach(), 0 otherwise.
Other bsd's do this too..
1993-05-04 08:27:29 +00:00
deraadt
10e418c8b6
a test for mycroft..
1993-04-20 08:38:03 +00:00
mycroft
30a1d7a9f1
Don't overwrite global kernel version string.
1993-04-19 21:20:46 +00:00
deraadt
2c98ef3b72
new scsi subsystem.
...
changes also in config/mkioconf.c
i386/isa/wd.c, fd.c, and all scsi drivers.
1993-04-12 08:19:28 +00:00
cgd
e541169ce2
after 0.2.2 "stable" patches applied
1993-03-21 18:04:42 +00:00