summaryrefslogtreecommitdiffstats
path: root/sys/scsi/ch.c
Commit message (Collapse)AuthorAgeFilesLines
* Add the missing forward declaration of chopen. Reported in theats1995-01-191-1/+2
| | | | mailinglists some time ago.
* Reviewed by: gibbs@estienne.CS.Berkeley.EDUdufault1995-01-081-6/+6
| | | | | | | 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.
* Finished device configuration database work for all ISA devices (except `ze')wollman1994-10-231-3/+7
| | | | | | | | | | | | | 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).
* Make my ALLDEVS kernel compile (basically, LINT minus a lot of options).wollman1994-10-211-2/+3
| | | | This involves fixing a few things I broke last time.
* all: register deviceswollman1994-10-191-1/+36
| | | | cd.c sd.c: implement disk stats
* Patch from Julian. Commit message by me.rgrimes1994-01-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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-4/+6
| | | | | | | | | | | 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.
* Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, andwollman1993-11-251-3/+7
| | | | add same (sans -Werror) to Makefile for future compilations.
* New version of scsi code from Julianrgrimes1993-11-181-852/+352
|
* Fixed printf's so that they announce them selfs correctly (ie aha%d: beforergrimes1993-08-211-83/+57
| | | | every error message and every probe message).
* Update scsi code to the latest from Julian. This code is now identicalrgrimes1993-08-201-37/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 PATCHKIT headers and updated our sources to Julian's withnate1993-07-291-12/+1
| | | | | 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/+1015
OpenPOWER on IntegriCloud