]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00142089-3 MX51/MX53: Upgrade SCC2 and SAHARA drivers to 2.6.38
authorAnish Trivedi <anish@freescale.com>
Wed, 13 Apr 2011 19:21:30 +0000 (14:21 -0500)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:08:58 +0000 (14:08 +0200)
commit403b35afb37d682a1ab6c85d62116bb138ec4e4b
treecd80aa4ba95cb3909dca200dcf882ab836d01017
parentb50d87eaec4a6bbcb47a6b297739712ec3583c20
ENGR00142089-3 MX51/MX53: Upgrade SCC2 and SAHARA drivers to 2.6.38

Starting with 2.6.36, ioctl file operation is removed; therefore,
changed ioctl function to unlocked_ioctl function, which has a
different function prototype and requires local locking mechanism
to prevent more than 1 user from accessing ioctls at the same time.

Modified SCC2 driver to obtain IRQs from resource array.

Modified SAHARA driver to use either MX53 or MX51 base address and
irq definitions since the generic versions are no longer defined
in the machine layer header files.

Signed-off-by: Anish Trivedi <anish@freescale.com>
drivers/mxc/security/sahara2/include/linux_port.h
drivers/mxc/security/sahara2/include/sah_kernel.h
drivers/mxc/security/sahara2/sah_driver_interface.c
drivers/mxc/security/sahara2/sah_interrupt_handler.c
drivers/mxc/security/scc2_driver.c
drivers/mxc/security/scc2_internals.h