Changeset 30949


Ignore:
Timestamp:
Dec 14, 2016, 9:24:30 PM (2 months ago)
Author:
brainslayer
Message:

merge switch header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-3.2/include/linux/switch.h

    r26058 r30949  
    5252        SWITCH_ATTR_OP_VALUE_STR,
    5353        SWITCH_ATTR_OP_VALUE_PORTS,
     54        SWITCH_ATTR_OP_VALUE_LINK,
    5455        SWITCH_ATTR_OP_DESCRIPTION,
    5556        /* port lists */
     
    8889        SWITCH_TYPE_STRING,
    8990        SWITCH_TYPE_PORTS,
     91        SWITCH_TYPE_LINK,
    9092        SWITCH_TYPE_NOVAL,
    9193};
     
    98100        SWITCH_PORT_ATTR_MAX
    99101};
     102
     103/* link nested attributes */
     104enum {
     105        SWITCH_LINK_UNSPEC,
     106        SWITCH_LINK_FLAG_LINK,
     107        SWITCH_LINK_FLAG_DUPLEX,
     108        SWITCH_LINK_FLAG_ANEG,
     109        SWITCH_LINK_FLAG_TX_FLOW,
     110        SWITCH_LINK_FLAG_RX_FLOW,
     111        SWITCH_LINK_SPEED,
     112        SWITCH_LINK_FLAG_EEE_100BASET,
     113        SWITCH_LINK_FLAG_EEE_1000BASET,
     114        SWITCH_LINK_ATTR_MAX,
     115};
     116
    100117
    101118#define SWITCH_ATTR_DEFAULTS_OFFSET     0x1000
Note: See TracChangeset for help on using the changeset viewer.