mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
Resync kernel config, preliminary bandwidth control mgmt for the adm5120 switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7655 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user