switch: update for brcm47xx target

* remove suport for 2.4 kernel
* add support for bcma bus

SVN-Revision: 27904
This commit is contained in:
Hauke Mehrtens
2011-08-04 20:07:58 +00:00
parent 695cef4f45
commit b220442c75
7 changed files with 82 additions and 101 deletions

View File

@@ -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 {