1. 05 2月, 2014 2 次提交
    • M
      net: ethoc: set up MII management bus clock · a13aff06
      Max Filippov 提交于
      MII management bus clock is derived from the MAC clock by dividing it by
      MIIMODER register CLKDIV field value. This value may need to be set up
      in case it is undefined or its default value is too high (and
      communication with PHY is too slow) or too low (and communication with
      PHY is impossible). The value of CLKDIV is not specified directly, but
      is derived from the MAC clock for the default MII management bus frequency
      of 2.5MHz. The MAC clock may be specified in the platform data, or in
      the 'clocks' device tree attribute.
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a13aff06
    • M
      net: ethoc: don't advertise gigabit speed on attached PHY · 445a48cc
      Max Filippov 提交于
      OpenCores 10/100 Mbps MAC does not support speeds above 100 Mbps, but does
      not disable advertisement when PHY supports them. This results in
      non-functioning network when the MAC is connected to a gigabit PHY connected
      to a gigabit switch.
      
      The fix is to disable gigabit speed advertisement on attached PHY
      unconditionally.
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      445a48cc
  2. 02 2月, 2014 4 次提交
  3. 31 8月, 2013 1 次提交
  4. 28 5月, 2013 1 次提交
  5. 30 1月, 2013 1 次提交
  6. 15 1月, 2013 1 次提交
  7. 07 1月, 2013 1 次提交
  8. 04 1月, 2013 2 次提交
  9. 04 12月, 2012 1 次提交
  10. 17 7月, 2012 1 次提交
  11. 11 7月, 2012 1 次提交
  12. 18 2月, 2012 1 次提交
    • D
      ethoc: set addr_assign_type if random_ether_addr() used · 939d2254
      Danny Kukawka 提交于
      Set addr_assign_type correctly to NET_ADDR_RANDOM in case
      a random MAC address was generated and assigned to the netdevice.
      
      Fixed ethoc_set_mac_address() to check if the given mac
      address is valid and set also dev_addr of the net_device.
      Check also the return value of ethoc_set_mac_address() in
      ethoc_probe().
      
      Reset the state to NET_ADDR_PERM as soon as the MAC get
      changed via .ndo_set_mac_address.
      
      v2: set net_device->dev_addr in ethoc_set_mac_address(),
          check if given address is valid
      Signed-off-by: NDanny Kukawka <danny.kukawka@bisect.de>
      939d2254
  13. 01 2月, 2012 1 次提交
  14. 31 1月, 2012 1 次提交
  15. 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
  16. 01 11月, 2011 1 次提交
  17. 18 8月, 2011 1 次提交
  18. 13 8月, 2011 1 次提交
  19. 22 6月, 2011 1 次提交
    • A
      net: remove mm.h inclusion from netdevice.h · b7f080cf
      Alexey Dobriyan 提交于
      Remove linux/mm.h inclusion from netdevice.h -- it's unused (I've checked manually).
      
      To prevent mm.h inclusion via other channels also extract "enum dma_data_direction"
      definition into separate header. This tiny piece is what gluing netdevice.h with mm.h
      via "netdevice.h => dmaengine.h => dma-mapping.h => scatterlist.h => mm.h".
      Removal of mm.h from scatterlist.h was tried and was found not feasible
      on most archs, so the link was cutoff earlier.
      
      Hope people are OK with tiny include file.
      
      Note, that mm_types.h is still dragged in, but it is a separate story.
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b7f080cf
  20. 14 6月, 2011 1 次提交
  21. 10 6月, 2011 1 次提交
  22. 07 6月, 2011 1 次提交
  23. 31 3月, 2011 1 次提交
  24. 22 1月, 2011 1 次提交
  25. 29 11月, 2010 8 次提交
  26. 25 8月, 2010 1 次提交
  27. 27 7月, 2010 1 次提交
  28. 19 7月, 2010 1 次提交