ad
382141e2f7
Add a new, optional method to scsipi_adapter (scsipi_accesschk()), and use
...
it when considering whether to attach devices. This is to facilitate
`non-SCSI' RAID controller drivers that want to provide SCSI pass-through
services to the kernel.
2000-09-22 16:45:17 +00:00
mjacob
927f61818e
Add "SYMBIOS" processor type to the SDEV_NOLUN category. These are usually
...
the GEM chips on a Sun D1000- and they cause Qlogic SBus firmware to blow
chunks if you access past lun 0.
2000-08-13 00:03:01 +00:00
mjacob
295864adef
During probe, use SCBUSACCEL ioctl to adapters that support it to
...
enable fast/wide/tagged.
2000-08-08 22:46:03 +00:00
bouyer
1b00421876
Add quirk entry for NEDICOM CRD-BP2, from kern/10738.
2000-08-03 12:36:08 +00:00
enami
5a4b9fcbbf
Prevent a process being swapped out during I/O if the data buffer is
...
allocated on stack. This potential problem is noticed by Noriyuki Soda
and the idea and sample code to fix is given by Jason R. Thorpe.
2000-06-09 08:54:19 +00:00
augustss
6b0b8292ff
Add NOMODESENSE quirk for TEAC USB floppy.
2000-05-30 15:16:41 +00:00
augustss
61143a446c
Add NOMODESENSE quirk for Y-E data floppy (thanks Jason for reminding me).
2000-05-30 01:49:19 +00:00
bouyer
405302008d
ADEV_CDROM -> SDEV_CDROM, for consistency.
2000-05-29 20:13:06 +00:00
gmcgarry
4ba1e04ba2
Handle ADEV_CDROM in quirks table.
...
Quirk entry for another Toshiba cdrom.
2000-05-28 07:03:59 +00:00
dante
ceb378e070
Add few peripheral device type
...
Remove "???" from T_IT8_1/2. They actually are pre-press devices for graphic arts as described by ASC IT8
Zeros and blanks scsipi_inquiry_data from byte 58 to byte 74 if additional_length is less than 58
2000-05-15 16:35:49 +00:00
dante
f65d97bb57
Change scsipi_inquiry_data strucure to be ANSI SPC-2 rev16 compliant
2000-05-14 18:20:11 +00:00
enami
a2bf544200
Allocate the variable `inqbuf' in scsi_probedev on stack rather than
...
statically. Since this function may called for another luns immediately,
allocating it statically doesn't make sense and may cause race condition
as pointed out by PR#9749.
2000-04-19 04:49:50 +00:00
augustss
7797648425
Change the initial field in struct ata_atapi_attach and struct scsipi_link
...
slightly to allow scsibus and atapibus to attach to the same device.
Furthermore, only attach a scsibus when the bus type is BUS_SCSI.
2000-04-02 17:25:52 +00:00
augustss
439812ba3b
In attach message, spell it "target" not "targ", as in the locator.
2000-03-27 11:45:42 +00:00
sjg
281c45ba53
Added NOLUNS quirk for YAMAHA CRW8424S
2000-03-19 10:33:26 +00:00
soren
11bd453515
scsiprint() is needed even without scsibus'es, so move it to scsi_base.c .
2000-03-17 11:45:49 +00:00
martin
112137cd30
Added Artec/Ultima A6000C scanner to the quirks table (no LUNs).
2000-03-13 09:56:26 +00:00
mjacob
56196ffa4e
Nobody said no to adding a pointer to original scsi inquiry data
...
to the scsibus attach args. Make sure it's nulled for ATAPI. Also,
for scsiconf.c, modify SENA's quirk entry.
2000-01-20 17:10:18 +00:00
nisimura
1775fae985
Add tweaks for TEAC compact cassette tape drive.
2000-01-13 00:18:27 +00:00
soren
b202ac1466
Allow SCSI_DELAY to be shorter than 2 seconds.
1999-11-14 18:06:09 +00:00
enami
a2369d8e97
Cancel active transfers on aic/wdc detach.
...
Also makes LS-120 drive works for me again.
1999-10-20 15:22:24 +00:00
hwr
d5103deed3
Add ad quirk for CDU-561 CD-ROM. From PR kern/8608
...
by SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>.
1999-10-11 15:28:57 +00:00
hwr
eed9db126b
Add a quirk to recognize a Toshiba XM-3401TA SCSI CD-ROM as
...
removable SCSI device. From Matthew Fredette <fredette@mit.edu> in
kern/7438.
1999-10-10 18:49:15 +00:00
thorpej
16a9d90e17
Cleanup the scsipi_xfer flags:
...
- `flags' is now gone, replaced with `xs_control' and `xs_status'.
- Massive cleanup of the control flags. Now we explicitly say that
a job is to complete asynchronously, rather than relying on side-effects,
and use a new flag to now that device discovery is being performed.
- Do SCSI device discovery interrupt-driven.
1999-09-30 22:57:52 +00:00
nathanw
3598bf5251
Add NOLUNS quirk for another Texel CD-ROM revision.
1999-09-19 23:45:28 +00:00
thorpej
5116cf4fa5
Implement detaching of SCSI busses.
1999-09-11 21:25:26 +00:00
hwr
31292f422e
Add a quirk for Wangtec SCSI-36 (QIC-120) tape drive.
...
From Izumi Tsutsiu in PR 8357.
1999-09-09 20:06:52 +00:00
explorer
8fa3d8be55
make the JVC 2626 match more than one version, since all seem to be
...
returning errors on the LUN probe.
1999-07-26 22:43:13 +00:00
tron
62af9404e6
Skip LUN check for all versions of the UMAX Astra 1220S as suggested
...
by Dan McMahill in PR kern/7991.
1999-07-14 22:34:18 +00:00
mjacob
7f5c8f7db2
add Adaptec RAID units as devices that do not return geometry pages
1998-12-10 18:13:29 +00:00
thorpej
98194169ea
When allocating a device's scsipi_link, initialize the pending_xfers
...
queue.
1998-12-08 00:14:41 +00:00
mjacob
337eb43541
NOMODESENSE for all Seagate ST19171- not just FC
1998-12-05 20:52:47 +00:00
mjacob
33fde1ad76
Eliminate the moreluns entry as it makes no sense for fat SCSI busses (e.g,
...
FC loops). Change the semantics of scsi_probedev so that it returns 1 if
you should continue probing at this target, else 0 for not.
Replace the blanket use of '7' with the use of the new sc_maxlun property
that is now gathered from HBAs. Allocate scsipi_link arrays based upon this.
Fix a really nasty and silly bug that has been there for a while where the
number of first level scsipi_link structures was one less than it needed
to be.
1998-12-05 19:39:23 +00:00
leo
bea7038c02
The IOMEGA ZIP 100, J.03 does not grok LUN's.
1998-11-26 13:39:14 +00:00
thorpej
baec89716d
Add a reference to the adapter when the scsibus is opened, and delete it
...
when it is closed.
1998-11-19 22:28:20 +00:00
thorpej
54b52fb5f6
Add a reference to the adapter before probing the bus, and delete it
...
once we are done probing.
1998-11-19 22:25:56 +00:00
bouyer
00d93f776b
Rename scsi_interpret_sense() to scsipi_interpret_sense() and move it from
...
scsi_base.c to scsipi_base.c. Rename the functions from scsi_verbose.c
too, and rename the file itself. Cleaup includes too (scsi_*.h should not
be #included in scsipi_*.h files, which are supposed to be
common to atapi and scsi).
1998-11-17 14:38:42 +00:00
thorpej
c0ba12768e
Fix a sight open flags buglet pointed out by Matthias Scheler.
1998-10-20 22:26:04 +00:00
thorpej
16cf223098
Enforce open-for-writing on ioctls that change the bus's state.
...
Implement ioctl pass-through to the host bus adapter, allowing both
SCBUS* ioctls handled at that level and host adapter-specific ioctls
to be implemented. Implement SCBUSIORESET as a pass-through.
Inspired by PR #6090 , from Matt Jacob.
1998-10-10 03:33:01 +00:00
thorpej
1e2b6a99ed
Implement the SCBUSIOSCAN ioctl. Rescans the bus for new devices.
1998-10-10 02:34:15 +00:00
thorpej
e3fb94a7b4
Add the open/close/ioctl entry points for the SCSI bus, i.e. /dev/scsibusN.
1998-10-10 01:14:26 +00:00
thorpej
b69841d26a
Add a NOSYNCCACHE quirk for the Micropolis 2217-15MQ1091501, as reported
...
by Matt Jacob, PR #6027 .
1998-10-08 20:24:10 +00:00
thorpej
6a2b035300
Add a NOLUNS quirk for the Sony CDL1100 changer, from Chris Jones, PR #6238 .
1998-10-08 18:46:15 +00:00
mjacob
5c5c3f792f
Reflect changes in quirk flags, and also now add case post retrieval
...
of Inquiry data during probe where SDEV_NOSYNC, SDEV_NOTAG and SDEV_NOWIDE
can be set (with quirk data overriding) per device probed.
1998-09-08 07:34:02 +00:00
cgd
d58173741d
kill the last remnants of __BROKEN_INDIRECT_CONFIG. (only the pica port
...
used it, and it's non-working and apparently slated for replacement.)
1998-08-31 22:28:04 +00:00
mycroft
04f0dc658c
Assign my copyrights to TNF.
1998-08-17 00:49:01 +00:00
mycroft
6d3d8a1350
Make copyright notices with my name consistent.
1998-08-15 03:02:31 +00:00
drochner
32fce55082
Improve generation of default disklabels:
...
-store printable product ID in cd's and sd's softc, use it as "typename"
-for this, add a "destination buffer length" argument to scsipi_strvis()
-return ATAPI device type for ATAPI devices
1998-08-05 16:29:04 +00:00
thorpej
03ffe0a516
Use the pool allocator for scsipi_xfer structures.
1998-07-31 03:00:51 +00:00
fvdl
d40e353fa6
Add NOLUNS quirk for the UMAX Astra 1220 scanner.
1998-07-30 00:00:06 +00:00