]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: sa11x0: neponset: provide function to manipulate NCR_0
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 16 Jan 2012 09:31:47 +0000 (09:31 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 9 Feb 2012 15:34:14 +0000 (15:34 +0000)
commit6ad1b614007c556129989b9f6b020d0d2e058121
treed146b694cad7d3134b3166f56f401b203e073811
parent710455201f6690841e9a40bedba09ddd0a7e0620
ARM: sa11x0: neponset: provide function to manipulate NCR_0

Rather than having direct register accesses to NCR_0 scattered amongst
the code, provide a function instead.  This contains the necessary
race protection for this platform, ensuring that updates to this
register are safe.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-sa1100/include/mach/neponset.h
arch/arm/mach-sa1100/neponset.c
drivers/net/ethernet/smsc/smc91x.c
drivers/pcmcia/sa1100_neponset.c