History log of /arch/xtensa/platforms/iss/network.c
Revision Date Author Comments
306ab5448fe1d002db8ca96c7d885e9f633b9121 10-Nov-2013 Max Filippov <jcmvbkbc@gmail.com> xtensa: ISS: raise network polling rate to 10 times/sec

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
8be54d770bcf6f7b203a705aefed2ec845e1b748 01-Dec-2013 Max Filippov <jcmvbkbc@gmail.com> xtensa: ISS: avoid simple_strtoul usage

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
a6e16b9aaf0df4b1de8853cad97f387ade9fa8f5 10-Nov-2013 Max Filippov <jcmvbkbc@gmail.com> xtensa: ISS: clean up diagnostic, increase verbosity

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
35e14b443aa906ffb4ff8bd884e393c1bbdb6670 10-Nov-2013 Max Filippov <jcmvbkbc@gmail.com> xtensa: ISS: always use fixed tuntap config

The code doesn't handle dynamic TAP interface allocation, so there's no
point tracking this case.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
f6ac5a177db24379e7a7a7d44b1ae7d1036042ec 10-Nov-2013 Max Filippov <jcmvbkbc@gmail.com> xtensa: ISS: enable iss_net_set_mac

This allows changing MAC address of the device.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
8991fd88354f924cc3f4e6386c619fc39fb48f21 10-Nov-2013 Max Filippov <jcmvbkbc@gmail.com> xtensa: ISS: drop IP setup, clean up MAC setup

Without proper MAC setup network device doesn't work. IP setup is
redundant and may be done with 'ip=...' kernel parameter.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
358b181003dbb30985331a77e753e1b05c05d87d 10-Nov-2013 Max Filippov <jcmvbkbc@gmail.com> xtensa: ISS: init network interface name before the probe

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
8c8ad85f1f3ee1c2096a6b7b0892cabe4a956e31 10-Nov-2013 Max Filippov <jcmvbkbc@gmail.com> xtensa: ISS: fix command line parameter name

Now 'ethX=...' syntax can actually be used in kernel command line to
specify network interfaces.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
3f3cd60bbd376e52ef91c92d0dba95b8942ebfcc 10-Nov-2013 Max Filippov <jcmvbkbc@gmail.com> xtensa: ISS: clean up iss-network driver

No functional changes, remove dead/unused code, clean checkpatch warnings,
replace strlen of constant strings with sizeof.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
f447fd30afdbb40c913054edaacf1a32df7a55d7 19-Sep-2013 Thomas Meyer <thomas@m3y3r.de> xtensa: Cocci spatch "noderef"

sizeof when applied to a pointer typed expression gives the size of the
pointer.
Found by coccinelle spatch "misc/noderef.cocci"

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Chris Zankel <chris@zankel.net>
dc2bffa77a2866a451126cf3146abb9787edce78 27-May-2013 Max Filippov <jcmvbkbc@gmail.com> xtensa: ISS: fix section mismatch in iss_net_setup

iss_net_setup is only called from __setup, so it should be marked
__init.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
717460ee3e8399eb66799cac0bb83217475b7027 17-Sep-2012 Max Filippov <jcmvbkbc@gmail.com> xtensa: ISS: fix __simc implementation

Do not rely on compiler implicitly placing function arguments into
specifc registers, place them explicitly.

Move __simc and related helpers to platform/simcall.h

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
afc4b13df143122f99a0eb10bfefb216c2806de0 16-Aug-2011 Jiri Pirko <jpirko@redhat.com> net: remove use of ndo_set_multicast_list in drivers

replace it by ndo_set_rx_mode

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
0a972468ec3f8a5f86193a8f124f7b04cf600c3c 02-May-2010 Chris Zankel <chris@zankel.net> xtensa: Fix the network driver for the simulator target

Network methods have moved to the net_device_ops structure.

Signed-off-by: Chris Zankel <chris@zankel.net>
4cd24eaf0c6ee7f0242e34ee77ec899f255e66b5 08-Feb-2010 Jiri Pirko <jpirko@redhat.com> net: use netdev_mc_count and netdev_mc_empty when appropriate

This patch replaces dev->mc_count in all drivers (hopefully I didn't miss
anything). Used spatch and did small tweaks and conding style changes when
it was suitable.

Jirka

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
ec634fe328182a1a098585bfc7b69e5042bdb08d 06-Jul-2009 Patrick McHardy <kaber@trash.net> net: convert remaining non-symbolic return values in ndo_start_xmit() functions

This patch converts the remaining occurences of raw return values to their
symbolic counterparts in ndo_start_xmit() functions that were missed by the
previous automatic conversion.

Additionally code that assumed the symbolic value of NETDEV_TX_OK to be zero
is changed to explicitly use NETDEV_TX_OK.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
6cbeba55c5cbd042040d6114471637e8b10d4a6b 05-Dec-2008 Wang Chen <wangchen@cn.fujitsu.com> xtensa: Kill directly reference of netdev->priv

Simply replace netdev->priv with netdev_priv().

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
5fee325e7d2bcbebf1cb38b4ff3a7aa3744c43e3 04-Dec-2008 Chris Zankel <chris@zankel.net> xtensa: Update platform files to reflect new location of the header files.

Change 367b8112fe2ea5c39a7bb4d263dcdd9b612fae18 moved the platform specific
header files to arch/xtensa/platforms/<platform>/include/platform. These two
file weren't updated.

Signed-off-by: Chris Zankel <chris@zankel.net>
367b8112fe2ea5c39a7bb4d263dcdd9b612fae18 06-Nov-2008 Chris Zankel <chris@zankel.net> xtensa: move headers files to arch/xtensa/include

Move all header files for xtensa to arch/xtensa/include and platform and
variant header files to the appropriate arch/xtensa/platforms/ and
arch/xtensa/variants/ directories.

Moving the files gets also rid of all uses of symlinks in the Makefile.

This has been completed already for the majority of the architectures
and xtensa is one out of six missing.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Chris Zankel <chris@zankel.net>
7c510e4b730a92cecf94ada45c989d8be0200d47 28-Oct-2008 Johannes Berg <johannes@sipsolutions.net> net: convert more to %pM

A number of places still use %02x:...:%02x because it's
in debug statements or for no real reason. Make a few
of them use %pM.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
ef9c2f04dbeef3bf8ffcb43aeb5d8738f4141718 30-Jul-2008 Robert P. J. Day <rpjday@crashcourse.ca> xtensa: use newer __SPIN_LOCK_UNLOCKED macro

SPIN_LOCK_UNLOCKED() breaks lockdep and is deprecated.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Chris Zankel <chris@zankel.net>
c865415838146d83c92e4c1ae69aff45ef9f35f8 22-Sep-2007 Marc Gauthier <marc@gums.hq.tensilica.com> [XTENSA] Prevent inlining ISS platform asm constructs

The simcall asm macro assumes Windowed ABI parameter passing
in registers, and doesn't work if its containing function gets
inlined. This fix prevents that from happening.

Signed-off-by: Marc Gauthier <marc@tensilica.com>
b26d0ab0e6fa3a886d2799bf89eb05dd52f8b7c2 13-Sep-2007 Chris Zankel <chris@zankel.net> [XTENSA] Concentrate platforms into one platforms directory.

Create arch/xtensa/platforms/ directory to concentrate
all platforms under that subdirectory and moves the ISS platform
to that directory.

Signed-off-by: Chris Zankel <chris@zankel.net>