Skip to content

IOCTLs in ddbridge

Daniel Scheller linux-doc linux-media linux-s390 lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest3 patches 3 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Documentation: ioctl-number: add ddbridge IOCTLsDocumentation/ioctl/ioctl-number.txt+1 -00 replies
2/3ddbridge: uAPI header for IOCTL definitions and related data structsMAINTAINERS include/uapi/linux/ddbridge-ioctl.h+62 -00 replies
3/3ddbridge: implement IOCTL handlingdrivers/media/pci/ddbridge/Makefile drivers/media/pci/ddbridge/ddbridge-core.c drivers/media/pci/ddbridge/ddbridge-ioctl.c +1 more+215 -1100 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJasmin Jessich
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] IOCTLs in ddbridge

From: Daniel Scheller <[email protected]>

Third iteration of the IOCTL patches for ddbridge, split into multiple patches:

Patch 1 just adds the reservation/information of the used IOCTLs into ioctl-numbers.txt in the Docs dir. Doc, s390 and LKML are Cc'ed on this patch.

Patch 2 adds the header which defines the IOCTLs in include/uapi/ so userspace applications can directly reuse the IOCTL definitions by including this file.

Patch 3 (re)implements the IOCTL handling into ddbridge. This is basically code that was there since literally forever, but had to be removed along with the initial ddbridge-0.9.x bump.

The whole functionality gets more important these days since ie. the new MaxSX8 cards may require updating from time to time since these cards implement the demod/tuner communication in their FPGA (which normally I2C drivers exist for). Also, the CineS2v7 and derivatives received some important updates and the possibility to receive higher bitrate transponders these days, so users should be able to update their cards.

Changes since the last versions:
- Docs, headers and code split apart and sent out separately to the subsystems.
- Only the two absolutely necessary IOCTLs (DDB_FLASHIO and DDB_ID) are implemented for now.

Daniel Scheller (3):
Documentation: ioctl-number: add ddbridge IOCTLs
[media] ddbridge: uAPI header for IOCTL definitions and related data
structs
[media] ddbridge: implement IOCTL handling

 Documentation/ioctl/ioctl-number.txt        |   1 +
 MAINTAINERS                                 |   1 +
 drivers/media/pci/ddbridge/Makefile         |   3 +-
 drivers/media/pci/ddbridge/ddbridge-core.c  | 111 +----------------
 drivers/media/pci/ddbridge/ddbridge-ioctl.c | 179 ++++++++++++++++++++++++++++
 drivers/media/pci/ddbridge/ddbridge-ioctl.h |  32 +++++
 include/uapi/linux/ddbridge-ioctl.h         |  61 ++++++++++
 7 files changed, 278 insertions(+), 110 deletions(-)
 create mode 100644 drivers/media/pci/ddbridge/ddbridge-ioctl.c
 create mode 100644 drivers/media/pci/ddbridge/ddbridge-ioctl.h
 create mode 100644 include/uapi/linux/ddbridge-ioctl.h
Signature · 1 line
2.16.1