summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Expand)Author
2019-11-28Abstract mode sense block descriptor parsing into a separate function.Kenneth R Westerback
2019-11-28Align an annoying comment.Kenneth R Westerback
2019-11-28Always pass a pointer to 'big' to scsi_do_mode_sense().Kenneth R Westerback
2019-11-26Reinitialize 'err' to ensure we are not checking a stale value.Kenneth R Westerback
2019-11-26Don't zero existing values for density, block_count and block_size inKenneth R Westerback
2019-11-25Use scsi_read_cap[10|16] instead of re-rolling the code.Kenneth R Westerback
2019-11-25Move struct scsi_read_cap_data and struct scsi_read_cap_data_16 toKenneth R Westerback
2019-11-23Consistently use ISSET() to check for set flags.Kenneth R Westerback
2019-11-23Consistently use !ISSET() to check for unset flags.Kenneth R Westerback
2019-11-23Consistently use SET() to set bits.Kenneth R Westerback
2019-11-22Be consistent and always use CLR() to clear flags.Kenneth R Westerback
2019-11-21Be consistent and always use [!]ISSET() to test flags in xs->flags.Kenneth R Westerback
2019-11-21Be consistent and always use SET() to set flags in xs->flags.Kenneth R Westerback
2019-11-10Tedu scsi_scanner.h as krw@ intended to doPatrick Wildt
2019-11-09Make sure that SDEV_NOSYNC abd SDEV_NOWIDE quirks are notKenneth R Westerback
2019-11-09Shuffle sd_get_parms() logic to ensure we only update sc->params withKenneth R Westerback
2019-11-09Fix SCSIDEBUG display of VPD inquiry data.Kenneth R Westerback
2019-11-09Fix SCSIDEBUG display of VPD inquiry data.Kenneth R Westerback
2019-11-09Fix SCSIDEBUG compile. Missed a %lx -> %x.Kenneth R Westerback
2019-11-08The u_long fields in struct disk_parms (secsize, heads, cyls, sectors)Kenneth R Westerback
2019-11-07sd_size() is a wrapper around sd_read_cap_10() and sd_read_cap_16() soKenneth R Westerback
2019-10-23There used to be three possible return values from sd_get_parms(), butKenneth R Westerback
2019-10-22No need to always pass the same thing to sd_get_parms(). One lessKenneth R Westerback
2019-10-19Use !ISSET() for unset flag checks.Kenneth R Westerback
2019-10-19Use ISSET() for the easier flag checks.Kenneth R Westerback
2019-10-19Fix typo in previous, link->flag is link->flags.Kenneth R Westerback
2019-10-19Resolve mix of '&=' and CLR() usage in favour of CLR().Kenneth R Westerback
2019-10-19Resolve mix of '|=' and SET() usage in favour of SET().Kenneth R Westerback
2019-09-30SC_DEBUGN is not spelled SCSI_DEBUGN.Kenneth R Westerback
2019-09-29Restore SC_DEBUGN() as it was used outside sys/scsi. Some things areKenneth R Westerback
2019-09-29Introduce SC_DEBUG_SENSE() and simplify code by eliminating a bunchKenneth R Westerback
2019-09-29Continue SCSIDEBUG cleanup by nuking pointles SC_DEBUGN() #define.Kenneth R Westerback
2019-09-29Move some logic inside scsi_show_xs() instead of surrounding theKenneth R Westerback
2019-09-29Tweak some whitespace to make autoindenter happy. Use consistent naming idiom...Kenneth R Westerback
2019-09-27Use consistent idiom/naming convention for the the #includeKenneth R Westerback
2019-09-27Add/tweak #endif comments to make spelunking via grep more rewarding.Kenneth R Westerback
2019-09-27Shuffle and consolidate SCSIDEBUG declarations into fewer sections inKenneth R Westerback
2019-09-24Use consistent names for unused flags/quirks when printing same underKenneth R Westerback
2019-09-23When printing the scsi_link info under SCSIDEBUG show state, luns,Kenneth R Westerback
2019-09-21Expand scsi_inquiry_data to 96 bytes to include new fields. If theKenneth R Westerback
2019-09-20Print inquiry and read capacity (10 and 16) data under SCSIDEBUG.Kenneth R Westerback
2019-09-19Introduce and use convenience SID_REPOONSE_FORMAT() define.Kenneth R Westerback
2019-09-19Add new (a.k.a SBC-4) flags/fields to struct scsi_read_cap_16. AdoptKenneth R Westerback
2019-09-18Update struct inquiry_data with latest flags and remove flags that we didn't ...Kenneth R Westerback
2019-09-16Update list of device types with combination of FreeBSD andKenneth R Westerback
2019-09-15With the recent fixes to SCSI version detection we reproduced aKenneth R Westerback
2019-09-14Typo in comment. scsi_size() is actually sd_size().Kenneth R Westerback
2019-09-10Shuffle a couple of lines to make the device -> st_softc dances lookKenneth R Westerback
2019-09-10No need to check for ST_MOUNTED before calling st_mount_tape() AND inKenneth R Westerback
2019-09-10return is not a funciton call. Avoid pointless parenthesis.Kenneth R Westerback