summaryrefslogtreecommitdiffstats
path: root/share/misc/scsi_modes
Commit message (Collapse)AuthorAgeFilesLines
* Add a definition for mode page 0x2a "CD capabilities and mechanicaljoerg2002-02-241-0/+52
| | | | status page".
* Include the Power Control page (0x1a) that is standardized by SCSI-3.joerg2001-05-221-0/+9
| | | | | | | | | At least some IBM drives support the Standby Condition Timer (i. e. they allow for an automatic spindown). Update copyright for 2001. I don't want to insert my name for just one mode page definition, do people think that `The FreeBSD Project' is OK?
* fix minor oops in new data compression page definitionmjacob2000-10-291-1/+0
|
* Add 3 SCSI-3 bits for Sequential Access Device Congifuration Page.mjacob2000-10-281-2/+33
| | | | | Add Data Compression Page (SCSI-3). Add some clarifying comments at the top of the file that say what the syntax is.
* This is an overhaul of the mode page handling in camcontrol as well askbyanc2000-08-081-24/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | related patches. These include: * Mode page editting can be scripted. This involves two things: first, if stdin is not a tty, changes are read from stdin rather than invoking $EDITOR. Second, and more importantly, not all modepage entries must be included in the change set. This means that camcontrol can now gracefully handle more intrusive editting from the $EDITOR, including removal or rearrangement of lines. It also means that you can do stuff like: # echo "WCE: 1" | camcontrol modepage da3 -m 8 -e # newfs /dev/da3 # echo "WCE: 0" | camcontrol modepage da3 -m 8 -e * Range-checking on user-supplied input values. modeedit.c now uses the field width specifiers to determine the maximum allowable value for a field. If the user enters a value larger than the maximum, it clips the value to the max and warns the user. This also involved patching cam_cmdparse.c to be more consistent with regards to the "count" parameter to arg_put (previously is was the length of strings and 1 for all integral types). The cam_cdbparse(3) man page was also updated to reflect the revised semantics. * In the process, I removed the 64 entry limit on mode pages (not that we were even close to hitting that limit). This was a nice side-effect of the other changes. * Technically, the new mode editting functionality allows editting of character array entries in mode pages (type 'c' or 'z'), however since buff_encode doesn't grok them it is currently useless. * Camcontrol gained two new options related to mode pages: -l and -b. The former lists all available mode pages for a given device. The latter forces mode page display in binary format (the default when no mode page definition was found in scsi_modes). * Added support for mode page names to scsi_modes. Allows names to be displayed alongside mode numbers in the mode page listing. Updated scsi_modes to use the new functionality. This also adds the semicolon into the scsi_modes syntax as an optional mode page definition terminator. This is needed to name pages without providing a page format definition. * Updated scsi_all.h to include a structure describing mode page headers. * Added $FreeBSD$ line to scsi_modes. Inspired by: dwhite Reviewed by: ken
* Add some extra flags in the caching page.tegge1997-12-051-1/+5
| | | | | | Some firmware versions becomes unreliable when these bits are not preserved, e.g. ST15150N-0017 breaks if the DISC bit is cleared in the caching page. This happened by default when editing the page.
* Add page 0x10 (Device Configuration Page for sequential-access devices).joerg1997-01-171-0/+26
|
* Fix a spelling error.mpp1996-08-211-1/+1
|
* Add the ``CD-ROM Audio Control Parameter Page''.joerg1995-12-281-0/+25
|
* New modes file needed for mode editor. "b" can not stand for bit fields.dufault1995-05-051-49/+49
|
* Symoblic representation of mode pagesdufault1995-04-281-0/+206
OpenPOWER on IntegriCloud