summaryrefslogtreecommitdiffstats
path: root/sys/scsi/worm.c
Commit message (Collapse)AuthorAgeFilesLines
* Various cleanups for remanents of devconf.phk1996-09-081-5/+1
|
* Turn SCSIDEBUG into a new-style option.joerg1996-07-141-1/+2
|
* Using devfs_add_devswf() instead of devfs_add_devsw()scrappy1996-03-281-9/+5
| | | | Reviewed by: julian@freebsd.org
* u_int8 -> u_int8_tjkh1996-03-101-6/+6
|
* Cleanse the SCSI subsystem of its internally defined typesgibbs1996-03-101-16/+16
| | | | | u_int32, u_int16, u_int8, int32, int16, int8. Use the system defined *_t types instead.
* Add the HP4020i CD-R as a known device.joerg1996-02-021-2/+246
| | | | | | Reorder the CD-R entries in knowndevs[]. Submitted by: fred@jjarray.umd.edu (Fred Cawthorne)
* Remove redundant declaration for worminit(). Dunno why my config(8)joerg1996-01-291-2/+1
| | | | didn't generate it, but it's supposed to.
* 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)
* 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-271-43/+550
| | | | | | | | | | 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.
* 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.
* Convert BOUNCE_BUFFERS and BOUNCEPAGES to new option scheme.wollman1996-01-051-1/+3
|
* Introduce a wormunit() so the control device will work.joerg1996-01-021-2/+7
|
* Another mega commit to staticize things.phk1995-12-141-3/+2
|
* Julian forgot to make the *devsw structures static.phk1995-12-081-2/+2
|
* Pass 3 of the great devsw changesjulian1995-12-081-33/+35
| | | | | | | | | | | | | | | | | | | | | | | most devsw referenced functions are now static, as they are in the same file as their devsw structure. I've also added DEVFS support for nearly every device in the system, however many of the devices have 'incorrect' names under DEVFS because I couldn't quickly work out the correct naming conventions. (but devfs won't be coming on line for a month or so anyhow so that doesn't matter) If you "OWN" a device which would normally have an entry in /dev then search for the devfs_add_devsw() entries and munge to make them right.. check out similar devices to see what I might have done in them in you can't see what's going on.. for a laugh compare conf.c conf.h defore and after... :) I have not doen DEVFS entries for any DISKSLICE devices yet as that will be a much more complicated job.. (pass 5 :) pass 4 will be to make the devsw tables of type (cdevsw * ) rather than (cdevsw) seems to work here.. complaints to the usual places.. :)
* fix a couple of stuffups in the worm driver and in other associated scsi filesjulian1995-12-051-17/+5
|
* If you're going to mechanically replicate something in 50 filesjulian1995-11-291-2/+2
| | | | it's best to not have a (compiles cleanly) typo in it! (sigh)
* OK, that's it..julian1995-11-291-1/+44
| | | | | | | | | | | | | | | | | | | | | | | | That's EVERY SINGLE driver that has an entry in conf.c.. my next trick will be to define cdevsw[] and bdevsw[] as empty arrays and remove all those DAMNED defines as well.. Each of these drivers has a SYSINIT linker set entry that comes in very early.. and asks teh driver to add it's own entry to the two devsw[] tables. some slight reworking of the commits from yesterday (added the SYSINIT stuff and some usually wrong but token DEVFS entries to all these devices. BTW does anyone know where the 'ata' entries in conf.c actually reside? seems we don't actually have a 'ataopen() etc... If you want to add a new device in conf.c please make sure I know so I can keep it up to date too.. as before, this is all dependent on #if defined(JREMOD) (and #ifdef DEVFS in parts)
* First set of changes to eliminate the ad-hoc device buffer queues,dyson1995-11-191-12/+10
| | | | | | replacing them with TAILQ's as appropriate. The SCSI code is the first to be changed -- until the changes are complete, both b_act and b_actf will be in the buf structure. b_actf will eventually be removed.
* Make a lot of things static.phk1995-10-211-13/+13
|
* Some bug fixes for the worm driver:joerg1995-10-091-9/+13
| | | | | | | | | | | | | | | o don't use polled mode after the device probe phase o don't biodone() a NULL buffer pointer o increase the timeout for scsi_read_capacity(); WORMs are slooow o make WORMMs known to scsiconf at all This brings the driver in a state where it at least doesn't immediately panic, nor hangs the controller any more. Unfortunately, at least the YAMAHA CDR100 i've been testing with answered my write attempts with an "Incorrect command sequence" response. Perhaps other CD burners might work however. Reviewed by: dufault
* Remove trailing whitespace.rgrimes1995-05-301-9/+9
|
* Change defintion of unit to minor(dev). Sorry for notdufault1995-05-031-4/+2
| | | | having this in my local build. Thanks to gpalmer.
* Try to make this work again. Peter's last changes left it like :gpalmer1995-05-031-4/+4
| | | | | | | | loading kernel worm.o: Undefined symbol `_STUNIT' referenced from text segment I copied the STUNIT definition from the old scsiconf.c into this file to work around this problem.
* Set SCSI_NOSLEEP only when we really need to. This requires an additionalgibbs1995-04-231-7/+7
| | | | | | | | flags parameter to all xxstart routines so that the correct information can be passed down into the device specific routines. This is needed to ensure that ccb/scb allocation routines don't hang. Submitted by: John Dyson
* Declare wakeup() non-implicitly and don't bogusly cast its arg.bde1995-04-231-2/+3
|
* 1. Add text for ASC/ASCQdufault1995-03-151-3/+3
| | | | | 2. Clean up probe messages. This is how I propose it looks for 2.1 so if you don't like it you have my e-mail address.
* 1. Change driver signatures to full signature for slice support.dufault1995-03-041-0/+360
2. Add "pt" (processor type) driver. 3. Add "worm" (Write Once) driver for Jordan.
OpenPOWER on IntegriCloud