aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/vio.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-03-28powerpc+sparc/vio: Modernize driver registrationBenjamin Herrenschmidt1-1/+8
This makes vio_register_driver() get the module owner & name at compile time like PCI drivers do, and adds a name pointer directly in struct vio_driver to avoid having to explicitly initialize the embedded struct device. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: David S. Miller <davem@davemloft.net>
2009-09-17sparc64: vio: Kill BUILD_BUG_ON() in vio_dring_avail().David S. Miller1-2/+0
GCC can't see the 'constant' properly as computed by is_power_of_2() etc. Signed-off-by: David S. Miller <davem@davemloft.net>
2008-07-27sparc, sparc64: use arch/sparc/includeSam Ravnborg1-0/+406
The majority of this patch was created by the following script: *** ASM=arch/sparc/include/asm mkdir -p $ASM git mv include/asm-sparc64/ftrace.h $ASM git rm include/asm-sparc64/* git mv include/asm-sparc/* $ASM sed -ie 's/asm-sparc64/asm/g' $ASM/* sed -ie 's/asm-sparc/asm/g' $ASM/* *** The rest was an update of the top-level Makefile to use sparc for header files when sparc64 is being build. And a small fixlet to pick up the correct unistd.h from sparc64 code. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>