Skip to content

Commit ba4dc61

Browse files
samueliggregkh
authored andcommitted
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: Samuel Iglesias Gonsalvez <siglesias@igalia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 0eeca14 commit ba4dc61

File tree

8 files changed

+1223
-0
lines changed

8 files changed

+1223
-0
lines changed

drivers/staging/ipack/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ menuconfig IPACK_BUS
99

1010
if IPACK_BUS
1111

12+
source "drivers/staging/ipack/devices/Kconfig"
13+
1214
source "drivers/staging/ipack/bridges/Kconfig"
1315

1416
endif # IPACK

drivers/staging/ipack/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
# Makefile for the IPACK bridge device drivers.
33
#
44
obj-$(CONFIG_IPACK_BUS) += ipack.o
5+
obj-y += devices/
56
obj-y += bridges/

drivers/staging/ipack/TODO

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ TPCI-200
2222
* It has a linked list with the tpci200 devices it is managing. Get rid of it
2323
and use driver_for_each_device() instead.
2424

25+
IP-OCTAL
26+
--------
27+
28+
* It has a linked list which saves the devices it is currently
29+
managing. It should use the driver_for_each_device() function. It is not there
30+
due to the impossibility of using container_of macro to recover the
31+
corresponding "struct ipoctal" because the attribute "struct ipack_device" is
32+
a pointer. This code should be refactored.
33+
2534
Ipack
2635
-----
2736

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
config SERIAL_IPOCTAL
2+
tristate "IndustryPack IP-OCTAL uart support"
3+
depends on IPACK_BUS
4+
help
5+
This driver supports the IPOCTAL serial port device for the IndustryPack bus.
6+
default n
7+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
obj-$(CONFIG_SERIAL_IPOCTAL) += ipoctal.o

0 commit comments

Comments
 (0)