bouyer
da77194a02
We can't have XS_CTL_DATA_OUT and XS_CTL_DATA_IN at the same time.
...
Pointed out by Bernd Ernesti.
2001-10-22 16:16:00 +00:00
mjl
51a4b6098f
Add ST15150N to quirk table, as per PR/13817.
2001-10-21 23:25:04 +00:00
christos
070d583bb3
PR/14256: Kevin P. Neal: Add quirk for micropolis drive.
2001-10-16 13:33:02 +00:00
bouyer
69fff4726e
Refuse to register a callback if the completion thread isn't started yet.
2001-10-14 21:17:41 +00:00
bouyer
a84535fd3e
Call ADAPTER_REQ_GROW_RESOURCES from the completion thread, if possible.
...
This allows HBA drivers to call bus_dmamem_map() safely.
2001-10-14 20:31:24 +00:00
bouyer
ce6aaa187a
Split channel flags in chan_flags used for communications between
...
scsipi and HBA, and chan_tflags used for communications between scsipi
and its kernel thread. No functionnal change.
2001-10-14 19:03:43 +00:00
mjacob
87a8b82ae9
Restore previous functionality- in scsipi_periph_timed_thaw check to
...
make sure the completion thread is running before you try to schedule
it.
Fixes port-i386/14013
2001-09-27 18:11:06 +00:00
mjacob
79d74959da
Restore previous definitions.
2001-09-27 18:07:51 +00:00
fvdl
000902fbf6
Unfortunately, the previous change seems to make most (all?) configurations
...
using the ahc driver hang when probing scsi devices. The problem may be in
the ahc driver and not in this change, but back it out until this has been
fixed anyway.
2001-09-21 13:54:47 +00:00
mjacob
849eac52f2
Rather than run a periph's queue from scsipi_periph_timed_thaw which is
...
called via a callout, kick the completion thread to run it for us (uses
a new flag, SCSIPI_CHAN_KICK).
If we've received BUSY status and we haven't started the completion
thread yet, don't freeze do a callout to scsipi_periph_timed_thaw which
then will try and kick the completion thread- instead treat the command
as if it were a polled command and just call delay for 1 second.
If DIAGNOSTIC is defined, and the periph qfreeze count is less than
zero, panic because some HBA has corrupted the periph structure's
accounting.
2001-09-18 20:20:26 +00:00
enami
750c07de04
Pass the correct pointer to atapibusprint().
2001-09-13 06:27:23 +00:00
thorpej
f7a403a447
Define more caching parameters from SCSI-3.
2001-09-03 17:14:49 +00:00
thorpej
3ac8a43f8b
Comment what the PF bit means in the MODE SELECT command, and
...
define a scsipi_mode_page_header, which has the common fields
(page code and page length) of all mode pages.
2001-09-02 22:06:16 +00:00
thorpej
dda09e1b39
Add the Force Unit Access and Disable Page Out bits to the
...
READ(10) and WRITE(10) commands.
2001-09-02 20:17:04 +00:00
thorpej
e6bfee4968
Use the AUDIO_PAGE definition common to SCSI and ATAPI.
2001-09-02 19:53:40 +00:00
thorpej
ac7519b12e
Centralize the definition of the page code mask and page-savable bit
...
in the pages returned by MODE SENSE.
2001-09-02 19:35:20 +00:00
thorpej
d737e7fda8
Oops, name the caching parameters page structure member.
2001-09-02 16:47:45 +00:00
tsutsui
354cce66e5
Use be16toh(), be32toh(), le16toh() and le32toh() rather than
...
ntohs(), ntohl() or homegrown bswap() functions.
XXX Does anyone use drives with PQUIRK_LITTLETOC on big endian machines?
2001-09-02 13:11:53 +00:00
thorpej
2cf7638731
Add the caching parameters mode page.
2001-09-01 02:39:21 +00:00
mjacob
18e1071fce
Add table value for Ultra3, so configuring an Ultra3 disk shows:
...
sd1: sync (12.5ns offset 14), 16-bit (160.000MB/s) transfers, tagged queueing enabled
instead of:
sd1: sync (36.0ns offset 14), 16-bit (55.554MB/s) transfers, tagged queueing enabled
2001-09-01 00:54:38 +00:00
augustss
60ffafe273
Add a new quirk, PQUIRK_NOBIGMODESENSE, for devices that need big
...
SCSI ops, but still fails on big mode sense.
Makes M-Sys DiskOnKey work.
2001-08-31 07:09:41 +00:00
augustss
033a7fa40d
Some quirks for USB M-Sys DiskOnKey. Still not enough to make it work.
2001-08-31 06:54:42 +00:00
ad
dacf7e8e3d
Don't special case the retry for Media Changed... More later.
2001-08-20 15:45:10 +00:00
ad
13499203a2
Two changes submitted by Sergey Svishchev <svs@ropnet.ru>:
...
- Don't send START UNIT upon open if the drive is playing audio (PR 11768).
- If we receive sense indicating that the media changed, retry (PR 8326).
2001-08-20 11:31:10 +00:00
ad
ab54b70cae
Cosmetic change.
2001-08-20 11:20:51 +00:00
ad
52449ef3bf
Medium Not Present has number of defined ASCQs. Pointed out by Sergey
...
Svishchev <svs@ropnet.ru> in PR 8326.
2001-08-20 07:47:01 +00:00
ad
d861b4992a
Add descriptions for Medium Not Present ASCQs.
2001-08-20 07:41:14 +00:00
yamt
75ed9ccf7f
fix scsipi_target_detach with wildcard target.
2001-08-19 14:05:13 +00:00
eeh
0cbe02398a
Add support for smaller sector sizes so we can mount ffs filesystems.
2001-08-15 22:21:01 +00:00
bouyer
f2cacede49
Adn scsipi_target_detach() and scsipi_thread_call_callback() as discussed
...
on tech-kern. scsipi_target_detach() accept wildcard target/lun as requested.
2001-07-18 20:19:24 +00:00
thorpej
aafd882086
bcmp -> memcmp
2001-07-18 18:27:08 +00:00
thorpej
38bdc75312
bcopy -> memcpy
2001-07-18 18:25:41 +00:00
thorpej
03746a443a
bzero -> memset
2001-07-18 18:21:04 +00:00
bouyer
c399f05222
scsipi_set_xfer_mode(): issue a ADAPTER_REQ_SET_XFER_MODE request to adapter
...
only if we succesfully attached at last one device for this I_T.
2001-07-13 20:00:23 +00:00
wiz
cc0b68092e
Correct various misspellings of 'transfer' and inflected forms.
2001-07-08 18:06:42 +00:00
ross
f54fe9f3b1
compile tweak for non-SCSIVERBOSE
2001-06-27 23:14:26 +00:00
bouyer
6a91469e6d
Some ATAPI CD occasionally reports "ATA illegal indication length" for
...
a request sense command, but the sense is properly transfered anyway.
Ignore the error for this case.
2001-06-27 13:22:36 +00:00
bouyer
4fadc33006
Better diagnostic when a REQUEST SENSE is terminated with CHECK CONDITION.
2001-06-27 13:21:30 +00:00
bouyer
90d0e67408
Add a XS_CTL_SILENT_NODEV flag: if the sense info is "not ready, medium
...
not present" don't print any message but still return ENODEV.
Use this in cd driver to allow open of character raw partition even if
the drive is empty (older drives fails at LOAD_UNLOAD time, newer
ones fail at TEST_UNIT_READY time).
2001-06-26 15:32:02 +00:00
bouyer
f47d097cf5
Make it compile with SCSIPI_DEBUG
2001-06-26 12:46:56 +00:00
wiz
15223234d7
Fix some typos in comments.
2001-06-24 10:18:13 +00:00
lukem
b7f8c7eb86
delint
2001-06-19 10:43:26 +00:00
bouyer
49ed2592ce
Add my copyrigth and remove the older ones. None of the original authors of
...
the st driver wrote something in this file.
2001-06-18 09:41:06 +00:00
bouyer
0a63f01fef
Snapshot of ATAPI tapes support. Known to be able to read/write to tape with:
...
st0 at atapibus0 drive 1: <Seagate STT8000A, , 5.51> type 1 sequential
removable
Major changes may still happen in order to properly support other ATAPI
tape drives.
2001-06-18 09:05:05 +00:00
bjh21
4bc5a3b295
Add explicit support for IDE and SCSI adaptors which don't support interrupts.
...
On such adaptors, all transfers are done in polling mode.
OK'ed by Manuel on tech-kern.
2001-06-13 18:17:38 +00:00
pk
b9e61207ff
Add nolun/nosync quirk for "IBM CDRM00201 !F"
...
See PR#13031.
2001-06-11 13:58:18 +00:00
bouyer
88f3192778
Fix typo in sddump() which caused core dumps to fail with ENXIO.
2001-06-01 08:39:54 +00:00
tron
264d7e1264
Install "dev/scsipi/scsipi_cd.h" again because it is e.g. used by the
...
CD player include in version 2.x of the "kdemultimedia" package.
2001-05-31 21:54:07 +00:00
bouyer
708bb529d3
uninitialised variable (from Krister Walfridsson):
...
in st_cmprss(), init flags to 0 (never changed, but this should change soon
anyway, for ATAPI tapes support)
2001-05-30 20:28:17 +00:00
mrg
c13e3a6693
use _KERNEL_OPT
2001-05-30 11:40:35 +00:00