summaryrefslogtreecommitdiffstats
path: root/sys/scsi/ssc.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a PARITITON arg to SCSI_MKFIXED, and use it tobrian1997-12-231-3/+7
| | | | | | specify RAW_PART for the suopen() in sscioctl(). Now you can `scsi -f /dev/ssc -p'.
* Update select -> poll in drivers.peter1997-09-141-2/+3
|
* Removed unused #includes.bde1997-08-021-5/+1
|
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Fixed a Typoscrappy1996-03-281-2/+2
|
* Using devfs_add_devswf() instead of devfs_add_devsw()scrappy1996-03-281-4/+6
| | | | Reviewed by: julian@freebsd.org
* Replaced nxmmap by nommap (if the mmap function gets called, then thebde1995-12-101-2/+2
| | | | device must be configured).
* Julian forgot to make the *devsw structures static.phk1995-12-081-2/+2
|
* Pass 3 of the great devsw changesjulian1995-12-081-36/+31
| | | | | | | | | | | | | | | | | | | | | | | 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.. :)
* Removed dummy routines sscstrategy(), sscread(), sscwrite() andbde1995-12-051-10/+6
| | | | | | | | | sscselect(). Use the standard dummies nostrategy(), noread(), nowrite() and noselect() instead. sscread() and sscwrite() returned bogus errnos. It isn't possible to return an error from a select routine so noselect() is just as bogus as sscselect() (it's equivalent to nullselect()).
* 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/+49
| | | | | | | | | | | | | | | | | | | | | | | | 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)
* Fixed the type of sscstrategy() (return void).bde1995-11-041-4/+2
| | | | | | Removed sscdump() (it was never used). Removed sscpsize() (it was never used, and returned a bogus value (ENXIO = 6 means a size of 6)).
* Moved unit definitions out of scsiconf.h;dufault1995-05-031-4/+3
| | | | | | Added CONTROL device that only does user-ioctl and nothing else; Added protection so user-ioctl requires write access; Clean up scsiconf.h a little. It needs more work.
* Ensured all files have copyright and RCS ID variable.dufault1995-01-081-0/+39
|
* Reviewed by: gibbs@estienne.CS.Berkeley.EDUdufault1995-01-081-0/+82
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.
OpenPOWER on IntegriCloud