summaryrefslogtreecommitdiffstats
path: root/utils/scsi
AgeCommit message (Collapse)AuthorFilesLines
2020-01-29scsi: add support for listing devices on WindowsAmaury Pouly2-2/+58
Change-Id: I963028c6017796152a201791c078f672bf84a40a
2020-01-12nwztool/scsitool: rewrite device detection on linux to make it simplerAmaury Pouly1-103/+27
Change-Id: I8f393a53ea64c82f05e437923bcba05aa8a7a75c
2018-11-30rbscsi: add experimental API to list connected SCSI devicesAmaury Pouly2-1/+236
For now it is only implemented on linux using /sys scanning Change-Id: Ifdfe7564e6e8d0307ae6ddc53e49bb9aaf5a8268
2017-04-03scsi: don't make the linux lib depend on a library header fileAmaury Pouly1-2/+4
The code dependend on the sg_lib header being present, remove this dependency so that we only need public headers. Change-Id: I69398453635135deb33e2adf67f15ddb80e4ba16
2017-01-07imxtools: various fixes for WindowsAmaury Pouly2-2/+35
Don't use colors since the terminal doesn't support it. Also packing is broken on MinGW so use #pragma pack when compiling for windows, this is also supported by MSCV. Change-Id: I635649d52ed5f2e0af46cb9ca2ec325955b2ddb2
2017-01-07Add multiplatform library for raw SCSI commandsAmaury Pouly3-0/+413
Several tools need to perform raw SCSI commands, and we need to support Linux, Windows and Mac OS, without pulling tons of dependencies to build it easily. This very simple library has no dependency and supports Linux. TODO: - windows - mac os Change-Id: I496f5ad2490bd3e96ad962d31cce4e511a523c3a