1. 13 1月, 2012 3 次提交
  2. 11 1月, 2012 1 次提交
  3. 06 1月, 2012 1 次提交
  4. 05 1月, 2012 1 次提交
  5. 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
  6. 29 12月, 2011 1 次提交
  7. 28 12月, 2011 1 次提交
  8. 09 12月, 2011 8 次提交
  9. 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
  10. 01 12月, 2011 1 次提交
  11. 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
  12. 22 11月, 2011 1 次提交
  13. 17 11月, 2011 3 次提交
  14. 14 11月, 2011 2 次提交
  15. 05 11月, 2011 1 次提交
  16. 01 11月, 2011 1 次提交
  17. 30 9月, 2011 2 次提交
  18. 24 9月, 2011 3 次提交
  19. 17 9月, 2011 2 次提交
  20. 16 9月, 2011 1 次提交
  21. 31 8月, 2011 1 次提交
  22. 27 8月, 2011 1 次提交
    • J
      drivers/net/ethernet/*: Enabled vendor Kconfig options · 88f07484
      Jeff Kirsher 提交于
      Based on finds for Stephen Rothwell, where current defconfig's
      enable a ethernet driver and it is not compiled due to the newly
      added NET_VENDOR_* component of Kconfig.
      
      This patch enables all the "new" Kconfig options so that current
      defconfig's will continue to compile the expected drivers.  In
      addition, by enabling all the new Kconfig options does not add
      any un-expected options.
      
      CC: Stephen Rothwll <sfc@canb.auug.org.au>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      88f07484
  23. 18 8月, 2011 1 次提交