aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--arch/powerpc/platforms/82xx/ep8248e.c4
-rw-r--r--firmware/.gitignore6
-rw-r--r--firmware/Makefile2
-rw-r--r--fs/compat_ioctl.c6
5 files changed, 19 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8a2a275be304..1564577bdc53 100644
--- a/Makefile
+++ b/Makefile
@@ -508,6 +508,8 @@ else
508KBUILD_CFLAGS += -O2 508KBUILD_CFLAGS += -O2
509endif 509endif
510 510
511include $(srctree)/arch/$(SRCARCH)/Makefile
512
511ifneq (CONFIG_FRAME_WARN,0) 513ifneq (CONFIG_FRAME_WARN,0)
512KBUILD_CFLAGS += $(call cc-option,-Wframe-larger-than=${CONFIG_FRAME_WARN}) 514KBUILD_CFLAGS += $(call cc-option,-Wframe-larger-than=${CONFIG_FRAME_WARN})
513endif 515endif
@@ -516,8 +518,6 @@ endif
516# Arch Makefiles may override this setting 518# Arch Makefiles may override this setting
517KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector) 519KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector)
518 520
519include $(srctree)/arch/$(SRCARCH)/Makefile
520
521ifdef CONFIG_FRAME_POINTER 521ifdef CONFIG_FRAME_POINTER
522KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls 522KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls
523else 523else
diff --git a/arch/powerpc/platforms/82xx/ep8248e.c b/arch/powerpc/platforms/82xx/ep8248e.c
index d5770fdf7f09..373e993a5ed5 100644
--- a/arch/powerpc/platforms/82xx/ep8248e.c
+++ b/arch/powerpc/platforms/82xx/ep8248e.c
@@ -59,6 +59,7 @@ static void __init ep8248e_pic_init(void)
59 of_node_put(np); 59 of_node_put(np);
60} 60}
61 61
62#ifdef CONFIG_FS_ENET_MDIO_FCC
62static void ep8248e_set_mdc(struct mdiobb_ctrl *ctrl, int level) 63static void ep8248e_set_mdc(struct mdiobb_ctrl *ctrl, int level)
63{ 64{
64 if (level) 65 if (level)
@@ -164,6 +165,7 @@ static struct of_platform_driver ep8248e_mdio_driver = {
164 .probe = ep8248e_mdio_probe, 165 .probe = ep8248e_mdio_probe,
165 .remove = ep8248e_mdio_remove, 166 .remove = ep8248e_mdio_remove,
166}; 167};
168#endif
167 169
168struct cpm_pin { 170struct cpm_pin {
169 int port, pin, flags; 171 int port, pin, flags;
@@ -296,7 +298,9 @@ static __initdata struct of_device_id of_bus_ids[] = {
296static int __init declare_of_platform_devices(void) 298static int __init declare_of_platform_devices(void)
297{ 299{
298 of_platform_bus_probe(NULL, of_bus_ids, NULL); 300 of_platform_bus_probe(NULL, of_bus_ids, NULL);
301#ifdef CONFIG_FS_ENET_MDIO_FCC
299 of_register_platform_driver(&ep8248e_mdio_driver); 302 of_register_platform_driver(&ep8248e_mdio_driver);
303#endif
300 304
301 return 0; 305 return 0;
302} 306}
diff --git a/firmware/.gitignore b/firmware/.gitignore
new file mode 100644
index 000000000000..d9c69017bc9a
--- /dev/null
+++ b/firmware/.gitignore
@@ -0,0 +1,6 @@
1*.gen.S
2*.fw
3*.bin
4*.csp
5*.dsp
6ihex2fw
diff --git a/firmware/Makefile b/firmware/Makefile
index e4f2fb3d1917..9fe86041f86e 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -56,7 +56,7 @@ fw-shipped-$(CONFIG_USB_SERIAL_KEYSPAN_USA28X) += keyspan/usa28x.fw
56fw-shipped-$(CONFIG_USB_SERIAL_KEYSPAN_USA49W) += keyspan/usa49w.fw 56fw-shipped-$(CONFIG_USB_SERIAL_KEYSPAN_USA49W) += keyspan/usa49w.fw
57fw-shipped-$(CONFIG_USB_SERIAL_KEYSPAN_USA49WLC) += keyspan/usa49wlc.fw 57fw-shipped-$(CONFIG_USB_SERIAL_KEYSPAN_USA49WLC) += keyspan/usa49wlc.fw
58else 58else
59fw-shipped- := keyspan/mpr.fw keyspan/usa18x.fw keyspan/usa19.fw \ 59fw-shipped- += keyspan/mpr.fw keyspan/usa18x.fw keyspan/usa19.fw \
60 keyspan/usa19qi.fw keyspan/usa19qw.fw keyspan/usa19w.fw \ 60 keyspan/usa19qi.fw keyspan/usa19qw.fw keyspan/usa19w.fw \
61 keyspan/usa28.fw keyspan/usa28xa.fw keyspan/usa28xb.fw \ 61 keyspan/usa28.fw keyspan/usa28xa.fw keyspan/usa28xb.fw \
62 keyspan/usa28x.fw keyspan/usa49w.fw keyspan/usa49wlc.fw 62 keyspan/usa28x.fw keyspan/usa49w.fw keyspan/usa49wlc.fw
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index 97dba0d92348..c54eaab71a19 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -69,9 +69,11 @@
69#include <linux/capi.h> 69#include <linux/capi.h>
70#include <linux/gigaset_dev.h> 70#include <linux/gigaset_dev.h>
71 71
72#ifdef CONFIG_BLOCK
72#include <scsi/scsi.h> 73#include <scsi/scsi.h>
73#include <scsi/scsi_ioctl.h> 74#include <scsi/scsi_ioctl.h>
74#include <scsi/sg.h> 75#include <scsi/sg.h>
76#endif
75 77
76#include <asm/uaccess.h> 78#include <asm/uaccess.h>
77#include <linux/ethtool.h> 79#include <linux/ethtool.h>
@@ -2024,6 +2026,7 @@ COMPATIBLE_IOCTL(GIO_UNISCRNMAP)
2024COMPATIBLE_IOCTL(PIO_UNISCRNMAP) 2026COMPATIBLE_IOCTL(PIO_UNISCRNMAP)
2025COMPATIBLE_IOCTL(PIO_FONTRESET) 2027COMPATIBLE_IOCTL(PIO_FONTRESET)
2026COMPATIBLE_IOCTL(PIO_UNIMAPCLR) 2028COMPATIBLE_IOCTL(PIO_UNIMAPCLR)
2029#ifdef CONFIG_BLOCK
2027/* Big S */ 2030/* Big S */
2028COMPATIBLE_IOCTL(SCSI_IOCTL_GET_IDLUN) 2031COMPATIBLE_IOCTL(SCSI_IOCTL_GET_IDLUN)
2029COMPATIBLE_IOCTL(SCSI_IOCTL_DOORLOCK) 2032COMPATIBLE_IOCTL(SCSI_IOCTL_DOORLOCK)
@@ -2033,6 +2036,7 @@ COMPATIBLE_IOCTL(SCSI_IOCTL_GET_BUS_NUMBER)
2033COMPATIBLE_IOCTL(SCSI_IOCTL_SEND_COMMAND) 2036COMPATIBLE_IOCTL(SCSI_IOCTL_SEND_COMMAND)
2034COMPATIBLE_IOCTL(SCSI_IOCTL_PROBE_HOST) 2037COMPATIBLE_IOCTL(SCSI_IOCTL_PROBE_HOST)
2035COMPATIBLE_IOCTL(SCSI_IOCTL_GET_PCI) 2038COMPATIBLE_IOCTL(SCSI_IOCTL_GET_PCI)
2039#endif
2036/* Big T */ 2040/* Big T */
2037COMPATIBLE_IOCTL(TUNSETNOCSUM) 2041COMPATIBLE_IOCTL(TUNSETNOCSUM)
2038COMPATIBLE_IOCTL(TUNSETDEBUG) 2042COMPATIBLE_IOCTL(TUNSETDEBUG)
@@ -2103,6 +2107,7 @@ COMPATIBLE_IOCTL(SIOCGIFVLAN)
2103COMPATIBLE_IOCTL(SIOCSIFVLAN) 2107COMPATIBLE_IOCTL(SIOCSIFVLAN)
2104COMPATIBLE_IOCTL(SIOCBRADDBR) 2108COMPATIBLE_IOCTL(SIOCBRADDBR)
2105COMPATIBLE_IOCTL(SIOCBRDELBR) 2109COMPATIBLE_IOCTL(SIOCBRDELBR)
2110#ifdef CONFIG_BLOCK
2106/* SG stuff */ 2111/* SG stuff */
2107COMPATIBLE_IOCTL(SG_SET_TIMEOUT) 2112COMPATIBLE_IOCTL(SG_SET_TIMEOUT)
2108COMPATIBLE_IOCTL(SG_GET_TIMEOUT) 2113COMPATIBLE_IOCTL(SG_GET_TIMEOUT)
@@ -2127,6 +2132,7 @@ COMPATIBLE_IOCTL(SG_SCSI_RESET)
2127COMPATIBLE_IOCTL(SG_GET_REQUEST_TABLE) 2132COMPATIBLE_IOCTL(SG_GET_REQUEST_TABLE)
2128COMPATIBLE_IOCTL(SG_SET_KEEP_ORPHAN) 2133COMPATIBLE_IOCTL(SG_SET_KEEP_ORPHAN)
2129COMPATIBLE_IOCTL(SG_GET_KEEP_ORPHAN) 2134COMPATIBLE_IOCTL(SG_GET_KEEP_ORPHAN)
2135#endif
2130/* PPP stuff */ 2136/* PPP stuff */
2131COMPATIBLE_IOCTL(PPPIOCGFLAGS) 2137COMPATIBLE_IOCTL(PPPIOCGFLAGS)
2132COMPATIBLE_IOCTL(PPPIOCSFLAGS) 2138COMPATIBLE_IOCTL(PPPIOCSFLAGS)