#endif /* CONFIG_NET_RADIO */
#include <asm/current.h>
-#if defined(CONFIG_MIPS_BRCM)
-/* NOTE: This value should correspond to the value of
-** SIOCGIFTRANSSTART in bcmnet.h. Since bcmnet.h is not
-** visible from the linux/net/core directory,
-** we have to hardcode this value here */
-#define SIOCGIFTRANSSTART (SIOCDEVPRIVATE + 3)
-#define SIOCCIFSTATS (SIOCDEVPRIVATE + 7)
-#endif
-
/* This define, if set, will randomly drop a packet when congestion
* is more than moderate. It helps fairness in the multi-interface
* case when one of them is a hog, but it kills performance for the
*/
default:
if (cmd == SIOCWANDEV ||
+#if defined(CONFIG_MIPS_BRCM)
+ cmd == SIOCCIFSTATS ||
+#endif
(cmd >= SIOCDEVPRIVATE &&
cmd <= SIOCDEVPRIVATE + 15)) {
dev_load(ifr.ifr_name);