mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] Multi network device improvements
@ 2014-05-15  6:32 Sascha Hauer
  2014-05-15  6:32 ` [PATCH 1/4] net: ifup: Set current ethernet device when doing ifup Sascha Hauer
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sascha Hauer @ 2014-05-15  6:32 UTC (permalink / raw)
  To: barebox

Currently all network packets go through the current ethernet device.
This means when the interface is changed with the ethact command all
existing NFS mounts / TFTP mounts become nonfunctional because the
packets go to the wrong interface. This series fixes that. Also
the 'ifup' command now changes the current interface to the one to
be brought up. Otherwise the correct interface is configured, but
for example dhcp requests would go out the current interface which
may be the wrong one.

Sascha

----------------------------------------------------------------
Sascha Hauer (4):
      net: ifup: Set current ethernet device when doing ifup
      net: Pass eth_device to net_receive
      net: Allow to use multiple network interfaces at once
      net: phy: Print ethernet device in the link information

 drivers/net/altera_tse.c   |  2 +-
 drivers/net/ar231x.c       |  2 +-
 drivers/net/arc_emac.c     |  2 +-
 drivers/net/at91_ether.c   |  2 +-
 drivers/net/cpsw.c         |  2 +-
 drivers/net/cs8900.c       |  2 +-
 drivers/net/davinci_emac.c |  2 +-
 drivers/net/designware.c   |  2 +-
 drivers/net/dm9k.c         |  2 +-
 drivers/net/ep93xx.c       |  2 +-
 drivers/net/ethoc.c        |  2 +-
 drivers/net/fec_imx.c      |  2 +-
 drivers/net/fec_mpc5200.c  |  2 +-
 drivers/net/gianfar.c      |  2 +-
 drivers/net/ks8851_mll.c   |  2 +-
 drivers/net/macb.c         |  4 ++--
 drivers/net/netx_eth.c     |  2 +-
 drivers/net/orion-gbe.c    |  2 +-
 drivers/net/phy/phy.c      |  2 +-
 drivers/net/smc91111.c     |  2 +-
 drivers/net/smc911x.c      |  2 +-
 drivers/net/tap.c          |  2 +-
 drivers/net/usb/asix.c     |  2 +-
 drivers/net/usb/smsc95xx.c |  4 ++--
 drivers/net/usb/usbnet.c   |  2 +-
 drivers/net/xgmac.c        |  2 +-
 include/net.h              |  5 ++--
 net/eth.c                  | 58 +++++++++++++++++++++++++---------------------
 net/ifup.c                 |  2 ++
 net/net.c                  | 21 ++++++++---------
 30 files changed, 74 insertions(+), 68 deletions(-)

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-05-15  6:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-15  6:32 [PATCH] Multi network device improvements Sascha Hauer
2014-05-15  6:32 ` [PATCH 1/4] net: ifup: Set current ethernet device when doing ifup Sascha Hauer
2014-05-15  6:32 ` [PATCH 2/4] net: Pass eth_device to net_receive Sascha Hauer
2014-05-15  6:32 ` [PATCH 3/4] net: Allow to use multiple network interfaces at once Sascha Hauer
2014-05-15  6:32 ` [PATCH 4/4] net: phy: Print ethernet device in the link information Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox