summaryrefslogtreecommitdiff
path: root/package/switch/src/switch-core.h
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2011-08-04 20:07:58 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2011-08-04 20:07:58 +0000
commitb220442c75934dbd2143ea9869dc39e913e1a57f (patch)
treee5a754e6d1b06220b59609e4742c30ed89c6e5c8 /package/switch/src/switch-core.h
parent695cef4f456ac64fefb1eaf16447a23ad07914c1 (diff)
downloadmtk-20170518-b220442c75934dbd2143ea9869dc39e913e1a57f.zip
mtk-20170518-b220442c75934dbd2143ea9869dc39e913e1a57f.tar.gz
mtk-20170518-b220442c75934dbd2143ea9869dc39e913e1a57f.tar.bz2
switch: update for brcm47xx target
* remove suport for 2.4 kernel * add support for bcma bus SVN-Revision: 27904
Diffstat (limited to 'package/switch/src/switch-core.h')
-rw-r--r--package/switch/src/switch-core.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/package/switch/src/switch-core.h b/package/switch/src/switch-core.h
index c9ab90d..a2114cf 100644
--- a/package/switch/src/switch-core.h
+++ b/package/switch/src/switch-core.h
@@ -9,10 +9,6 @@
#define SWITCH_MEDIA_100 2
#define SWITCH_MEDIA_FD 4
-#ifndef KERNEL_VERSION
-#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
-#endif
-
typedef int (*switch_handler)(void *driver, char *buf, int nr);
typedef struct {