1. 08 12月, 2011 1 次提交
    • S
      net/fec: fix the use of pdev->id · 43af940c
      Shawn Guo 提交于
      The pdev->id is used in several places for different purpose.  All
      these uses assume it's always the id of fec device which is >= 0.
      However this is only true for non-DT case.  When DT plays, pdev->id
      is always -1, which will break these pdev->id users.
      
      Instead of fixing all these users one by one, this patch introduces
      a new member 'dev_id' to 'struct fec_enet_private' for holding the
      correct fec device id, and replaces all the existing uses of pdev->id
      with this dev_id.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      43af940c
  2. 07 12月, 2011 4 次提交
  3. 06 12月, 2011 29 次提交
  4. 05 12月, 2011 6 次提交