Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6

+50 -42
+4
arch/sparc/Kconfig
··· 55 55 depends on SMP 56 56 default "32" 57 57 58 + config SPARC 59 + bool 60 + default y 61 + 58 62 # Identify this as a Sparc32 build 59 63 config SPARC32 60 64 bool
+1 -1
arch/sparc/kernel/sys_sunos.c
··· 894 894 ret = ARG_MAX; 895 895 break; 896 896 case _SC_CHILD_MAX: 897 - ret = CHILD_MAX; 897 + ret = -1; /* no limit */ 898 898 break; 899 899 case _SC_CLK_TCK: 900 900 ret = HZ;
+4
arch/sparc64/Kconfig
··· 5 5 6 6 mainmenu "Linux/UltraSPARC Kernel Configuration" 7 7 8 + config SPARC 9 + bool 10 + default y 11 + 8 12 config SPARC64 9 13 bool 10 14 default y
+1 -1
arch/sparc64/kernel/sys_sunos32.c
··· 854 854 ret = ARG_MAX; 855 855 break; 856 856 case _SC_CHILD_MAX: 857 - ret = CHILD_MAX; 857 + ret = -1; /* no limit */ 858 858 break; 859 859 case _SC_CLK_TCK: 860 860 ret = HZ;
+1 -1
arch/sparc64/solaris/misc.c
··· 353 353 { 354 354 switch (id) { 355 355 case SOLARIS_CONFIG_NGROUPS: return NGROUPS_MAX; 356 - case SOLARIS_CONFIG_CHILD_MAX: return CHILD_MAX; 356 + case SOLARIS_CONFIG_CHILD_MAX: return -1; /* no limit */ 357 357 case SOLARIS_CONFIG_OPEN_FILES: return OPEN_MAX; 358 358 case SOLARIS_CONFIG_POSIX_VER: return 199309; 359 359 case SOLARIS_CONFIG_PAGESIZE: return PAGE_SIZE;
+2 -2
drivers/char/Kconfig
··· 687 687 688 688 config RTC 689 689 tristate "Enhanced Real Time Clock Support" 690 - depends on !PPC32 && !PARISC && !IA64 && !M68K && (!(SPARC32 || SPARC64) || PCI) 690 + depends on !PPC32 && !PARISC && !IA64 && !M68K && (!SPARC || PCI) 691 691 ---help--- 692 692 If you say Y here and create a character special file /dev/rtc with 693 693 major number 10 and minor number 135 using mknod ("man mknod"), you ··· 735 735 736 736 config GEN_RTC 737 737 tristate "Generic /dev/rtc emulation" 738 - depends on RTC!=y && !IA64 && !ARM && !M32R && !SPARC32 && !SPARC64 738 + depends on RTC!=y && !IA64 && !ARM && !M32R && !SPARC 739 739 ---help--- 740 740 If you say Y here and create a character special file /dev/rtc with 741 741 major number 10 and minor number 135 using mknod ("man mknod"), you
+5 -5
drivers/char/keyboard.c
··· 930 930 } 931 931 932 932 #if defined(CONFIG_X86) || defined(CONFIG_IA64) || defined(CONFIG_ALPHA) ||\ 933 - defined(CONFIG_MIPS) || defined(CONFIG_PPC) || defined(CONFIG_SPARC32) ||\ 934 - defined(CONFIG_SPARC64) || defined(CONFIG_PARISC) || defined(CONFIG_SUPERH) ||\ 933 + defined(CONFIG_MIPS) || defined(CONFIG_PPC) || defined(CONFIG_SPARC) ||\ 934 + defined(CONFIG_PARISC) || defined(CONFIG_SUPERH) ||\ 935 935 (defined(CONFIG_ARM) && defined(CONFIG_KEYBOARD_ATKBD) && !defined(CONFIG_ARCH_RPC)) 936 936 937 937 #define HW_RAW(dev) (test_bit(EV_MSC, dev->evbit) && test_bit(MSC_RAW, dev->mscbit) &&\ ··· 958 958 extern int mac_hid_mouse_emulate_buttons(int, int, int); 959 959 #endif /* CONFIG_MAC_EMUMOUSEBTN */ 960 960 961 - #if defined(CONFIG_SPARC32) || defined(CONFIG_SPARC64) 961 + #ifdef CONFIG_SPARC 962 962 static int sparc_l1_a_state = 0; 963 963 extern void sun_do_break(void); 964 964 #endif ··· 1045 1045 1046 1046 if (keycode == KEY_LEFTALT || keycode == KEY_RIGHTALT) 1047 1047 sysrq_alt = down; 1048 - #if defined(CONFIG_SPARC32) || defined(CONFIG_SPARC64) 1048 + #ifdef CONFIG_SPARC 1049 1049 if (keycode == KEY_STOP) 1050 1050 sparc_l1_a_state = down; 1051 1051 #endif ··· 1072 1072 return; 1073 1073 } 1074 1074 #endif 1075 - #if defined(CONFIG_SPARC32) || defined(CONFIG_SPARC64) 1075 + #ifdef CONFIG_SPARC 1076 1076 if (keycode == KEY_A && sparc_l1_a_state) { 1077 1077 sparc_l1_a_state = 0; 1078 1078 sun_do_break();
+4 -4
drivers/fc4/Kconfig
··· 26 26 27 27 config FC4_SOC 28 28 tristate "Sun SOC/Sbus" 29 - depends on FC4!=n && (SPARC32 || SPARC64) 29 + depends on FC4!=n && SPARC 30 30 help 31 31 Serial Optical Channel is an interface card with one or two Fibre 32 32 Optic ports, each of which can be connected to a disk array. Note ··· 38 38 39 39 config FC4_SOCAL 40 40 tristate "Sun SOC+ (aka SOCAL)" 41 - depends on FC4!=n && (SPARC32 || SPARC64) 41 + depends on FC4!=n && SPARC 42 42 ---help--- 43 43 Serial Optical Channel Plus is an interface card with up to two 44 44 Fibre Optic ports. This card supports FC Arbitrated Loop (usually ··· 62 62 be called pluto. 63 63 64 64 config SCSI_FCAL 65 - tristate "Sun Enterprise Network Array (A5000 and EX500)" if SPARC32 || SPARC64 65 + tristate "Sun Enterprise Network Array (A5000 and EX500)" if SPARC 66 66 depends on FC4!=n && SCSI 67 67 help 68 68 This driver drives FC-AL disks connected through a Fibre Channel ··· 75 75 76 76 config SCSI_FCAL 77 77 prompt "Generic FC-AL disk driver" 78 - depends on FC4!=n && SCSI && !SPARC32 && !SPARC64 78 + depends on FC4!=n && SCSI && !SPARC 79 79 80 80 endmenu 81 81
+1 -1
drivers/input/misc/Kconfig
··· 26 26 27 27 config INPUT_SPARCSPKR 28 28 tristate "SPARC Speaker support" 29 - depends on PCI && (SPARC32 || SPARC64) 29 + depends on PCI && SPARC 30 30 help 31 31 Say Y here if you want the standard Speaker on Sparc PCI systems 32 32 to be used for bells and whistles.
+1 -1
drivers/input/serio/i8042.h
··· 21 21 #include "i8042-ip22io.h" 22 22 #elif defined(CONFIG_PPC) 23 23 #include "i8042-ppcio.h" 24 - #elif defined(CONFIG_SPARC32) || defined(CONFIG_SPARC64) 24 + #elif defined(CONFIG_SPARC) 25 25 #include "i8042-sparcio.h" 26 26 #elif defined(CONFIG_X86) || defined(CONFIG_IA64) 27 27 #include "i8042-x86ia64io.h"
+1 -1
drivers/mtd/maps/Kconfig
··· 62 62 63 63 config MTD_SUN_UFLASH 64 64 tristate "Sun Microsystems userflash support" 65 - depends on (SPARC32 || SPARC64) && MTD_CFI 65 + depends on SPARC && MTD_CFI 66 66 help 67 67 This provides a 'mapping' driver which supports the way in 68 68 which user-programmable flash chips are connected on various
+2 -2
drivers/net/sungem.c
··· 2907 2907 return 0; 2908 2908 } 2909 2909 2910 - static void __devexit gem_remove_one(struct pci_dev *pdev) 2910 + static void gem_remove_one(struct pci_dev *pdev) 2911 2911 { 2912 2912 struct net_device *dev = pci_get_drvdata(pdev); 2913 2913 ··· 3181 3181 .name = GEM_MODULE_NAME, 3182 3182 .id_table = gem_pci_tbl, 3183 3183 .probe = gem_init_one, 3184 - .remove = __devexit_p(gem_remove_one), 3184 + .remove = gem_remove_one, 3185 3185 #ifdef CONFIG_PM 3186 3186 .suspend = gem_suspend, 3187 3187 .resume = gem_resume,
+5 -5
drivers/serial/Kconfig
··· 10 10 # The new 8250/16550 serial drivers 11 11 config SERIAL_8250 12 12 tristate "8250/16550 and compatible serial support" 13 - depends on (BROKEN || !(SPARC64 || SPARC32)) 13 + depends on (BROKEN || !SPARC) 14 14 select SERIAL_CORE 15 15 ---help--- 16 16 This selects whether you want to include the driver for the standard ··· 469 469 470 470 config SERIAL_SUNCORE 471 471 bool 472 - depends on SPARC32 || SPARC64 472 + depends on SPARC 473 473 select SERIAL_CORE 474 474 select SERIAL_CORE_CONSOLE 475 475 default y 476 476 477 477 config SERIAL_SUNZILOG 478 478 tristate "Sun Zilog8530 serial support" 479 - depends on SPARC32 || SPARC64 479 + depends on SPARC 480 480 help 481 481 This driver supports the Zilog8530 serial ports found on many Sparc 482 482 systems. Say Y or M if you want to be able to these serial ports. ··· 491 491 492 492 config SERIAL_SUNSU 493 493 tristate "Sun SU serial support" 494 - depends on (SPARC32 || SPARC64) && PCI 494 + depends on SPARC && PCI 495 495 help 496 496 This driver supports the 8250 serial ports that run the keyboard and 497 497 mouse on (PCI) UltraSPARC systems. Say Y or M if you want to be able ··· 547 547 548 548 config SERIAL_SUNSAB 549 549 tristate "Sun Siemens SAB82532 serial support" 550 - depends on (SPARC32 || SPARC64) && PCI 550 + depends on SPARC && PCI 551 551 help 552 552 This driver supports the Siemens SAB82532 DUSCC serial ports on newer 553 553 (PCI) UltraSPARC systems. Say Y or M if you want to be able to these
+5 -5
drivers/video/Kconfig
··· 536 536 537 537 config FB_SBUS 538 538 bool "SBUS and UPA framebuffers" 539 - depends on (FB = y) && (SPARC32 || SPARC64) 539 + depends on (FB = y) && SPARC 540 540 help 541 541 Say Y if you want support for SBUS or UPA based frame buffer device. 542 542 543 543 config FB_BW2 544 544 bool "BWtwo support" 545 - depends on (FB = y) && ((SPARC32 || SPARC64) && FB_SBUS || (SUN3 || SUN3X) && FB_SUN3) 545 + depends on (FB = y) && (SPARC && FB_SBUS || (SUN3 || SUN3X) && FB_SUN3) 546 546 select FB_CFB_FILLRECT 547 547 select FB_CFB_COPYAREA 548 548 select FB_CFB_IMAGEBLIT ··· 551 551 552 552 config FB_CG3 553 553 bool "CGthree support" 554 - depends on (FB = y) && ((SPARC32 || SPARC64) && FB_SBUS || (SUN3 || SUN3X) && FB_SUN3) 554 + depends on (FB = y) && (SPARC && FB_SBUS || (SUN3 || SUN3X) && FB_SUN3) 555 555 select FB_CFB_FILLRECT 556 556 select FB_CFB_COPYAREA 557 557 select FB_CFB_IMAGEBLIT ··· 560 560 561 561 config FB_CG6 562 562 bool "CGsix (GX,TurboGX) support" 563 - depends on (FB = y) && ((SPARC32 || SPARC64) && FB_SBUS || (SUN3 || SUN3X) && FB_SUN3) 563 + depends on (FB = y) && (SPARC && FB_SBUS || (SUN3 || SUN3X) && FB_SUN3) 564 564 select FB_CFB_COPYAREA 565 565 select FB_CFB_IMAGEBLIT 566 566 help ··· 1268 1268 1269 1269 config FB_PCI 1270 1270 bool "PCI framebuffers" 1271 - depends on (FB = y) && PCI && (SPARC64 || SPARC32) 1271 + depends on (FB = y) && PCI && SPARC 1272 1272 1273 1273 config FB_IGA 1274 1274 bool "IGA 168x display support"
+10 -10
drivers/video/console/Kconfig
··· 6 6 7 7 config VGA_CONSOLE 8 8 bool "VGA text console" if EMBEDDED || !X86 9 - depends on !ARCH_ACORN && !ARCH_EBSA110 && !4xx && !8xx && !SPARC32 && !SPARC64 && !M68K && !PARISC && !ARCH_VERSATILE 9 + depends on !ARCH_ACORN && !ARCH_EBSA110 && !4xx && !8xx && !SPARC && !M68K && !PARISC && !ARCH_VERSATILE 10 10 default y 11 11 help 12 12 Saying Y here will allow you to use Linux in text mode through a ··· 68 68 69 69 config PROM_CONSOLE 70 70 bool "PROM console" 71 - depends on SPARC32 || SPARC64 71 + depends on SPARC 72 72 help 73 73 Say Y to build a console driver for Sun machines that uses the 74 74 terminal emulation built into their console PROMS. ··· 136 136 config FONT_8x8 137 137 bool "VGA 8x8 font" if FONTS 138 138 depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE 139 - default y if !SPARC32 && !SPARC64 && !FONTS 139 + default y if !SPARC && !FONTS 140 140 help 141 141 This is the "high resolution" font for the VGA frame buffer (the one 142 142 provided by the text console 80x50 (and higher) modes). ··· 150 150 config FONT_8x16 151 151 bool "VGA 8x16 font" if FONTS 152 152 depends on FRAMEBUFFER_CONSOLE || SGI_NEWPORT_CONSOLE=y || STI_CONSOLE || USB_SISUSBVGA_CON 153 - default y if !SPARC32 && !SPARC64 && !FONTS 153 + default y if !SPARC && !FONTS 154 154 help 155 155 This is the "high resolution" font for the VGA frame buffer (the one 156 156 provided by the VGA text console 80x25 mode. ··· 160 160 config FONT_6x11 161 161 bool "Mac console 6x11 font (not supported by all drivers)" if FONTS 162 162 depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE 163 - default y if !SPARC32 && !SPARC64 && !FONTS && MAC 163 + default y if !SPARC && !FONTS && MAC 164 164 help 165 165 Small console font with Macintosh-style high-half glyphs. Some Mac 166 166 framebuffer drivers don't support this one at all. ··· 176 176 config FONT_PEARL_8x8 177 177 bool "Pearl (old m68k) console 8x8 font" if FONTS 178 178 depends on FRAMEBUFFER_CONSOLE 179 - default y if !SPARC32 && !SPARC64 && !FONTS && AMIGA 179 + default y if !SPARC && !FONTS && AMIGA 180 180 help 181 181 Small console font with PC-style control-character and high-half 182 182 glyphs. ··· 184 184 config FONT_ACORN_8x8 185 185 bool "Acorn console 8x8 font" if FONTS 186 186 depends on FRAMEBUFFER_CONSOLE 187 - default y if !SPARC32 && !SPARC64 && !FONTS && ARM && ARCH_ACORN 187 + default y if !SPARC && !FONTS && ARM && ARCH_ACORN 188 188 help 189 189 Small console font with PC-style control characters and high-half 190 190 glyphs. 191 191 192 192 config FONT_MINI_4x6 193 193 bool "Mini 4x6 font" 194 - depends on !SPARC32 && !SPARC64 && FONTS 194 + depends on !SPARC && FONTS 195 195 196 196 config FONT_SUN8x16 197 197 bool "Sparc console 8x16 font" 198 - depends on FRAMEBUFFER_CONSOLE && (!SPARC32 && !SPARC64 && FONTS || SPARC32 || SPARC64) 198 + depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC) 199 199 help 200 200 This is the high resolution console font for Sun machines. Say Y. 201 201 202 202 config FONT_SUN12x22 203 203 bool "Sparc console 12x22 font (not supported by all drivers)" 204 - depends on FRAMEBUFFER_CONSOLE && (!SPARC32 && !SPARC64 && FONTS || SPARC32 || SPARC64) 204 + depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC) 205 205 help 206 206 This is the high resolution console font for Sun machines with very 207 207 big letters (like the letters used in the SPARC PROM). If the
+1 -1
drivers/video/logo/Kconfig
··· 47 47 48 48 config LOGO_SUN_CLUT224 49 49 bool "224-color Sun Linux logo" 50 - depends on LOGO && (SPARC32 || SPARC64) 50 + depends on LOGO && SPARC 51 51 default y 52 52 53 53 config LOGO_SUPERH_MONO
+1 -1
fs/partitions/Kconfig
··· 203 203 204 204 config SUN_PARTITION 205 205 bool "Sun partition tables support" if PARTITION_ADVANCED 206 - default y if (SPARC32 || SPARC64 || SUN3 || SUN3X) 206 + default y if (SPARC || SUN3 || SUN3X) 207 207 ---help--- 208 208 Like most systems, SunOS uses its own hard disk partition table 209 209 format, incompatible with all others. Saying Y here allows you to
+1 -1
sound/sparc/Kconfig
··· 1 1 # ALSA Sparc drivers 2 2 3 3 menu "ALSA Sparc devices" 4 - depends on SND!=n && (SPARC32 || SPARC64) 4 + depends on SND!=n && SPARC 5 5 6 6 config SND_SUN_AMD7930 7 7 tristate "Sun AMD7930"