char: broadcom: Add vcio module
authorNoralf Trønnes <noralf@tronnes.org>
Fri, 26 Jun 2015 12:27:06 +0000 (14:27 +0200)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:03:49 +0000 (16:03 +0000)
commitdee1ddef893c195441586cc4b89bbcabeb8ec770
tree0836aec2f206e521c4748d2d59e8d0e99c536d03
parent598772a198bba9e9be29c82d5cb035604498afc5
char: broadcom: Add vcio module

Add module for accessing the mailbox property channel through
/dev/vcio. Was previously in bcm2708-vcio.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
char: vcio: Add compat ioctl handling

There was no compat ioctl handler, so 32 bit userspace on a
64 bit kernel failed as IOCTL_MBOX_PROPERTY used the size
of char*.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
char: vcio: Fail probe if rpi_firmware is not found.

Device Tree is now the only supported config mechanism, therefore
uncomment the block of code that fails the probe if the
firmware node can't be found.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
drivers/char/broadcom/Kconfig
drivers/char/broadcom/Makefile
drivers/char/broadcom/vcio.c [new file with mode: 0644]