]> 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)
commit419b7b449573a827efdef8c4d3e62ea14ee0c3c5
treed146b694cad7d3134b3166f56f401b203e073811
parent686d18d8d925a30e3f0eeb971691cae93b2a4261
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