summaryrefslogtreecommitdiffstats
path: root/sys/cam
Commit message (Collapse)AuthorAgeFilesLines
* Correct spelling of 'supplied'.robert2002-06-191-1/+1
| | | | PR: misc/39528
* If we boot verbose, then print out 'interesting' CAM errors that otherwisemjacob2002-06-071-5/+65
| | | | would hide problems (like Selection Timeout).
* Add the 160MHz syncrate to scsi_calc_syncrate() sync period exception table.gibbs2002-06-051-6/+7
|
* scsi_message.h:gibbs2002-06-052-6/+43
| | | | | | | | Include PPR option bits defined in SPI4. scsi_iu.h: Add data structures releated to parallel SCSI information units for use in SPI4 packetized protocol.
* Add REPORT LUNS basic infrastructure.mjacob2002-06-042-20/+77
|
* PR: kern/38208dillon2002-05-291-0/+7
| | | | X-MFC after: immediate w/ release eng approval.
* Add a Quirk entry for the USB SimpleTech UCF-100 compact flash reader.dillon2002-05-191-0/+7
| | | | | Note that even with the quirk entry the reader typically only works if the USB device is recognized by UHCI instead of the generic OHCI driver.
* Make Veritas Storage Appliance a HILUNS device.mjacob2002-04-241-0/+5
| | | | MFC after: 1 day
* Remove unused static variable quantum.marcel2002-04-231-2/+0
|
* Fix 3 of the four problems with my last indentation fix. ("fixing" theken2002-04-011-4/+2
| | | | | | | | fourth would be a divergence from the prevailing style.) Thanks to bde for catching this. Pointed out by: bde
* Fix an indentation problem.ken2002-04-011-7/+7
|
* DA (scsi) and AD (ata) diskdrivers:phk2002-03-311-48/+10
| | | | Make the dump routine do just writing of data.
* Maxtor Personal Storage 3000XT (Firewire) hangs uponsimokawa2002-03-241-0/+11
| | | | | | serial number probing. MFC after: 1 week
* Automatically detect devices that do not support READ(6)/WRITE(6)simokawa2002-03-231-1/+75
| | | | | | | | | | | | | | and upgrade to using 10 byte cdbs. As far as I tested, this works efficiently for most of the SBP-II/Firewire devices but most of the umass devices still need ad-hoc work around because umass-sim doesn't return any SCSI errors. A sysctl nob is also added for the last resort. I hope we don't need DA_Q_NO_6_BYTE quirks anymore. Reviewed by: gibbs MFC after: 1 week
* Remove __P.alfred2002-03-203-160/+159
|
* Mark some arguments __unused.phk2002-03-111-2/+2
|
* Add support for Simplified Direct Access Device in scsi_op_desc().simokawa2002-03-111-0/+4
|
* Simple p_ucred -> td_ucred changes to start using the per-thread ucredjhb2002-02-271-1/+1
| | | | reference.
* GC: BIO_ORDERED going away.phk2002-02-222-5/+2
|
* - Add support for Simplified Direct Access Device, mostly forsimokawa2002-02-212-1/+21
| | | | | | | | Firewire/SBP-II devices. - Add quirk for Logitec USB/Firewire HDD. MFC after: 3 days.
* o Move NTOHL() and associated macros into <sys/param.h>. These aremike2002-02-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland. Tested on: alpha, i386 Reviewed by: bde, jake, tmm
* Add NO_6_BYTE quirk entry for the LaCie Ltd. 105311 80 Gig USB2 drive.bsd2002-02-181-1/+8
| | | | Submitted by: Brian Schellenberger <bts@babbleon.org>
* Remove spurious ';'phk2002-02-101-1/+0
| | | | Obtained from: ~bde/sys.dif.gz
* Add support of PhotoClip USB Camera (http://www.myphotoclip.com):sobomax2002-01-311-0/+7
| | | | | | | | | - Vendor&Device IDs for USB product, - quirk for SCSI CAM. PR: 34481 Submitted by: Olexander Kunytsa <kunia@x-telecom.net> MFC in: 3 days
* Define the kern.cam sysctl in the cam layer, rather than multiply in severalmsmith2002-01-095-8/+13
| | | | | | | peripheral drivers. Remove Ken's comment to the effect that this needed to be done. Staticise camnet_ih and cambio_ih.
* Staticise a debugging variable.msmith2002-01-091-1/+1
| | | | Submitted by: non
* Add quirk for DIVA USB Mp3 Player.sobomax2002-01-081-0/+8
| | | | | | | PR: kern/33638 Submitted by: Olexander Kunytsa <kunia@x-telecom.net> MFC after: 3 days (pending re's approval)
* Extend Olympus E-100RS quirk to cover entire E series of digital cameras.kbyanc2002-01-071-5/+2
|
* Change the preemption code for software interrupt thread schedules andjhb2002-01-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mutex releases to not require flags for the cases when preemption is not allowed: The purpose of the MTX_NOSWITCH and SWI_NOSWITCH flags is to prevent switching to a higher priority thread on mutex releease and swi schedule, respectively when that switch is not safe. Now that the critical section API maintains a per-thread nesting count, the kernel can easily check whether or not it should switch without relying on flags from the programmer. This fixes a few bugs in that all current callers of swi_sched() used SWI_NOSWITCH, when in fact, only the ones called from fast interrupt handlers and the swi_sched of softclock needed this flag. Note that to ensure that swi_sched()'s in clock and fast interrupt handlers do not switch, these handlers have to be explicitly wrapped in critical_enter/exit pairs. Presently, just wrapping the handlers is sufficient, but in the future with the fully preemptive kernel, the interrupt must be EOI'd before critical_exit() is called. (critical_exit() can switch due to a deferred preemption in a fully preemptive kernel.) I've tested the changes to the interrupt code on i386 and alpha. I have not tested ia64, but the interrupt code is almost identical to the alpha code, so I expect it will work fine. PowerPC and ARM do not yet have interrupt code in the tree so they shouldn't be broken. Sparc64 is broken, but that's been ok'd by jake and tmm who will be fixing the interrupt code for sparc64 shortly. Reviewed by: peter Tested on: i386, alpha
* Add support for Nikon Coolpix E775 and E885 cameras.jedgar2002-01-011-2/+9
| | | | | PR: 33407 (E885) Submitted by: Brian Behlendorf <brian@hyperreal.org> (E885)
* o Add KLD support for scsi_low.non2001-12-151-0/+11
| | | | | | o Add KLD dependency of ncv, nsp and stg drivers to scsi_low. Submitted by: takawata
* Remove PAO3 dependent part where I missed to remove at last commit.non2001-12-101-4/+0
|
* Add a NO_6_BYTE quirk for the D-series olympus digital cameras.iedowse2001-12-091-0/+7
| | | | | PR: kern/31250 Submitted by: Bryan Liesner <bleez@bellatlantic.net>
* Bring the probe inquiry code in line with the SCSI spec.ken2001-11-271-43/+35
| | | | | | | | | | It is legal to have a device with device type 0x1f, that just means that the device is of unknown type. Instead, only check the peripheral qualifier when deciding whether or not to reject a device based on its inquiry information. Tested by: julian MFC after: 3 weeks
* Back out 1.88 (NO_SYNC_CACHE quirk for Infortrend IFT-3102). Sinceiedowse2001-11-261-8/+0
| | | | | | | | this device properly reports that the sync cache command is unsupported, the bug is that we still complain about it on the console. Noticed by: gibbs
* Disabled tagged commands for Hitachi Jura-C series with J8A8 firmware.dg2001-11-191-0/+10
| | | | | PR: 23536 Submitted by: amagai@nue.org
* Back out revision 1.117; the correct solution is to upgrade theiedowse2001-11-191-9/+0
| | | | | | | firmware on the drive in question. The pattern also matched far too many Hitachi drives. Spotted by: dg
* Hitachi DK32 disks have problems with tagged queuing under load.iedowse2001-11-191-0/+9
| | | | | | PR: kern/23536 Submitted by: Y.Amagai <amagai@nue.org> MFC after: 1 week
* Be very generous with timeouts for synchronize cache. We may wait a very longmjacob2001-11-171-1/+1
| | | | | | time in the cases where it really sends the drive out to lunch, but it also allows us to catch very wierd edge cases of strange drives that might take a very long time (emulated disk drives over a network, e.g.).
* The Infortrend IFT-3102 multihost U2 SCSI to U2 SCSI controlleriedowse2001-11-171-0/+8
| | | | | | | | doesn't support the synchronise cache command. PR: kern/21752 Submitted by: Nick R. Colakovic <nickc@corp.firstindustrial.com> MFC after: 1 week
* Add quirk for Fujitsu M2513A MO drives. These drives hang at variousiedowse2001-11-171-0/+15
| | | | | | | | operations due to the synchronize cache command. PR: kern/21674 Submitted by: W.Scholten <whs@xs4all.nl> MFC after: 1 week
* Fix a signed bug in the crashdump code for systems with > 2GB of ram.ps2001-11-131-1/+1
| | | | Reviewed by: peter
* Add quirk for Minolta 2330 Zoom digital camera.kbyanc2001-11-071-0/+7
| | | | Submitted by: Jan Stocker <Jan.Stocker@t-online.de>
* Add quirk for Nikon Coolpix 995.kbyanc2001-11-071-1/+8
| | | | Submitted by: Jos Vissers <jos@tunix.nl>
* Fix bug in scsi_read_write() where it might use 6-byte commands whenkbyanc2001-11-061-5/+4
| | | | | | | 10/12-byte-specific flags where specified. Reviewed by: ken MFC after: 1 day
* Add quirk entry for Olympus E-100RS digital camera. This and the existingkbyanc2001-11-051-0/+10
| | | | | | | quirk regarding the C- series makes me suspect that all Olympus models have the same quirks, but I cannot prove it. Submitted by: Bernd Walter <ticso@cicely8.cicely.de>
* Remove PAO3 dependent part.non2001-11-031-8/+1
| | | | This will not affect either -current nor -stable.
* Add a quirk entry so that the Maxtor 3000LE USB drive will work.scottl2001-10-151-0/+7
| | | | | Submitted by: merry, Randy Bush <randy@psg.com> MFC after: 3 days
* o Modify access control code for the CAM SCSI pass-through device torwatson2001-09-261-2/+4
| | | | | | use securelevel_gt() instead of direct securelevel variable test. Obtained from: TrustedBSD Project
* s/securelvel/securelevel/rwatson2001-09-251-1/+1
|
OpenPOWER on IntegriCloud