X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/8366dfac71c976acb6d772ec9014026cafab8182..37587c4a8aa5ec6e35951e9da28f2d38dbc64457:/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.h diff --git a/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.h b/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.h index ed9836e22..35e7876c2 100644 --- a/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.h +++ b/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.h @@ -38,6 +38,8 @@ #define ADM5120_MAC_WRITE_DONE 0x00000002 #define ADM5120_VLAN_EN 0x00000040 #define ADM5120_MAC_WT1 0x5c +#define ADM5120_BW_CTL0 0x60 /* Bandwidth control 0 */ +#define ADM5120_BW_CTL1 0x64 /* Bandwidth control 1 */ #define ADM5120_PHY_CNTL2 0x7c #define ADM5120_AUTONEG 0x0000001f /* Auto negotiate */ #define ADM5120_NORMAL 0x01f00000 /* PHY normal mode */ @@ -95,6 +97,8 @@ struct adm5120_sw { #define SIOCSMATRIX SIOCDEVPRIVATE #define SIOCGMATRIX SIOCDEVPRIVATE+1 #define SIOCGADMINFO SIOCDEVPRIVATE+2 +#define SIOCGETBW SIOCDEVPRIVATE+3 +#define SIOCSETBW SIOCDEVPRIVATE+4 struct adm5120_sw_info { u16 magic;