1. 26 3月, 2012 1 次提交
  2. 20 3月, 2012 1 次提交
  3. 19 3月, 2012 1 次提交
  4. 17 3月, 2012 1 次提交
  5. 16 3月, 2012 3 次提交
  6. 05 3月, 2012 1 次提交
  7. 14 2月, 2012 1 次提交
  8. 08 2月, 2012 1 次提交
    • F
      net: fec: Fix build due to wrong dev annotation · b72061a3
      Fabio Estevam 提交于
      commit 21a4e469 (netdev: ethernet dev_alloc_skb to netdev_alloc_skb)
      should have used "ndev" instead of "dev".
      
      This causes the following build errors:
      
      drivers/net/ethernet/freescale/fec.c: In function 'fec_enet_rx':
      drivers/net/ethernet/freescale/fec.c:714: error: 'dev' undeclared (first use in this function)
      drivers/net/ethernet/freescale/fec.c:714: error: (Each undeclared identifier is reported only once
      drivers/net/ethernet/freescale/fec.c:714: error: for each function it appears in.)
      drivers/net/ethernet/freescale/fec.c: In function 'fec_enet_alloc_buffers':
      drivers/net/ethernet/freescale/fec.c:1213: error: 'dev' undeclared (first use in this function)
      
      Fix it, so that fec driver can be built again.
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b72061a3
  9. 07 2月, 2012 1 次提交
  10. 01 2月, 2012 1 次提交
  11. 31 1月, 2012 1 次提交
  12. 25 1月, 2012 1 次提交
  13. 13 1月, 2012 3 次提交
  14. 11 1月, 2012 1 次提交
  15. 06 1月, 2012 1 次提交
  16. 05 1月, 2012 1 次提交
  17. 04 1月, 2012 1 次提交
    • W
      net: fsl: fec: fix build for mx23-only kernel · 0d903247
      Wolfram Sang 提交于
      If one only selects mx23-based boards, compile fails:
      
      drivers/net/ethernet/freescale/fec.c:410:2: error: 'FEC_HASH_TABLE_HIGH' undeclared (first use in this function)
      drivers/net/ethernet/freescale/fec.c:411:2: error: 'FEC_HASH_TABLE_LOW' undeclared (first use in this function)
      
      This is because fec.h uses CONFIG_SOC_IMX28 to determine the register
      layout of the core which makes sense since the MX23 does not have a fec.
      However, Kconfig uses the broader ARCH_MXS symbol and this way even
      makes the fec-driver default for MX23. Adapt Kconfig to use the more
      precise SOC_IMX28 as well.
      Signed-off-by: NWolfram Sang <w.sang@pengutronix.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      Cc: David S. Miller <davem@davemloft.net>
      Acked-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0d903247
  18. 29 12月, 2011 1 次提交
  19. 28 12月, 2011 1 次提交
  20. 09 12月, 2011 8 次提交
  21. 08 12月, 2011 2 次提交
    • A
      fsl_pq_mdio: Clean up tbi address configuration · 28d8ea2d
      Andy Fleming 提交于
      The code for setting the address of the internal TBI PHY was
      convoluted enough without a maze of ifdefs. Clean it up a bit
      so we allow the logic to fail down to -ENODEV at the end of
      the if/else ladder, rather than using ifdefs to repeat the same
      failure code over and over.
      
      Also, remove the support for the auto-configuration. I'm not aware of
      anyone using it, and it ends up using the bus mutex before it's been
      initialized.
      Signed-off-by: NAndy Fleming <afleming@freescale.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      28d8ea2d
    • 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
  22. 01 12月, 2011 1 次提交
  23. 29 11月, 2011 1 次提交
    • A
      net/ethernet: convert drivers/net/ethernet/* to use module_platform_driver() · db62f684
      Axel Lin 提交于
      This patch converts the drivers in drivers/net/ethernet/* to use the
      module_platform_driver() macro which makes the code smaller and a bit
      simpler.
      
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Pantelis Antoniou <pantelis.antoniou@gmail.com>
      Cc: Vitaly Bordug <vbordug@ru.mvista.com>
      Cc: Wan ZongShun <mcuos.com@gmail.com>
      Cc: Nicolas Pitre <nico@fluxnic.net>
      Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
      Cc: Marc Kleine-Budde <mkl@pengutronix.de>
      Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
      Cc: Jiri Pirko <jpirko@redhat.com>
      Cc: Daniel Hellstrom <daniel@gaisler.com>
      Cc: Alexey Dobriyan <adobriyan@gmail.com>
      Cc: Tobias Klauser <tklauser@distanz.ch>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Jiri Kosina <jkosina@suse.cz>
      Cc: Richard Cochran <richard.cochran@omicron.at>
      Cc: Jonas Bonn <jonas@southpole.se>
      Cc: Sebastian Poehn <sebastian.poehn@belden.com>
      Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Cc: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
      Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl>
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Acked-by: NWan ZongShun <mcuos.com@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      db62f684
  24. 22 11月, 2011 1 次提交
  25. 17 11月, 2011 3 次提交
  26. 14 11月, 2011 1 次提交