1. 21 4月, 2016 15 次提交
  2. 20 4月, 2016 11 次提交
  3. 19 4月, 2016 12 次提交
  4. 18 4月, 2016 2 次提交
    • D
      Merge branch 'dsa-mv88e6xxx-switch-factorization' · ccd37cff
      David S. Miller 提交于
      Vivien Didelot says:
      
      ====================
      net: dsa: mv88e6xxx: factorize switch info
      
      This patchset factorizes the mv88e6xxx code by sharing a new extendable
      info structure to store static data such as switch family, product
      number, number of ports, number of databases and the name.
      
      The next step is to add a "flags" bitmap member to the info structure in
      order to simplify the shared code with a feature-based logic instead of
      checking their family/ID.
      
      This is a step forward having a single mv88e6xxx driver supporting many
      similar devices, like any usual Linux driver.
      
      Changes v3 -> v4:
        - constify probed name in DSA
        - rebase patchset above conflicting commit 48ace4ef
      
      Changes v2 -> v3:
        - update commit messages and add Andrew's tags
        - keep the info lookup code in a separated function
        - split the single switch ID reading in probe in a new commit
      
      Changes v1 -> v2:
        - define PORT_SWITCH_ID_PROD_NUM_* values
        - use plain struct mv88e6xxx_info
        - remove non used yet ps->rev
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ccd37cff
    • V
      net: dsa: mv88e6xxx: remove switch ID from ps · d967ecbc
      Vivien Didelot 提交于
      ps->id is not needed anymore, so remove it as well as the related
      defined values.
      Signed-off-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com>
      Reviewed-by: NAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d967ecbc