5 struct net_bridge_port;
8 int brc_sysfs_add_dp(struct datapath *dp);
9 int brc_sysfs_del_dp(struct datapath *dp);
12 int brc_sysfs_add_if(struct net_bridge_port *p);
13 int brc_sysfs_del_if(struct net_bridge_port *p);
15 #include <linux/version.h>
16 #if LINUX_VERSION_CODE == KERNEL_VERSION(2,6,18)
17 #define SUPPORT_SYSFS 1
19 /* We only support sysfs on Linux 2.6.18 because that's the only place we
20 * really need it (on Xen, for brcompat) and it's a big pain to try to support
21 * multiple versions. */
24 #endif /* brc_sysfs.h */