summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/ebus.c
AgeCommit message (Collapse)AuthorFilesLines
2008-03-03sparc: replace remaining __FUNCTION__ occurancesHarvey Harrison1-3/+3
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2007-09-28[SPARC]: Fix EBUS use of uninitialized variable.David S. Miller1-0/+2
If of_get_property() fails, it returns NULL and the 'len' parameter is undefined. So we need to explicitly set len to zero in such cases. Noticed by Al Viro. Signed-off-by: David S. Miller <davem@davemloft.net>
2007-08-11[SPARC32]: Remove iommu from struct sbus_bus and use archdata like sparc64.Robert Reif1-0/+1
Signed-off-by: Robert Reif <reif@earthlink.net> Signed-off-by: David S. Miller <davem@davemloft.net>
2007-07-21[SPARC]: Make sure dev_archdata is filled in for all devices.David S. Miller1-0/+5
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-26[SPARC]: device_node name constification falloutStephen Rothwell1-2/+2
A couple of routines need their arguments to be const. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-26[SPARC]: constify of_get_property return: arch/sparcStephen Rothwell1-5/+5
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
2006-10-27[SPARC]: Fix bus_id[] string overflow.David S. Miller1-4/+4
dp->path_component_name can be larger than ->bus_id[] so use a different naming scheme for this stuff. Noticed by Jurij Smakov. Signed-off-by: David S. Miller <davem@davemloft.net>
2006-09-23[PATCH] fix ancient breakage in ebus_init()Al Viro1-4/+3
Back when pci_dev had base_address[], loop of form base = &...->base_address[0]; for (.....) { ... *base++ = addr; } was fine, but when that array got spread in ->resource[...].start replacing the initialization with base = &...->resource[0].start; was not a sufficient modification. IOW this code got broken for cases when there had been more than one resource to fill. All way back in 2.3.41-pre3... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0
Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
2006-06-24[SPARC]: Port of_device layer and make ebus use it.David S. Miller1-0/+21
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-06-24[SPARC]: Port sparc64 in-kernel device tree code to sparc32.David S. Miller1-80/+84
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-12-15[PATCH] sparc: NULL noise removal (ebus.c)Al Viro1-12/+12
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-17Linux-2.6.12-rc2Linus Torvalds1-0/+361
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!