mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
rapidio: add mport char device driver
Add mport character device driver to provide user space interface to basic RapidIO subsystem operations. See included Documentation/rapidio/mport_cdev.txt for more details. [[email protected]: fix printk warning on i386] [[email protected]: mport_cdev: fix some error codes] Signed-off-by: Alexandre Bounine <[email protected]> Signed-off-by: Dan Carpenter <[email protected]> Tested-by: Barry Wood <[email protected]> Cc: Matt Porter <[email protected]> Cc: Aurelien Jacquiot <[email protected]> Cc: Andre van Herk <[email protected]> Cc: Barry Wood <[email protected]> Cc: Randy Dunlap <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
458bdf6e39
commit
e8de370188
6 changed files with 3105 additions and 0 deletions
|
|
@ -67,6 +67,14 @@ config RAPIDIO_ENUM_BASIC
|
|||
|
||||
endchoice
|
||||
|
||||
config RAPIDIO_MPORT_CDEV
|
||||
tristate "RapidIO /dev mport device driver"
|
||||
depends on RAPIDIO
|
||||
help
|
||||
This option includes generic RapidIO mport device driver which
|
||||
allows to user space applications to perform RapidIO-specific
|
||||
operations through selected RapidIO mport.
|
||||
|
||||
menu "RapidIO Switch drivers"
|
||||
depends on RAPIDIO
|
||||
|
||||
|
|
|
|||
|
|
@ -5,3 +5,4 @@
|
|||
obj-$(CONFIG_RAPIDIO_TSI721) += tsi721_mport.o
|
||||
tsi721_mport-y := tsi721.o
|
||||
tsi721_mport-$(CONFIG_RAPIDIO_DMA_ENGINE) += tsi721_dma.o
|
||||
obj-$(CONFIG_RAPIDIO_MPORT_CDEV) += rio_mport_cdev.o
|
||||
|
|
|
|||
2720
drivers/rapidio/devices/rio_mport_cdev.c
Normal file
2720
drivers/rapidio/devices/rio_mport_cdev.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue