summaryrefslogtreecommitdiff
path: root/sys/scsi/files.scsi
AgeCommit message (Collapse)Author
2005-08-05make the naming of the safte files consisten with the rest of the scsiDavid Gwynne
drivers ok krw@ deraadt@ marco@
2005-08-01a new scsi enclosure services driver. this and safte replace the old sesDavid Gwynne
driver. rather than relying on its own set of tools, ses reports the enclosure status via the hw.sensors sysctl tree. so far only temperature is reported ok marco@ deraadt@ krw@
2005-07-31remove the ses driver. it has never been enabled in GENERIC on any archDavid Gwynne
in openbsds lifetime so noone is going to miss it. if you did enable it, it either didnt work or the data was hard to read and usually wrong. ok deraadt@ marco@
2005-07-25add safte, a small driver for monitoring scsi accessed fault-tolerantDavid Gwynne
enclosures via the hw.sensors sysctl tree. ok marco@ krw@ please do tdeval@ looks ok grange@
2005-07-02Don't use READ FORMAT CAPACITIES to determine the size of ATAPI sdKenneth R Westerback
devices. Use READ CAPACITY like NetBSD, FreeBSD, Linux and OpenSolaris do. Well, NetBSD keeps READ FORMAT CAPACITIES as a backup. Fixes problems with devices (such as my IBM USB Memory Key) which return block counts that are off by one for READ FORMAT CAPACITIES. This eliminates the significant difference between sd_atapi.c and sd_scsi.c so merge sd_scsi.c into sd.c and just be careful to mark ATAPI removable devices as both SDEV_NOSYNCCACHE and unable to return MODE SENSE page 4 info. All geometry faking is now in one place. Where it can be 'improved'. sd_scsi.c, sd_atapi.c and atapi_disk.h will be removed as a result.
2005-05-27Convert cd code to new mode sense framework. Merge cd_scsi andKenneth R Westerback
cd_atapi into cd since code is now almost identical, and only affects volume adjusting ioctl's. Minor side effect of allowing cd_load_unload() attempts to scsi cd's as NetBSD does.
2005-05-14Add scsi_mode_[sense|select]_big() and use it instead ofKenneth R Westerback
atapi_mode_[sense|select](). This will allow the removal of atapi_base.c and atapi_all.h files, and sets the stage for better usb mode sense handling amoung other things. Remove cd_scsibus_[get|set]_mode() and sd_scsibus_mode_sense() shims in favour of scsi_mode_[sense|select](). Add zero'ing of reserved length field in scsi_mode_select(). Change some uchar * type parameters to scsi_mode_header *. No functional changes. Mostly from NetBSD. ok dlg@.
2005-03-08Cosmetics...Thierry Deval
Mainly remove space between locators parens, replace spaces with tabs where appropriate and consistently align dependencies.
2004-09-15target/lun attributes are optionalMichael Shalayeff
2004-01-16Remove this farce.Miod Vallat
2001-11-23Typo in comment.Miod Vallat
2000-02-21add SES/SAF-TE SCSI devicemjacob
1999-07-25fake sd_atapi.c and sd_scsi.c until costa fixes it for realTheo de Raadt
1999-07-20Don't pull in cd_scsi/cd_atapi stuff unless cd device is usedConstantine Sapuntzakis
1999-07-20Make acd redundant.Constantine Sapuntzakis
Mostly based on NetBSD-current
1996-10-31$OpenBSD RCSIDs + comment fix in sd.cNiklas Hallqvist
1996-05-22scsi attribute elsewhereTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-02-20Sync. with NetBSD:briggs
- scsi prototypes. - Add SCSI scanner support by Kenneth Stailey and Joachim Koenig-Baltes, hacked a but. Needs more work. ss.c: - Truncate to the window size in ssminphys(), not ssread(). - Missed some prototyping foo. - Minor tweak; make sure window size is 0 on close. - Change variable name to avoid GCC warning. - Handle EOF a little differently.
1995-10-18initial import of NetBSD treeTheo de Raadt