summaryrefslogtreecommitdiff
path: root/sys/scsi/scsi_base.c
AgeCommit message (Expand)Author
2019-12-06Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,Kenneth R Westerback
2019-12-05Don't discard error from mode sense (6) if mode sense (10) isKenneth R Westerback
2019-12-05Shrink scsi_mode_do_sense() parameter list by eliminating the threeKenneth R Westerback
2019-12-05No need for 'byte2' parameter to scsi_mode_sense[_big]() since weKenneth R Westerback
2019-12-05Move prototypes for scsi_mode_sense(), scsi_mode_sense_big(),Kenneth R Westerback
2019-12-04Convert infinite sleeps to {m,t}sleep_nsec(9).Martin Pieuchot
2019-12-03Check for expected mode sense page code as well as expected mode page length ...Kenneth R Westerback
2019-12-03Add display of mode sense data to SCSIDEBUG.Kenneth R Westerback
2019-12-02Have SCSIDEBUG show the number of bytes of VPD inquiry data received,Kenneth R Westerback
2019-12-02Don't forget the scsi_vpd_header when calculating the number of bytesKenneth R Westerback
2019-12-01Tweak variable names to be consistent with 'pg_code' and 'pg_length'Kenneth R Westerback
2019-12-01Make prototype and implementation signatures the same by removingKenneth R Westerback
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-26Don't zero existing values for density, block_count and block_size inKenneth 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-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-09Fix SCSIDEBUG display of VPD inquiry data.Kenneth R Westerback
2019-09-29Introduce SC_DEBUG_SENSE() and simplify code by eliminating a bunchKenneth 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-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-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-01Adopt the SCSI versioning #define's from FreeBSD. Eliminate theKenneth R Westerback
2019-08-28Introduce SCSI0(), SCSI2() and SCSI3() defines to clarify (some) usesKenneth R Westerback
2017-09-08If you use sys/param.h, you don't need sys/types.hTheo de Raadt
2017-05-29To prevent anyone else from stumbling on this (now) archaic bit ofKenneth R Westerback
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-03-12Standardize on calling local scsi_link variables 'link' instead ofKenneth R Westerback
2016-03-10Enforce some naming sanity. Stop using 'sc_link' to mean two differentKenneth R Westerback
2016-03-07Sync no-argument function declaration and definition by adding (void).Christian Weisgerber
2015-06-07More damned eye searing whitespace.Kenneth R Westerback
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-03-08Fix some format specifiers in debug code.Kenneth R Westerback
2015-01-27remove the second void * argument on tasks.David Gwynne
2014-09-20Fix bug in taskq conversion that would lead to a null pointer dereference.Mark Kettenis
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-09-09rework the hotplug requests to use tasks rather than workqs.David Gwynne
2014-07-01take the biglock before calling the xs completion handler.David Gwynne
2014-07-01take the biglock when calling an adapters scsi_cmd handler.David Gwynne
2014-07-01start on being able to safely run io through the midlayer withoutDavid Gwynne
2014-04-22factor out the code that figures out whether you're probing or detachingDavid Gwynne