summaryrefslogtreecommitdiffstats
path: root/sys/scsi
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Simplify READTOCENTRYS by removing fake leadout code,ache1996-02-021-37/+5
| | | | SCSI system do it for us
* Add the HP4020i CD-R as a known device.joerg1996-02-022-5/+257
| | | | | | Reorder the CD-R entries in knowndevs[]. Submitted by: fred@jjarray.umd.edu (Fred Cawthorne)
* Add the Emulex MD21 ESDI-to-SCSI bridge as a known device (with more thanjoerg1996-02-021-1/+5
| | | | | one LUN). Submitted by: Wilko Bulte
* I forget the fact that cd_read_toc reads toc header in any caseache1996-02-021-3/+3
|
* Remove statement that does nothing now, forget in my prev. commitache1996-02-011-2/+1
|
* Oops, pick wrong volume size for leadout entryache1996-02-011-3/+3
|
* Add an entry for my HP Model 4020i CDR drive.jkh1996-01-311-1/+5
|
* Don't convert LBA to host order, they must stay in network orderache1996-01-301-6/+1
| | | | as old code does.
* OOPS, forget to adjust starting track to not physically readache1996-01-301-8/+9
| | | | leadout entry
* Use ntohs/ntohl when reading TOC instead of hardcoded byte swapping.ache1996-01-301-9/+37
| | | | Put fake entry len for MSF format too.
* READTOCENTRYS: make fake leadout entryache1996-01-301-3/+26
|
* READTOCENTRYS: handle 0 and lead out requests, add argument checkingache1996-01-301-11/+34
|
* Remove redundant declaration for worminit(). Dunno why my config(8)joerg1996-01-291-2/+1
| | | | didn't generate it, but it's supposed to.
* Prevent media eject on first open and re-enable ejection on last close.gibbs1996-01-291-3/+6
| | | | | The previous behavior was based on the lifetime of a "mount session" which isn't very obvious.
* Make worm.c compile with -Wall -Werror again.joerg1996-01-281-7/+7
| | | | | | . remove some unused variables . declare worminit() right this time, it's actually extern (?) . use wormminphys(), now that it's already there (hope i've got this right)
* Submitted by: rich (which one?)julian1996-01-281-1/+5
| | | | | | Another special case for probing multi-CD cdrom drives. 2nd try at this patch.
* Back out the previous change. It's not correct for -current.jkh1996-01-281-8/+0
|
* Add an entry for the "MBR-7", whatever that is.jkh1996-01-281-1/+9
| | | | Submitted by: rich
* Minor but fatal spelling error when merging my code into -current.joerg1996-01-281-3/+5
| | | | | | Also declared worminit() to avoid a compiler warning. Seems that the other SCSI drivers don't declare XXinit() yet, so perhaps we'd also create a typedef for these func's.
* The Great Merge.joerg1996-01-272-43/+643
| | | | | | | | | | The worm driver is alpha-usable! I've stuffed everything that is needed into the kernel driver, including the logic to select between different vendor's quirks. Disclaimer: this has by now _only_ been tested on a heavily tweaked 2.0.5R system. I've done my best to retrofit it into -current, but i don't have a chance yet to test it in a -current environment.
* First attempt at creating devfs entries for sliced devices. Doesn'tbde1996-01-272-17/+21
| | | | | | | | | | | | | | | | | | | | quite work yet, so the heart of it is disabled. Added bdev and cdev args to dsopen(). drivers: Fixed device names, links, minor numbers and modes. wd.c: Started actually supporting devfs. diskslice.h: Added devfs tokens to structs (currently 576 of them per disk! :-(). subr_diskslice.c: Create devfs entries in dsopen() and (unsuccessfully) attempt to make them go away at the right times. DEVFS is #undefed at the start so that this shouldn't cause problems.
* Fold in my latest changes to the worm driver.joerg1996-01-201-6/+17
| | | | | | | | | | | | This makes it sorta usable, just for my ``proof-of-concept'' Perl script i've been posting to freebsd-scsi. The driver will be overhauled further, this is just to provide Jordan with a base to perform testing of his own with his HP burner. Use entirely at your own risk, expect a bunch of misburnt CD-R's when using it already in this very green stage. Note that by now the driver will only work when the CD-R has already been in the drive at boot time.
* Make the "uk" device usable again. The open() always failed due to an ↵joerg1996-01-203-5/+8
| | | | | | internal driver design problem.
* Bump the timeout in st_load() from 5 to 15 minutes. My Tandbergjoerg1996-01-141-2/+2
| | | | | TDC3620 takes 4.5 minutes to retenstion a QIC-250 cartridge, so the 5 minutes seem to be too tight.
* Implement the MTRETENS command.joerg1996-01-081-1/+5
|
* Add an adapter_softc field to the scsi_link struct.gibbs1996-01-071-1/+2
|
* Convert BOUNCE_BUFFERS and BOUNCEPAGES to new option scheme.wollman1996-01-059-9/+28
|
* Introduce a wormunit() so the control device will work.joerg1996-01-021-2/+7
|
OpenPOWER on IntegriCloud