summaryrefslogtreecommitdiffstats
path: root/sys/scsi/st.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Added "scsi target" device that can act as a target for scsi transfersdufault1995-04-141-123/+108
| | | | | | | | from an initiator Added Julian's support for residuals. Added Julian's fixes to the tape driver Made compile cleanly with -Wall Reduce boot up output
* cd.c: Julian's CD audio cleanupdufault1995-03-211-76/+138
| | | | | | | | | | sd.c: Julian's removal of subdriver requests st.c, scsi_tape.h: Julian's suport of compressed tape drives Note: compressed tape drives are still not working fully. scsiconf.h, scsi_base.c, scsi_driver.c: address problems in probes and error console logs
* 1. Add text for ASC/ASCQdufault1995-03-151-4/+4
| | | | | 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-9/+14
| | | | | 2. Add "pt" (processor type) driver. 3. Add "worm" (Write Once) driver for Jordan.
* Reviewed by: gibbs@freefall.cdrom.com julian@freefall.cdrom.comdufault1995-03-011-195/+113
| | | | | | | 1. Support for fixed device configuration 2. Hoisted common code to scsi_driver 3. SCSI busses dynamically allocated at boot 4. Reorg'd for LKMs
* iodone->biodone; get rid of older call syntax.jkh1995-02-251-2/+2
|
* Split byte packing functions into signed and unsigned versions.dufault1995-01-311-11/+11
| | | | Left most current invocations as signed, though that could be wrong.
* 1. Reject obviously broken CDB command lengthsdufault1995-01-241-2/+2
| | | | 2. Use "uprintf" (instead of printf) to log the "tape not ready" message
* Reviewed by: gibbs@estienne.CS.Berkeley.EDUdufault1995-01-081-23/+27
| | | | | | | Reenabled "SCIOCOMAND" ioctl. Restructured so low level drivers can easily request retries. Added preliminary fixed SCSI devices (should be revisited before 2.1) Added "ssc" device that can have its' (HBA, ID, LUN) set via ioctl.
* Allocate all scsi-devices on the fly, not just CDs.phk1994-12-161-45/+75
| | | | | Reviewed by: phk Submitted by: rgrimes
* Andreas Klemm's tape erase patches from 1.1.5.1jkh1994-10-281-1/+46
| | | | Submitted by: andreas
* Finished device configuration database work for all ISA devices (except `ze')wollman1994-10-231-4/+8
| | | | | | | | | | | | | and all SCSI devices (except that it's not done quite the way I want). New information added includes: - A text description of the device - A ``state''---unknown, unconfigured, idle, or busy - A generic parent device (with support in the m.i. code) - An interrupt mask type field (which will hopefully go away) so that . ``doconfig'' can be written This requires a new version of the `lsdev' program as well (next commit).
* all: register deviceswollman1994-10-191-1/+36
| | | | cd.c sd.c: implement disk stats
* Reviewed by: Julian Elischer / Jordan K. Hubbardse1994-09-281-3/+33
| | | | | | | | | | | | Changes are only effective, if NEW_SCSICONF is defined: 1) Added u_int16 quirks to struct scsi_link for device quirks. 2) Added void *devmodes to struct scsi_link for tape density modes. 3) Modified selectdev() to return first full match (with wildcard). With this patch all device dependent configuration is done in one place (scsiconf.c), while there were some specifications in st.c and some hardware dependent drivers (ie. ncr.c) before.
* Rather than exclude bounce buffers support with NOBOUNCE, include itdg1994-08-311-2/+2
| | | | | | with BOUNCE_BUFFERS. This is more intuitive, and is better for future multiplatform support. Added BOUNCE_BUFFERS option to the GENERIC and LINT kernel config files.
* Added $Id$dg1994-08-021-11/+1
|
* Bounce buffers. From John Dyson with help from me.dg1994-03-231-2/+10
|
* Patch from Julian. Commit message by me.rgrimes1994-01-291-3/+4
| | | | | | | | | | | | | | | | | | | | | | cd.c: Initialize channel info in CDIOCSETVOL ioctl. Correct CDIOCSTOP and CDIOCEJCET ioctls to use scsi_stop_unit instead of scsi_start_unit. Add CDIOCALLOW and CDIOCPREVENT ioctls. ch.h: Return EBUSY instead of ENXIO if the device is already in use. scsi_base.c: Add scsi_stop_unit routine. sd.c: Add mising indirection through sc_link to sd_get_parms routine when checking for media loaded. st.c: Return EBUSY instead of ENXIO if the device is already in use. Clear the SDEV_WAITING flag in ststart if we do the wakeup call.
* Make everything compile with -Wtraditional. Make it easier to distributewollman1993-12-191-9/+9
| | | | | | | | | | | a binary link-kit. Make all non-optional options (pagers, procfs) standard, and update LINT to reflect new symtab requirements. NB: -Wtraditional will henceforth be forgotten. This editing pass was primarily intended to detect any constructions where the old code might have been relying on traditional C semantics or syntax. These were all fixed, and the result of fixing some of them means that -Wall is now a realistic possibility within a few weeks.
* New version of scsi code from Julianrgrimes1993-11-181-1941/+1498
|
* >From: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>rgrimes1993-10-201-2/+2
| | | | | | | | | Date: Wed, 20 Oct 1993 18:28:44 +0300 Editors Note: Line ended with comma (``,'') instead of semicolon (``;''), this should not have effected the code. Submitter made no comments other than it was ``simple''.
* Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, somergrimes1993-10-161-13/+1
| | | | minor cleanup. Added $Id$ to files that did not have any version info, etc
* >From: Julian Elischer <julian@jules.DIALix.oz.au>rgrimes1993-10-111-2/+3
| | | | | | | | | | | | | Subject: Re: Error reading from DAT (fwd) Date: Mon, 11 Oct 1993 03:02:39 -40962758 (WST) Some tapes won't do anything until you tell them to load. Other tapes think that being asked to load is a great excuse to make the next command return a "unit attention" (media changed) error. Since we need to do the load, throw in a dummy instruction to cop the error. specifically for DEC DAT drives.
* The dynamically allocated struct's where not getting properly initializedrgrimes1993-09-201-2/+4
| | | | | | | as malloc memory is NOT zerod. Added bzero's after the malloc calls to make sure that things are initialized. >From Julian Elischer
* Several fixes to the st driver, for density detection and selection. Norgrimes1993-09-071-43/+233
| | | | longer have to do the st -f /dev/rst0 blocksize 0 on dat drives!
* SCSI code update from Julianrgrimes1993-09-051-279/+177
|
* Revised drivers from Julian. Support for generic scsi. Fixed scsi tape (st.c)rgrimes1993-08-281-957/+1108
| | | | | problems with respect to multiple tar files on one tape. Now uses malloc of data structures to reduce static kernel size.
* Fixed printf's so that they announce them selfs correctly (ie aha%d: beforergrimes1993-08-211-84/+59
| | | | every error message and every probe message).
* Update scsi code to the latest from Julian. This code is now identicalrgrimes1993-08-201-84/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to the last copy from Julian. After this commit I will be commiting the local fixes and makeing diffs to send back to Julian so he can update his code. ---- From julian@jules.DIALix.oz.au Thu Aug 5 09:25:23 1993 To: hd@world.std.com, julian@jules.DIALix.oz.au Cc: nate@bsd.coe.montana.edu Subject: Re: new scsi ---- From julian@jules.DIALix.oz.au Sat Aug 7 04:13:17 1993 To: hd@world.std.com (HD Associates) Cc: nate@bsd.coe.montana.edu Subject: Re: timeout diffs Here are the diffs to take the scsi stuff to my latest tree from what Nate and you received.. the changes remove all the local timeout stuff and use (un)timeout(), ---- From julian@jules.DIALix.oz.au Sat Aug 7 04:13:45 1993 To: hd@world.std.com (HD Associates) Cc: nate@bsd.coe.montana.edu, briggs@csugrad.cs.vt.edu here is a fix for a silly bug in the scsiconf I just sent out and a similar fix for st.c
* Removed tabs from the front of XXU: messages to make it fit the otherrgrimes1993-08-061-5/+5
| | | | | messages closer. Added missing new line to the message about to many scsi cd drives.
* Removed PATCHKIT headers and updated our sources to Julian's withnate1993-07-291-156/+555
| | | | | our patches back in. Major changes to the Bustek driver and the Tape driver, the rest are minor.
* Initial import, 0.1 + pk 0.2.4-B1rgrimes1993-06-121-0/+1774
OpenPOWER on IntegriCloud