1. 20 12月, 2012 2 次提交
  2. 12 12月, 2012 1 次提交
  3. 11 12月, 2012 1 次提交
  4. 08 12月, 2012 1 次提交
  5. 04 12月, 2012 5 次提交
  6. 20 11月, 2012 1 次提交
  7. 15 11月, 2012 1 次提交
    • K
      net/smsc911x: Fix ready check in cases where WORD_SWAP is needed · 769ce4c9
      Kamlakant Patel 提交于
      The chip ready check added by the commit 3ac3546e [Always wait for
      the chip to be ready] does not work when the register read/write
      is word swapped. This check has been added before the WORD_SWAP
      register is programmed, so we need to check for swapped register
      value as well.
      
      Bit 16 is marked as RESERVED in SMSC datasheet, Steve Glendinning
      <steve@shawell.net> checked with SMSC and wrote:
      
        The chip architects have concluded we should be reading PMT_CTRL
        until we see any of bits 0, 8, 16 or 24 set.  Then we should read
        BYTE_TEST to check the byte order is correct (as we already do).
      
        The rationale behind this is that some of the chip variants have
        word order swapping features too, so the READY bit could actually
        be in any of the 4 possible locations.  The architects have confirmed
        that if any of these 4 positions is set the chip is ready.  The other
        3 locations will either never be set or can only go high after READY
        does (so also indicate the device is ready).
      
      This change will check for the READY bit at the 16th position. We do
      not check the other two cases (bit 8 and 24) since the driver does not
      support byte-swapped register read/write.
      Signed-off-by: NKamlakant Patel <kamlakant.patel@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      769ce4c9
  8. 17 7月, 2012 1 次提交
  9. 11 7月, 2012 1 次提交
  10. 23 6月, 2012 1 次提交
  11. 07 6月, 2012 1 次提交
    • J
      ethernet: Remove casts to same type · 64699336
      Joe Perches 提交于
      Adding casts of objects to the same type is unnecessary
      and confusing for a human reader.
      
      For example, this cast:
      
              int y;
              int *p = (int *)&y;
      
      I used the coccinelle script below to find and remove these
      unnecessary casts.  I manually removed the conversions this
      script produces of casts with __force, __iomem and __user.
      
      @@
      type T;
      T *p;
      @@
      
      -       (T *)p
      +       p
      
      A function in atl1e_main.c was passed a const pointer
      when it actually modified elements of the structure.
      
      Change the argument to a non-const pointer.
      
      A function in stmmac needed a __force to avoid a sparse
      warning.  Added it.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      64699336
  12. 31 5月, 2012 1 次提交
  13. 22 4月, 2012 1 次提交
  14. 14 4月, 2012 1 次提交
  15. 07 4月, 2012 2 次提交
  16. 04 4月, 2012 2 次提交
  17. 29 3月, 2012 1 次提交
  18. 16 2月, 2012 2 次提交
  19. 09 2月, 2012 2 次提交
  20. 01 2月, 2012 1 次提交
  21. 11 1月, 2012 1 次提交
  22. 08 1月, 2012 1 次提交
  23. 04 1月, 2012 2 次提交
  24. 30 11月, 2011 1 次提交
    • R
      net/smsc911x: Add regulator support · c7e963f6
      Robert Marklund 提交于
      Add some basic regulator support for the power pins, as needed
      by the ST-Ericsson Snowball platform that powers up the SMSC911
      chip using an external regulator.
      
      Platforms that use regulators and the smsc911x and have no defined
      regulator for the smsc911x and claim complete regulator
      constraints with no dummy regulators will need to provide it, for
      example using a fixed voltage regulator. It appears that this may
      affect (apart from Ux500 Snowball) possibly these archs/machines
      that from some grep:s appear to define both CONFIG_SMSC911X and
      CONFIG_REGULATOR:
      
      - ARM Freescale mx3 and OMAP 2 plus, Raumfeld machines
      - Blackfin
      - Super-H
      
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: linux-sh@vger.kernel.org
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: linux-omap@vger.kernel.org
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: uclinux-dist-devel@blackfin.uclinux.org
      Reviewed-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NRobert Marklund <robert.marklund@stericsson.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c7e963f6
  25. 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
  26. 17 11月, 2011 1 次提交
  27. 14 11月, 2011 1 次提交
  28. 09 11月, 2011 1 次提交
  29. 01 11月, 2011 1 次提交
  30. 22 9月, 2011 1 次提交