]> git.baikalelectronics.ru Git - kernel.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)
commit760ca5a0eca303756159560dcc521574c24d59c4
treed146b694cad7d3134b3166f56f401b203e073811
parentf8267ca75c458e3115f48f77058a0516960cb2cb
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