diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | arch/powerpc/platforms/82xx/ep8248e.c | 4 | ||||
-rw-r--r-- | firmware/.gitignore | 6 | ||||
-rw-r--r-- | firmware/Makefile | 2 | ||||
-rw-r--r-- | fs/compat_ioctl.c | 6 |
5 files changed, 19 insertions, 3 deletions
@@ -508,6 +508,8 @@ else | |||
508 | KBUILD_CFLAGS += -O2 | 508 | KBUILD_CFLAGS += -O2 |
509 | endif | 509 | endif |
510 | 510 | ||
511 | include $(srctree)/arch/$(SRCARCH)/Makefile | ||
512 | |||
511 | ifneq (CONFIG_FRAME_WARN,0) | 513 | ifneq (CONFIG_FRAME_WARN,0) |
512 | KBUILD_CFLAGS += $(call cc-option,-Wframe-larger-than=${CONFIG_FRAME_WARN}) | 514 | KBUILD_CFLAGS += $(call cc-option,-Wframe-larger-than=${CONFIG_FRAME_WARN}) |
513 | endif | 515 | endif |
@@ -516,8 +518,6 @@ endif | |||
516 | # Arch Makefiles may override this setting | 518 | # Arch Makefiles may override this setting |
517 | KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector) | 519 | KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector) |
518 | 520 | ||
519 | include $(srctree)/arch/$(SRCARCH)/Makefile | ||
520 | |||
521 | ifdef CONFIG_FRAME_POINTER | 521 | ifdef CONFIG_FRAME_POINTER |
522 | KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls | 522 | KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls |
523 | else | 523 | else |
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 | ||
62 | static void ep8248e_set_mdc(struct mdiobb_ctrl *ctrl, int level) | 63 | static 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 | ||
168 | struct cpm_pin { | 170 | struct 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[] = { | |||
296 | static int __init declare_of_platform_devices(void) | 298 | static 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 | ||
6 | ihex2fw | ||
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 | |||
56 | fw-shipped-$(CONFIG_USB_SERIAL_KEYSPAN_USA49W) += keyspan/usa49w.fw | 56 | fw-shipped-$(CONFIG_USB_SERIAL_KEYSPAN_USA49W) += keyspan/usa49w.fw |
57 | fw-shipped-$(CONFIG_USB_SERIAL_KEYSPAN_USA49WLC) += keyspan/usa49wlc.fw | 57 | fw-shipped-$(CONFIG_USB_SERIAL_KEYSPAN_USA49WLC) += keyspan/usa49wlc.fw |
58 | else | 58 | else |
59 | fw-shipped- := keyspan/mpr.fw keyspan/usa18x.fw keyspan/usa19.fw \ | 59 | fw-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) | |||
2024 | COMPATIBLE_IOCTL(PIO_UNISCRNMAP) | 2026 | COMPATIBLE_IOCTL(PIO_UNISCRNMAP) |
2025 | COMPATIBLE_IOCTL(PIO_FONTRESET) | 2027 | COMPATIBLE_IOCTL(PIO_FONTRESET) |
2026 | COMPATIBLE_IOCTL(PIO_UNIMAPCLR) | 2028 | COMPATIBLE_IOCTL(PIO_UNIMAPCLR) |
2029 | #ifdef CONFIG_BLOCK | ||
2027 | /* Big S */ | 2030 | /* Big S */ |
2028 | COMPATIBLE_IOCTL(SCSI_IOCTL_GET_IDLUN) | 2031 | COMPATIBLE_IOCTL(SCSI_IOCTL_GET_IDLUN) |
2029 | COMPATIBLE_IOCTL(SCSI_IOCTL_DOORLOCK) | 2032 | COMPATIBLE_IOCTL(SCSI_IOCTL_DOORLOCK) |
@@ -2033,6 +2036,7 @@ COMPATIBLE_IOCTL(SCSI_IOCTL_GET_BUS_NUMBER) | |||
2033 | COMPATIBLE_IOCTL(SCSI_IOCTL_SEND_COMMAND) | 2036 | COMPATIBLE_IOCTL(SCSI_IOCTL_SEND_COMMAND) |
2034 | COMPATIBLE_IOCTL(SCSI_IOCTL_PROBE_HOST) | 2037 | COMPATIBLE_IOCTL(SCSI_IOCTL_PROBE_HOST) |
2035 | COMPATIBLE_IOCTL(SCSI_IOCTL_GET_PCI) | 2038 | COMPATIBLE_IOCTL(SCSI_IOCTL_GET_PCI) |
2039 | #endif | ||
2036 | /* Big T */ | 2040 | /* Big T */ |
2037 | COMPATIBLE_IOCTL(TUNSETNOCSUM) | 2041 | COMPATIBLE_IOCTL(TUNSETNOCSUM) |
2038 | COMPATIBLE_IOCTL(TUNSETDEBUG) | 2042 | COMPATIBLE_IOCTL(TUNSETDEBUG) |
@@ -2103,6 +2107,7 @@ COMPATIBLE_IOCTL(SIOCGIFVLAN) | |||
2103 | COMPATIBLE_IOCTL(SIOCSIFVLAN) | 2107 | COMPATIBLE_IOCTL(SIOCSIFVLAN) |
2104 | COMPATIBLE_IOCTL(SIOCBRADDBR) | 2108 | COMPATIBLE_IOCTL(SIOCBRADDBR) |
2105 | COMPATIBLE_IOCTL(SIOCBRDELBR) | 2109 | COMPATIBLE_IOCTL(SIOCBRDELBR) |
2110 | #ifdef CONFIG_BLOCK | ||
2106 | /* SG stuff */ | 2111 | /* SG stuff */ |
2107 | COMPATIBLE_IOCTL(SG_SET_TIMEOUT) | 2112 | COMPATIBLE_IOCTL(SG_SET_TIMEOUT) |
2108 | COMPATIBLE_IOCTL(SG_GET_TIMEOUT) | 2113 | COMPATIBLE_IOCTL(SG_GET_TIMEOUT) |
@@ -2127,6 +2132,7 @@ COMPATIBLE_IOCTL(SG_SCSI_RESET) | |||
2127 | COMPATIBLE_IOCTL(SG_GET_REQUEST_TABLE) | 2132 | COMPATIBLE_IOCTL(SG_GET_REQUEST_TABLE) |
2128 | COMPATIBLE_IOCTL(SG_SET_KEEP_ORPHAN) | 2133 | COMPATIBLE_IOCTL(SG_SET_KEEP_ORPHAN) |
2129 | COMPATIBLE_IOCTL(SG_GET_KEEP_ORPHAN) | 2134 | COMPATIBLE_IOCTL(SG_GET_KEEP_ORPHAN) |
2135 | #endif | ||
2130 | /* PPP stuff */ | 2136 | /* PPP stuff */ |
2131 | COMPATIBLE_IOCTL(PPPIOCGFLAGS) | 2137 | COMPATIBLE_IOCTL(PPPIOCGFLAGS) |
2132 | COMPATIBLE_IOCTL(PPPIOCSFLAGS) | 2138 | COMPATIBLE_IOCTL(PPPIOCSFLAGS) |