diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-09 22:35:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-09 22:35:20 -0400 |
commit | 1601ff0e29cfe112b06aa9bb2fb3519a1125baaa (patch) | |
tree | c618296e804434eb185bdbd5ec45dd92eae2e74d /arch | |
parent | d942492e1dbce264435daaf40f5742e1aaa5adaf (diff) | |
parent | 078830eaa8abccd1e95d3effce5b29273bb5ed09 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
[SPARC32]: Fix prom.c build warning
[SPARC64]: Update defconfig.
[SPARC64]: Fix of_device bus_id settings.
[SPARC64]: Update MAINTAINERS entry.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc/kernel/prom.c | 7 | ||||
-rw-r--r-- | arch/sparc64/defconfig | 19 | ||||
-rw-r--r-- | arch/sparc64/kernel/of_device.c | 2 |
3 files changed, 21 insertions, 7 deletions
diff --git a/arch/sparc/kernel/prom.c b/arch/sparc/kernel/prom.c index 4ca9e5fc97f..2cc302b6bec 100644 --- a/arch/sparc/kernel/prom.c +++ b/arch/sparc/kernel/prom.c | |||
@@ -243,7 +243,7 @@ int of_set_property(struct device_node *dp, const char *name, void *val, int len | |||
243 | void *old_val = prop->value; | 243 | void *old_val = prop->value; |
244 | int ret; | 244 | int ret; |
245 | 245 | ||
246 | ret = prom_setprop(dp->node, name, val, len); | 246 | ret = prom_setprop(dp->node, (char *) name, val, len); |
247 | err = -EINVAL; | 247 | err = -EINVAL; |
248 | if (ret >= 0) { | 248 | if (ret >= 0) { |
249 | prop->value = new_val; | 249 | prop->value = new_val; |
@@ -477,7 +477,10 @@ static struct property * __init build_one_prop(phandle node, char *prev, char *s | |||
477 | p->length = 0; | 477 | p->length = 0; |
478 | } else { | 478 | } else { |
479 | p->value = prom_early_alloc(p->length + 1); | 479 | p->value = prom_early_alloc(p->length + 1); |
480 | prom_getproperty(node, p->name, p->value, p->length); | 480 | len = prom_getproperty(node, p->name, p->value, |
481 | p->length); | ||
482 | if (len <= 0) | ||
483 | p->length = 0; | ||
481 | ((unsigned char *)p->value)[p->length] = '\0'; | 484 | ((unsigned char *)p->value)[p->length] = '\0'; |
482 | } | 485 | } |
483 | } | 486 | } |
diff --git a/arch/sparc64/defconfig b/arch/sparc64/defconfig index f54ab375464..dcae559879a 100644 --- a/arch/sparc64/defconfig +++ b/arch/sparc64/defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.18 | 3 | # Linux kernel version: 2.6.19-rc1 |
4 | # Mon Oct 2 14:24:40 2006 | 4 | # Thu Oct 5 02:08:41 2006 |
5 | # | 5 | # |
6 | CONFIG_SPARC=y | 6 | CONFIG_SPARC=y |
7 | CONFIG_SPARC64=y | 7 | CONFIG_SPARC64=y |
@@ -197,6 +197,7 @@ CONFIG_INET_XFRM_TUNNEL=y | |||
197 | CONFIG_INET_TUNNEL=y | 197 | CONFIG_INET_TUNNEL=y |
198 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | 198 | CONFIG_INET_XFRM_MODE_TRANSPORT=y |
199 | CONFIG_INET_XFRM_MODE_TUNNEL=y | 199 | CONFIG_INET_XFRM_MODE_TUNNEL=y |
200 | CONFIG_INET_XFRM_MODE_BEET=y | ||
200 | CONFIG_INET_DIAG=y | 201 | CONFIG_INET_DIAG=y |
201 | CONFIG_INET_TCP_DIAG=y | 202 | CONFIG_INET_TCP_DIAG=y |
202 | # CONFIG_TCP_CONG_ADVANCED is not set | 203 | # CONFIG_TCP_CONG_ADVANCED is not set |
@@ -214,6 +215,7 @@ CONFIG_INET6_XFRM_TUNNEL=m | |||
214 | CONFIG_INET6_TUNNEL=m | 215 | CONFIG_INET6_TUNNEL=m |
215 | CONFIG_INET6_XFRM_MODE_TRANSPORT=m | 216 | CONFIG_INET6_XFRM_MODE_TRANSPORT=m |
216 | CONFIG_INET6_XFRM_MODE_TUNNEL=m | 217 | CONFIG_INET6_XFRM_MODE_TUNNEL=m |
218 | CONFIG_INET6_XFRM_MODE_BEET=m | ||
217 | # CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set | 219 | # CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set |
218 | CONFIG_IPV6_TUNNEL=m | 220 | CONFIG_IPV6_TUNNEL=m |
219 | # CONFIG_IPV6_SUBTREES is not set | 221 | # CONFIG_IPV6_SUBTREES is not set |
@@ -373,6 +375,7 @@ CONFIG_BLK_DEV_ALI15X3=y | |||
373 | # CONFIG_BLK_DEV_CS5530 is not set | 375 | # CONFIG_BLK_DEV_CS5530 is not set |
374 | # CONFIG_BLK_DEV_HPT34X is not set | 376 | # CONFIG_BLK_DEV_HPT34X is not set |
375 | # CONFIG_BLK_DEV_HPT366 is not set | 377 | # CONFIG_BLK_DEV_HPT366 is not set |
378 | # CONFIG_BLK_DEV_JMICRON is not set | ||
376 | # CONFIG_BLK_DEV_SC1200 is not set | 379 | # CONFIG_BLK_DEV_SC1200 is not set |
377 | # CONFIG_BLK_DEV_PIIX is not set | 380 | # CONFIG_BLK_DEV_PIIX is not set |
378 | # CONFIG_BLK_DEV_IT821X is not set | 381 | # CONFIG_BLK_DEV_IT821X is not set |
@@ -449,10 +452,10 @@ CONFIG_ISCSI_TCP=m | |||
449 | # CONFIG_SCSI_INIA100 is not set | 452 | # CONFIG_SCSI_INIA100 is not set |
450 | # CONFIG_SCSI_STEX is not set | 453 | # CONFIG_SCSI_STEX is not set |
451 | # CONFIG_SCSI_SYM53C8XX_2 is not set | 454 | # CONFIG_SCSI_SYM53C8XX_2 is not set |
452 | # CONFIG_SCSI_IPR is not set | ||
453 | # CONFIG_SCSI_QLOGIC_1280 is not set | 455 | # CONFIG_SCSI_QLOGIC_1280 is not set |
454 | # CONFIG_SCSI_QLOGICPTI is not set | 456 | # CONFIG_SCSI_QLOGICPTI is not set |
455 | # CONFIG_SCSI_QLA_FC is not set | 457 | # CONFIG_SCSI_QLA_FC is not set |
458 | # CONFIG_SCSI_QLA_ISCSI is not set | ||
456 | # CONFIG_SCSI_LPFC is not set | 459 | # CONFIG_SCSI_LPFC is not set |
457 | # CONFIG_SCSI_DC395x is not set | 460 | # CONFIG_SCSI_DC395x is not set |
458 | # CONFIG_SCSI_DC390T is not set | 461 | # CONFIG_SCSI_DC390T is not set |
@@ -478,6 +481,7 @@ CONFIG_MD_RAID456=m | |||
478 | CONFIG_MD_MULTIPATH=m | 481 | CONFIG_MD_MULTIPATH=m |
479 | # CONFIG_MD_FAULTY is not set | 482 | # CONFIG_MD_FAULTY is not set |
480 | CONFIG_BLK_DEV_DM=m | 483 | CONFIG_BLK_DEV_DM=m |
484 | # CONFIG_DM_DEBUG is not set | ||
481 | CONFIG_DM_CRYPT=m | 485 | CONFIG_DM_CRYPT=m |
482 | CONFIG_DM_SNAPSHOT=m | 486 | CONFIG_DM_SNAPSHOT=m |
483 | CONFIG_DM_MIRROR=m | 487 | CONFIG_DM_MIRROR=m |
@@ -840,12 +844,12 @@ CONFIG_HWMON=y | |||
840 | # | 844 | # |
841 | # Misc devices | 845 | # Misc devices |
842 | # | 846 | # |
847 | # CONFIG_TIFM_CORE is not set | ||
843 | 848 | ||
844 | # | 849 | # |
845 | # Multimedia devices | 850 | # Multimedia devices |
846 | # | 851 | # |
847 | # CONFIG_VIDEO_DEV is not set | 852 | # CONFIG_VIDEO_DEV is not set |
848 | CONFIG_VIDEO_V4L2=y | ||
849 | 853 | ||
850 | # | 854 | # |
851 | # Digital Video Broadcasting Devices | 855 | # Digital Video Broadcasting Devices |
@@ -858,6 +862,7 @@ CONFIG_VIDEO_V4L2=y | |||
858 | # | 862 | # |
859 | # CONFIG_FIRMWARE_EDID is not set | 863 | # CONFIG_FIRMWARE_EDID is not set |
860 | CONFIG_FB=y | 864 | CONFIG_FB=y |
865 | CONFIG_FB_DDC=y | ||
861 | CONFIG_FB_CFB_FILLRECT=y | 866 | CONFIG_FB_CFB_FILLRECT=y |
862 | CONFIG_FB_CFB_COPYAREA=y | 867 | CONFIG_FB_CFB_COPYAREA=y |
863 | CONFIG_FB_CFB_IMAGEBLIT=y | 868 | CONFIG_FB_CFB_IMAGEBLIT=y |
@@ -1236,6 +1241,7 @@ CONFIG_FS_MBCACHE=y | |||
1236 | # CONFIG_JFS_FS is not set | 1241 | # CONFIG_JFS_FS is not set |
1237 | CONFIG_FS_POSIX_ACL=y | 1242 | CONFIG_FS_POSIX_ACL=y |
1238 | # CONFIG_XFS_FS is not set | 1243 | # CONFIG_XFS_FS is not set |
1244 | # CONFIG_GFS2_FS is not set | ||
1239 | # CONFIG_OCFS2_FS is not set | 1245 | # CONFIG_OCFS2_FS is not set |
1240 | # CONFIG_MINIX_FS is not set | 1246 | # CONFIG_MINIX_FS is not set |
1241 | # CONFIG_ROMFS_FS is not set | 1247 | # CONFIG_ROMFS_FS is not set |
@@ -1279,6 +1285,7 @@ CONFIG_RAMFS=y | |||
1279 | # | 1285 | # |
1280 | # CONFIG_ADFS_FS is not set | 1286 | # CONFIG_ADFS_FS is not set |
1281 | # CONFIG_AFFS_FS is not set | 1287 | # CONFIG_AFFS_FS is not set |
1288 | # CONFIG_ECRYPT_FS is not set | ||
1282 | # CONFIG_HFS_FS is not set | 1289 | # CONFIG_HFS_FS is not set |
1283 | # CONFIG_HFSPLUS_FS is not set | 1290 | # CONFIG_HFSPLUS_FS is not set |
1284 | # CONFIG_BEFS_FS is not set | 1291 | # CONFIG_BEFS_FS is not set |
@@ -1355,6 +1362,10 @@ CONFIG_NLS_DEFAULT="iso8859-1" | |||
1355 | # CONFIG_NLS_UTF8 is not set | 1362 | # CONFIG_NLS_UTF8 is not set |
1356 | 1363 | ||
1357 | # | 1364 | # |
1365 | # Distributed Lock Manager | ||
1366 | # | ||
1367 | |||
1368 | # | ||
1358 | # Instrumentation Support | 1369 | # Instrumentation Support |
1359 | # | 1370 | # |
1360 | CONFIG_PROFILING=y | 1371 | CONFIG_PROFILING=y |
diff --git a/arch/sparc64/kernel/of_device.c b/arch/sparc64/kernel/of_device.c index 7f920453577..d822c7c18e1 100644 --- a/arch/sparc64/kernel/of_device.c +++ b/arch/sparc64/kernel/of_device.c | |||
@@ -841,7 +841,7 @@ static struct of_device * __init scan_one_device(struct device_node *dp, | |||
841 | if (!parent) | 841 | if (!parent) |
842 | strcpy(op->dev.bus_id, "root"); | 842 | strcpy(op->dev.bus_id, "root"); |
843 | else | 843 | else |
844 | strcpy(op->dev.bus_id, dp->path_component_name); | 844 | sprintf(op->dev.bus_id, "%s@%08x", dp->name, dp->node); |
845 | 845 | ||
846 | if (of_device_register(op)) { | 846 | if (of_device_register(op)) { |
847 | printk("%s: Could not register of device.\n", | 847 | printk("%s: Could not register of device.\n", |