summaryrefslogtreecommitdiffstats
path: root/sys/scsi
Commit message (Collapse)AuthorAgeFilesLines
...
* Bring in bug fix from 'SCSI' branch.gibbs1996-10-061-2/+2
|
* Bring this over from the SCSI branch. I need it to bring in the fixes togibbs1996-10-061-0/+37
| | | | the aic7xxx driver.
* Changed cncheckc() interface so that it is 8-bit clean - return -1bde1996-09-141-3/+3
| | | | instead of 0 if there is no input.
* Restored a non-devconf comment that was removed with devconf.bde1996-09-101-1/+5
|
* Removed more devconf leftovers.bde1996-09-101-2/+1
|
* Various cleanups for remanents of devconf.phk1996-09-085-30/+5
|
* Remove devconf, it never grew up to be of any use.phk1996-09-069-174/+11
|
* Second phase of merge, get rid of more machine-independent-dependencies.asami1996-09-031-1/+4
| | | | | | Get rid of pc98/pc98/pc98_device.h. Submitted by: The FreeBSD(98) Development Team
* Do not test_unit_ready() before starting the unit...joerg1996-08-171-7/+7
|
* The sd and od drivers didn't check for negative block numbers (like wd.cpeter1996-08-022-6/+6
| | | | | | | | does) before calling dscheck(). dscheck() doesn't appreciate this and calls Debugger() and returns without setting bp->b_error. This can happen when there is a casting error and offsets > 2G are converted to negative off_t's in the disk tools. (dumpfs used to do this).
* Make a "DWIM" function for adding [bc]devsw entries for bdev drivers.phk1996-07-234-50/+12
| | | | | | | | | Saves about 280 butes of source per driver, 56 bytes in object size and another 56 bytes moves from data to bss. No functional change intended nor expected. GENERIC should be about one k smaller now :-)
* Turn SCSIDEBUG into a new-style option.joerg1996-07-1410-11/+28
|
* Don't use NULL in non-pointer contexts.bde1996-07-121-5/+1
|
* Ensure that media protection is released before attempting to eject thegibbs1996-06-242-13/+25
| | | | | | | | | | | media in all cases. Remove SCSI_2_MAX_DENSITY_CODE definition and rely on the device to tell us if we attempt an invalid setting. Closes PR 1245. Submitted by: fredriks@mcs.com a few changes by me.
* Forward-declare a struct tag so that this doesn't depend on a side effectbde1996-06-231-1/+2
| | | | of indirectly including <i386/isa/isa_device.h>.
* Dump the timeout for st_erase().joerg1996-06-221-2/+2
| | | | | | Fixes PR # kern/1341: Bug fix for SCSI tape Submitted by: tundra@tundrware.com
* Miscellaneous cleanup and minor fixes by Shunsuke and by me.joerg1996-06-161-95/+142
| | | | | | | | | | | . use new-style options . introduce an option OD_AUTO_TURNOFF . try to use the native geometry as reported by the drive instead of a faked on -- MOs do have a ``classical'' geometry . make the scsi_start_unit() actually working . some cosmetic fixes Submitted by: akiyama@kme.mei.co.jp (Shunsuke Akiyama)
* Make sure to update the SDEV_MEDIA_LOADED flag also when working onjoerg1996-06-161-1/+4
| | | | | | the control device. Submitted by: akiyama@kme.mei.co.jp (Shunsuke Akiyama)
* The Great PC98 Merge.asami1996-06-143-4/+74
| | | | | | | | All new code is "#ifdef PC98"ed so this should make no difference to PC/AT (and its clones) users. Ok'd by: core Submitted by: FreeBSD(98) development team
* Clean up -Wunused warnings.gpalmer1996-06-122-2/+8
| | | | Reviewed by: bde
* Append a * to the model field of the Archive Viper quirk entry.jfieber1996-06-031-2/+12
| | | | | | Without the wildcard, the drive would never match the entry. Also add a comment describing how matching takes place to help avoid problems like this.
* Correct a few mode page definitions according to the SCSI-2 specs.joerg1996-05-191-6/+11
| | | | Not yet used, but might perhaps be used in od(4) some day.
* This patch updates sys/scsi/od.c:joerg1996-05-191-58/+144
| | | | | | | | | * Improve ficticious geometry translation. * CD compatible ioctl's, CDIOCALLOW, CDIOCPREVENT and CDIOCEJECT. * Additional sense code handling for some drives. Reviewed by: joerg Submitted by: akiyama@kme.mei.co.jp (Shunsuke Akiyama)
* Another sweep over the pmap/vm macros, this time with more focus onphk1996-05-031-3/+3
| | | | | the usage. I'm not satisfied with the naming, but now at least there is less bogus stuff around.
* Don't fiddle page tables by hand, use pmap_enter.phk1996-05-021-4/+4
| | | | (copied from wd.c)
* removed:phk1996-05-021-2/+2
| | | | | | | | | CLBYTES PD_SHIFT PGSHIFT NBPG PGOFSET CLSIZELOG2 CLSIZE pdei() ptei() kvtopte() ptetov() ispt() ptetoav() &c &c new: NPDEPG Major macro cleanup.
* Don't depend on <sys/types.h> including <sys/cdefs.h>.bde1996-04-192-3/+3
|
* Removed now-unused #includes of <machine/cpu.h>. They were for bootverbosebde1996-04-072-5/+2
| | | | being declared in the wrong place.
* Change dev_link() to devfs_link()scrappy1996-04-021-4/+4
|
* Changed use of devfs_add_devsw() to devfs_add_devswf()scrappy1996-04-011-96/+39
| | | | | | | Changed DEVFS structure devfs_token so that adding the devices is a simple matter of a 4 line for loop versus 16 lines of code Reviewed by: julian@freebsd.org
* Implement the XS_SELTIMEOUT error code. This causes the SCSI code togibbs1996-03-312-3/+5
| | | | | not retry again and should be used when a device times out during selection (ie is not on the bus). This should speed up the boot sequence.
* Fixed devfs group and permissions of some more disk devices.bde1996-03-291-7/+12
| | | | Added devfs cd control device.
* Fixed missing variable 'name' for DEVFS codescrappy1996-03-291-1/+4
|
* Fixed a Typoscrappy1996-03-281-2/+2
|
* Using devfs_add_devswf() instead of devfs_add_devsw()scrappy1996-03-285-42/+32
| | | | Reviewed by: julian@freebsd.org
* Fixed name of pt device (it has a unit number). devfs still only createsbde1996-03-271-7/+14
| | | | | | one. Added control device.
* Fixed group of disk devices (was wheel or games, now operator).bde1996-03-274-42/+69
| | | | | | | | | | | Added scsi control devices. Converted almost everything that I changed to use devfs_add_devswf() and verbose id macros. st.c: Renamed enrst* to erst* since that's what the current name is (enrst seems to be an old name).
* Fixed some missing int32 -> int32_tdg1996-03-102-4/+4
|
* u_int8 -> u_int8_tjkh1996-03-101-6/+6
|
* Cleanse the SCSI subsystem of its internally defined typesgibbs1996-03-1014-354/+348
| | | | | u_int32, u_int16, u_int8, int32, int16, int8. Use the system defined *_t types instead.
* Fix broken SCSI_DELAY option.. (missing #include "opt_scsi.h")peter1996-03-091-1/+3
| | | | Pointed out by: Boyd Faulkner <faulkner@asgard.bga.com>
* Add more options into the conf/options and i386/conf/options.i386 filespeter1996-03-022-2/+4
| | | | | | and the #include hooks so that 'make depend' is more useful. This covers most of the options I regularly use (but not all) and some other easy ones.
* More b_flags fixes.dyson1996-03-021-2/+2
|
* cosmetic fixes plus bring the cdevsw and bdevsw entriesjulian1996-02-191-10/+12
| | | | into line with the new form.
* allow the default tape unit to try figure out what it is rather thanjulian1996-02-191-2/+6
| | | | forcing it to 512 byte blocks....
* Add: CDU-8003A aka Apple CDROM-300se1996-02-171-1/+8
| | | | Submitted by: Michael Reifenberger <root@totum.plaut.de>
* Physically ask for leadout entry instead of asking ofache1996-02-131-22/+39
| | | | last_track + 1 entry, some drives don't understand it
* Recognize NRC MBR-7.4 tooache1996-02-121-2/+2
|
* Close kern/614 - wait up to an hour for a tape operation like "fsf" (slow ↵pst1996-02-081-2/+2
| | | | drives)
* Add a quirk record for the Tandberg 42XX series. Not only that thesejoerg1996-02-033-7/+19
| | | | | | | | | drives require ST_Q_SNS_HLP, they also wrongly accept a blocksize of 1024 in the first place (for a QIC-150 cartridge), but complain later about it. The hack is to only probe for 512 for them. Reorder the entries in st_decide_mode() so that QIC >= 525 is properly accepted as variable blocksize.
OpenPOWER on IntegriCloud