[PATCH 3/3] hdio: improve HDIO support

Eugene Syromyatnikov evgsyr at gmail.com
Mon Aug 23 08:58:43 UTC 2021


On Sat, Aug 21, 2021 at 3:53 PM Srikavin Ramkumar
<srikavinramkumar at gmail.com> wrote:
>
> Add decoders for HDIO_GET_UNMASKINTR, HDIO_SET_UNMASKINTR,
> HDIO_GET_MULTCOUNT, HDIO_SET_MULTCOUNT, HDIO_OBSOLETE_IDENTITY,
> HDIO_GET_IDENTITY, HDIO_GET_KEEPSETTINGS, HDIO_SET_KEEPSETTINGS,
> HDIO_GET_32BIT, HDIO_GET_NOWERR, HDIO_GET_DMA, HDIO_GET_NICE,
> HDIO_SET_NICE, HDIO_GET_WCACHE, HDIO_GET_ACOUSTIC, HDIO_GET_ADDRESS,
> HDIO_GET_BUSSTATE, HDIO_SET_BUSSTATE, and HDIO_DRIVE_RESET.
>
> * maint/gendefs/hdio.def: New file.
> * src/Makefile.am (libstrace_a_SOURCES): Add gen/generated.h and gen/gen_hdio.c.
> * src/gen/gen_hdio.c: Add generated file.
> * src/gen/generated.h: New file.
> * src/hdio.c: Add call to generated file for unimplemented commands.
> * src/xlat/hdio_busstates.in: New file.
> * src/xlat/hdio_ide_nice.in: Likewise.
> * tests/ioctl_hdio.c: Add tests for newly implemented commands.

Resolves: https://github.com/strace/strace/issues/131

-- 
Eugene Syromyatnikov
mailto:evgsyr at gmail.com
xmpp:esyr at jabber.{ru|org}


More information about the Strace-devel mailing list