Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba4dc61f authored by Samuel Iglesias Gonsalvez's avatar Samuel Iglesias Gonsalvez Committed by Greg Kroah-Hartman
Browse files

Staging: ipack: add support for IP-OCTAL mezzanine board



IP-OCTAL is a 8-channels serial port device. There are several models one per
each standard: RS-232, RS-422, RS-485.

This driver can manage all of them.

Signed-off-by: default avatarSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0eeca14f
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -9,6 +9,8 @@ menuconfig IPACK_BUS


if IPACK_BUS
if IPACK_BUS


source "drivers/staging/ipack/devices/Kconfig"

source "drivers/staging/ipack/bridges/Kconfig"
source "drivers/staging/ipack/bridges/Kconfig"


endif # IPACK
endif # IPACK
+1 −0
Original line number Original line Diff line number Diff line
@@ -2,4 +2,5 @@
# Makefile for the IPACK bridge device drivers.
# Makefile for the IPACK bridge device drivers.
#
#
obj-$(CONFIG_IPACK_BUS)		+= ipack.o
obj-$(CONFIG_IPACK_BUS)		+= ipack.o
obj-y				+= devices/
obj-y				+= bridges/
obj-y				+= bridges/
+9 −0
Original line number Original line Diff line number Diff line
@@ -22,6 +22,15 @@ TPCI-200
* It has a linked list with the tpci200 devices it is managing. Get rid of it
* It has a linked list with the tpci200 devices it is managing. Get rid of it
  and use driver_for_each_device() instead.
  and use driver_for_each_device() instead.


IP-OCTAL
--------

* It has a linked list which saves the devices it is currently
  managing. It should use the driver_for_each_device() function. It is not there
  due to the impossibility of using container_of macro to recover the
  corresponding "struct ipoctal" because the attribute "struct ipack_device" is
  a pointer. This code should be refactored.

Ipack
Ipack
-----
-----


+7 −0
Original line number Original line Diff line number Diff line
config SERIAL_IPOCTAL
	tristate "IndustryPack IP-OCTAL uart support"
	depends on IPACK_BUS
	help
	  This driver supports the IPOCTAL serial port device for the IndustryPack bus.
	default n
+1 −0
Original line number Original line Diff line number Diff line
obj-$(CONFIG_SERIAL_IPOCTAL) += ipoctal.o
Loading