summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-02-10 22:31:33 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-02-10 22:31:33 +0000
commite796c7fb337aeb397f5030cd52b29e86f9e91c66 (patch)
tree0c84270516e9048a395e85fe43b04dfd24d128c1 /target
parent8fa8bee31ae820e69fda411b0b2e9800ca57f9d4 (diff)
Add missing bridge ioctls to make bluez-utils compile with brcm-3.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10441 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic-2.4/patches/116-bridge_ioctls.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/generic-2.4/patches/116-bridge_ioctls.patch b/target/linux/generic-2.4/patches/116-bridge_ioctls.patch
new file mode 100644
index 0000000000..17f5195037
--- /dev/null
+++ b/target/linux/generic-2.4/patches/116-bridge_ioctls.patch
@@ -0,0 +1,18 @@
+Index: linux-2.4.35.4/include/linux/sockios.h
+===================================================================
+--- linux-2.4.35.4/include/linux/sockios.h 2008-02-10 23:23:00.102763351 +0100
++++ linux-2.4.35.4.new/include/linux/sockios.h 2008-02-10 23:23:01.259570100 +0100
+--- sockios.h 2006-12-23 21:34:20.000000000 +0100
++++ sockios.h.new 2008-02-10 23:22:04.000000000 +0100
+@@ -68,6 +68,11 @@
+
+ #define SIOCGIFBR 0x8940 /* Bridging support */
+ #define SIOCSIFBR 0x8941 /* Set bridging options */
++#define SIOCBRADDBR 0x89a0 /* create new bridge device */
++#define SIOCBRDELBR 0x89a1 /* remove bridge device */
++#define SIOCBRADDIF 0x89a2 /* add interface to bridge */
++#define SIOCBRDELIF 0x89a3 /* remove interface from bridge */
++
+
+ #define SIOCGIFTXQLEN 0x8942 /* Get the tx queue length */
+ #define SIOCSIFTXQLEN 0x8943 /* Set the tx queue length */