30 Jun, 2017
1 commit
-
The assignment is superfluous.
Signed-off-by: Michael Grzeschik
Signed-off-by: David S. Miller
26 Oct, 2015
1 commit
-
This patch changes the driver to properly work with the linux netif
interface. The controller gets enabled on open and disabled on close.
Therefor it removes every bogus start of the xceiver. It only gets
enabled on com20020_open and disabled on com20020_close.Signed-off-by: Michael Grzeschik
23 Sep, 2015
14 commits
-
This patch replaces all magic numbers in the driver with
proper named macros. For the case of XTOcfg and STARTIOcmd
it introduces the new macros.Signed-off-by: Michael Grzeschik
-
Simplify and make consistent the current uses of inb/outb
by using the newly introduced arcnet_ equivalents.o Add new #defines for register offsets
There is an register offset, 8, that is unnamed and used as-is.
o Remove old #defines that included the ioaddr
o Remove obfuscating macros by expanding them in-place where appropriate
o Create static inline com20020_set_subaddress for the SET_SUBADR macroThere is an unused arcnet config entry CONFIGSA100_CT6001 which added a
special #define BUS_ALIGN which was introduced but never used in fullhist git
tree commit 22cfce4b82b0 ("[ARCNET]: Fixes.") in Nov 2004 for Linux v2.6.10.This BUS_ALIGN #define tries to allow 8 bit devices to work on a 16 bit
bus by aligning addresses to 16 bit boundaries.Move this currently unused CONFIG_SA1100_CT6001 BUS_ALIGN macro from
com20020.h to arcdevice.h.Signed-off-by: Joe Perches
Signed-off-by: Michael Grzeschik -
Might as well be specific about the use of this array.
Add a commment questioning the indexing too.
Signed-off-by: Joe Perches
Signed-off-by: Michael Grzeschik -
These #include files don't need to be in the include/linux directory
as they can be local to drivers/net/arcnet/Move them and update the #include statements.
Update the MAINTAINERS file pattern by deleting arcdevice from the
NETWORKING block as arcnet is currently unmaintained.Signed-off-by: Joe Perches
Signed-off-by: Michael Grzeschik -
Just neatening.
Signed-off-by: Joe Perches
Signed-off-by: Michael Grzeschik -
Move the assignment above the if like general kernel style.
Signed-off-by: Joe Perches
Signed-off-by: Michael Grzeschik -
Use the more current logging style.
Remove #define VERSION, use pr_info normally.
Add pr_fmt with "arcnet:" prefixes and KBUILD_MODNAME.Signed-off-by: Joe Perches
Signed-off-by: Michael Grzeschik -
These macros don't actually represent BUG uses but are more commonly
used as logging macros, so use a more kernel style macro.Convert the BUGMSG from a netdev_ like use to actually use netdev_.
Signed-off-by: Joe Perches
Signed-off-by: Michael Grzeschik -
Don't hide what should be obvious.
Make the macro a simple test instead of using if and test.
Signed-off-by: Joe Perches
Signed-off-by: Michael Grzeschik -
Conformity can be useful.
Signed-off-by: Joe Perches
Signed-off-by: Michael Grzeschik -
Use the preferred kernel include path for asm paths.
Signed-off-by: Joe Perches
Signed-off-by: Michael Grzeschik -
Move braces normal kernel locations.
Add missing braces.Signed-off-by: Joe Perches
Signed-off-by: Michael Grzeschik -
Use a more current kernel line style.
Signed-off-by: Joe Perches
Signed-off-by: Michael Grzeschik -
Standardized spacing is easier to read.
git diff -w shows no differences.
objdiff shows no differences.Signed-off-by: Joe Perches
Signed-off-by: Michael Grzeschik
30 Sep, 2014
1 commit
-
This patch adds com20020_set_hwaddr to make
it possible to change the hwaddr on runtime.Signed-off-by: Michael Grzeschik
Signed-off-by: David S. Miller
18 Aug, 2011
1 commit
-
replace it by ndo_set_rx_mode
Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller
07 Jun, 2011
1 commit
-
* remove interrupt.g inclusion from netdevice.h -- not needed
* fixup fallout, add interrupt.h and hardirq.h back where needed.Signed-off-by: Alexey Dobriyan
Signed-off-by: David S. Miller