Skip to content

Commit

Permalink
Staging: ipack: add support for IP-OCTAL mezzanine board
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Samuel Iglesias Gonsalvez authored and Greg Kroah-Hartman committed May 9, 2012
1 parent 0eeca14 commit ba4dc61
Show file tree
Hide file tree
Showing 8 changed files with 1,223 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/ipack/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ menuconfig IPACK_BUS

if IPACK_BUS

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

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

endif # IPACK
1 change: 1 addition & 0 deletions drivers/staging/ipack/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
# Makefile for the IPACK bridge device drivers.
#
obj-$(CONFIG_IPACK_BUS) += ipack.o
obj-y += devices/
obj-y += bridges/
9 changes: 9 additions & 0 deletions drivers/staging/ipack/TODO
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ TPCI-200
* It has a linked list with the tpci200 devices it is managing. Get rid of it
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
-----

Expand Down
7 changes: 7 additions & 0 deletions drivers/staging/ipack/devices/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
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 change: 1 addition & 0 deletions drivers/staging/ipack/devices/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
obj-$(CONFIG_SERIAL_IPOCTAL) += ipoctal.o
Loading

0 comments on commit ba4dc61

Please sign in to comment.