On Mon, Aug 13, 2018 at 12:53:35PM -0700, Florian Fainelli wrote:
> On 08/13/2018 12:35 PM, Michael Grzeschik wrote:
> > Hi David,
> >
> > I use a special 100Base-T1 phy (NXP TJA1100 [1]) that has some features
> > like:
> >
> > - enabling/dis
Hi David,
I use a special 100Base-T1 phy (NXP TJA1100 [1]) that has some features
like:
- enabling/disabling test modes
- fault detection
- switching managed/autonomous mode
- signal quality indication
- ...
I already implemented the support of the features with the
ethtool
This series adds more error handling to the macb driver.
Michael Grzeschik (2):
net: macb: add of_phy_deregister_fixed_link to error paths
net: macb: add of_node_put to error paths
drivers/net/ethernet/cadence/macb_main.c | 9 +
1 file changed, 9 insertions(+)
--
2.11.0
We add the call of_phy_deregister_fixed_link to all associated
error paths for memory clean up.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
v2: removed extra parenthesis
drivers/net/ethernet/cadence/macb_main.c | 7 +++
1 file changed, 7 insertions(+)
diff
We add the call of_node_put(bp->phy_node) to all associated error
paths for memory clean up.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
v2: removed extra of_node_put from macb_remove
drivers/net/ethernet/cadence/macb_main.c | 2 ++
1 file changed, 2 insertions
On Wed, Nov 08, 2017 at 01:22:57PM +0900, David Miller wrote:
> From: Michael Grzeschik <m.grzesc...@pengutronix.de>
> Date: Mon, 6 Nov 2017 12:10:04 +0100
>
> > We add the call of_phy_deregister_fixed_link to all associated
> > error paths for memory clean up.
>
We add the call of_node_put(bp->phy_node) to all associated error
paths for memory clean up.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
v1 -> v2: removed extra of_node_put from macb_remove
drivers/net/ethernet/cadence/macb_main.c | 2 ++
1 file changed,
On Tue, Nov 07, 2017 at 10:27:20AM +0100, Nicolas Ferre wrote:
> On 06/11/2017 at 12:10, Michael Grzeschik wrote:
> > We add the call of_node_put(bp->phy_node) to all associated error
> > paths for memory clean up.
> >
> > Signed-off-by: Michael Grzesch
We add the call of_node_put(bp->phy_node) to all associated error
paths for memory clean up.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/ethernet/cadence/macb_main.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/ethernet/cadence/ma
We add the call of_phy_deregister_fixed_link to all associated
error paths for memory clean up.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/ethernet/cadence/macb_main.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/net/ethernet/c
We need to track the status of our queued packages. This way the driving
process knows if failed packages need to be retransmitted. For this
purpose we queue the transferred/failed packages back into the err_skb
message queue added with some status information.
Signed-off-by: Michael Grzeschik
We add the sysfs interface the read back the backplane
status of the interface.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/com20020-pci.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/net/arcnet/com20020-pc
an extra sysfs attribute. In the last patch we add another
card type PCIFB2.
Michael Grzeschik (4):
arcnet: add err_skb package for package status feedback
arcnet: com20020-pci: add attribute to readback backplane status
arcnet: com20020-pci: handle backplane mode depending on card type
arcnet
We read the backplane mode of each subcard from bits 2 and 3 of the misc
register.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/com20020-pci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/arcnet/com20020-pci.c
b/drivers/net/
We add support for the PCIFB2 card from EAE.
Beside other cards, this card has the backplane mode enabled by default.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/com20020-pci.c | 34 ++
1 file changed, 34 inse
42.213978] [] (SyS_sendto) from [] (SyS_send+0x18/0x20)
[ 42.221388] [] (SyS_send) from []
(ret_fast_syscall+0x0/0x1c)
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
v1 -> v2: removed unneeded zero assignment of flags
---
drivers/net/arcnet/arcnet.c | 7 +
and missing assignments that improves the code footprint.
Colin Ian King (1):
Trivial fix to spelling mistake in arc_printk message
Michael Grzeschik (4):
arcnet: change irq handler to lock irqsave
arcnet: com20020: remove needless base_addr assignment
arcnet: com20020-pci: fix dev_id
The assignment is superfluous.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/com20020.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/arcnet/com20020.c b/drivers/net/arcnet/com20020.c
index 13d9ad4b3f5c9..78043a9c5981e
The dev_id was miscalculated. Only the two bits 4-5 are relevant for the
MA1 card. PCIARC1 and PCIFB2 use the four bits 4-7 for id selection.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/com20020-pci.c | 5 +++--
1 file changed, 3 insertions
We add the pdev data to the pci devices netdev structure. This way
the interface get consistent device names in the userspace (udev).
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/com20020-pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/d
From: Colin Ian King <colin.k...@canonical.com>
Signed-off-by: Colin Ian King <colin.k...@canonical.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/capmode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ne
Hi,
On Fri, Jun 23, 2017 at 01:54:03PM -0400, David Miller wrote:
> From: Michael Grzeschik <m.grzesc...@pengutronix.de>
> Date: Thu, 22 Jun 2017 17:31:02 +0200
>
> > are available in the git repository at:
> >
> > pub...@git.pengutronix.de:/mgr/linux.git
On Sun, Jun 25, 2017 at 10:15:06PM +0100, Colin King wrote:
> From: Colin Ian King
>
> Trivial fix to spelling mistake in arc_printk message
>
> Signed-off-by: Colin Ian King
> ---
> drivers/net/arcnet/capmode.c | 2 +-
> 1 file changed, 1
In case the MACB is directly connected to a
non-mdio PHY/device, it should be possible to provide
a fixed link configuration in the DT.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
v1 -> v2: - moved of_phy_connect case and phy_connect_direct into if el
We add support for the PCIFB2 card from EAE.
Beside other cards, this card has the backplane mode enabled by default.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/com20020-pci.c | 34 ++
1 file changed, 34 inse
We read the backplane mode of each subcard from bits 2 and 3 of the misc
register.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/com20020-pci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/arcnet/com20020-pci.c
b/drivers/net/
We add the pdev data to the pci devices netdev structure. This way
the interface get consistent device names in the userspace (udev).
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/com20020-pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/d
The assignment is superfluous.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/com20020.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/arcnet/com20020.c b/drivers/net/arcnet/com20020.c
index 13d9ad4b3f5c9..78043a9c5981e
The dev_id was miscalculated. Only the two bits 4-5 are relevant for the
MA1 card. PCIARC1 and PCIFB2 use the four bits 4-7 for id selection.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/com20020-pci.c | 5 +++--
1 file changed, 3 insertions
42.213978] [] (SyS_sendto) from [] (SyS_send+0x18/0x20)
[ 42.221388] [] (SyS_send) from []
(ret_fast_syscall+0x0/0x1c)
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arcnet.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a
Michael Grzeschik (8):
arcnet: change irq handler to lock irqsave
arcnet: add err_skb package for package status feedback
arcnet: com20020: remove needless base_addr assignment
arcnet: com20020-pci: add missing pdev setup in netdev structure
arcnet: com20020-pci: fix
We need to track the status of our queued packages. This way the driving
process knows if failed packages need to be retransmitted. For this
purpose we queue the transferred/failed packages back into the err_skb
message queue added with some status information.
Signed-off-by: Michael Grzeschik
We add the sysfs interface the read back the backplane
status of the interface.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/com20020-pci.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/net/arcnet/com20020-pc
Hi Nicolas,
On Mon, Jun 19, 2017 at 12:54:10PM +0200, Nicolas Ferre wrote:
> Le 16/06/2017 à 10:55, Michael Grzeschik a écrit :
> > In case the MACB is directly connected to a
> > non-mdio PHY/device, it should be possible to provide
> > a fixed link configuration in the DT
In case the MACB is directly connected to a
non-mdio PHY/device, it should be possible to provide
a fixed link configuration in the DT.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/ethernet/cadence/macb.c | 21 +
drivers/net/ethernet/c
not called from any other function.
>
> Signed-off-by: Julia Lawall <julia.law...@lip6.fr>
>
Acked-by: Michael Grzeschik <m...@pengutronix.de>
> ---
> drivers/net/arcnet/com90xx.c |2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/driv
This patch adds support to enable and disable the xceiver
in case it's switchable by the regulator framework.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
v1 -> v2:
- always returning PTR_ERR in case devm_regulator_get fails
- removed inline wrapper functions wi
Hi,
On Wed, Jan 20, 2016 at 05:19:18PM +0100, Bjørn Mork wrote:
> Michael Grzeschik <m.grzesc...@pengutronix.de> writes:
>
> > @@ -1263,6 +1271,10 @@ int register_c_can_dev(struct net_device *dev)
> > */
> > pinctrl_pm_select_sleep_state(dev->dev.parent)
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
The call for dev_free_skb is done only once. This patch
moves its call to its only user and removes the obsolete
condition variable.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arcnet.c | 10 ++
1 file changed, 2 insertions(+), 8 del
The EAE PLX-PCI card has a special rotary encoder
to configure the address of every card individually.
We take this information for the initial setup of
the cards dev_id.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
v1 -> v2: kbuild test robot: fixed type of misc
.
Michael Grzeschik (6):
arcnet: move dev_free_skb to its only user
arcnet: com20020: add enable and disable device on open/close
arcnet: com20020-pci: set dev_port to the subdevice index
arcnet: com20020-pci: add rotary index support
arcnet: com20020-pci: add led trigger
The EAE PLX-PCI card has special leds on the the main io pci resource
bar. This patch adds support to trigger the conflict and data leds with
the packages.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
v1 -> v2: kbuild test robot: added dummy inline
This patch sets the dev_port according to the index of
the card. This can be used by udev to name the ports
in userspace.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/com20020-pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/
ine the connection stable again.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arcdevice.h | 2 ++
drivers/net/arcnet/arcnet.c| 25 +
2 files changed, 27 insertions(+)
diff --git a/drivers/net/arcnet/arcdevice.h b/drivers/net/arcnet/ar
The EAE PLX-PCI card has a special rotary encoder
to configure the address of every card individually.
We take this information for the initial setup of
the cards dev_id.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/com20020-pci.
The EAE PLX-PCI card has special leds on the the main io pci resource
bar. This patch adds support to trigger the conflict and data leds with
the packages.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arcdevice.h| 19 ++
drivers/net/
This patch sets the dev_port according to the index of
the card. This can be used by udev to name the ports
in userspace.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/com20020-pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/
ine the connection stable again.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arcdevice.h | 2 ++
drivers/net/arcnet/arcnet.c| 25 +
2 files changed, 27 insertions(+)
diff --git a/drivers/net/arcnet/arcdevice.h b/drivers/net/arcnet/ar
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
.
Michael Grzeschik (6):
arcnet: move dev_free_skb to its only user
arcnet: com20020: add enable and disable device on open/close
arcnet: com20020-pci: set dev_port to the subdevice index
arcnet: com20020-pci: add rotary index support
arcnet: com20020-pci: add led
The call for dev_free_skb is done only once. This patch
moves its call to its only user and removes the obsolete
condition variable.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arcnet.c | 10 ++
1 file changed, 2 insertions(+), 8 del
Hi David,
On Sun, Oct 18, 2015 at 08:19:42PM -0700, David Miller wrote:
> From: Michael Grzeschik <m.grzesc...@pengutronix.de>
> Date: Fri, 16 Oct 2015 13:00:54 +0200
>
> > This series includes some small fixes. The main changes are the correct
> > xceiv
ine the connection stable again.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arcdevice.h | 2 ++
drivers/net/arcnet/arcnet.c| 25 +
2 files changed, 27 insertions(+)
diff --git a/drivers/net/arcnet/arcdevice.h b/drivers/net/arcnet/ar
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
The EAE PLX-PCI card has special leds on the the main io pci resource
bar. This patch adds support to trigger the conflict and data leds with
the packages.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arcdevice.h| 19 ++
drivers/net/
The call for dev_free_skb is done only once. This patch
moves its call to its only user and removes the obsolete
condition variable.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arcnet.c | 10 ++
1 file changed, 2 insertions(+), 8 del
The EAE PLX-PCI card has a special rotary encoder
to configure the address of every card individually.
We take this information for the initial setup of
the cards dev_id.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/com20020-pci.
) of the com20020 cards. The driver now handles
link status change detection. The EAE PCI-ARCNET cards now make use of the
rotary encoded subdevice indexing and got support for led triggers on transmit
and reconnection events.
Michael Grzeschik (6
On Tue, Sep 22, 2015 at 05:25:03PM -0700, David Miller wrote:
> From: Michael Grzeschik <m.grzesc...@pengutronix.de>
> Date: Tue, 22 Sep 2015 11:01:41 +0200
>
> > git://git.pengutronix.de/git/mgr/linux.git tags/arcnet-cleanup-v4.3-rc2
>
> Please build this tree agai
From: Joe Perches <j...@perches.com>
Standardized spacing is easier to read.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
include/uapi/linux/if_arcnet.h | 55 --
From: Joe Perches <j...@perches.com>
Using coalesced strings helps grep for specific messages.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arc-rimi.c | 9 +++--
drivers/net/arcnet/a
and arcnet_writeb
arcnet: arc-rimi: Use arcnet_ routines
arcnet: com90xx: Use arcnet_readb/writeb routines
arcnet: Remove function pointer macro indirections
arcnet: Add com9026.h to standardize COM9026_REG_
arcnet: Remove unused arcnet_w macros
Michael Grzeschik (4):
arcnet: reformat structs to C99
From: Joe Perches <j...@perches.com>
These macros are actually printk and pr_cont uses with a flag.
Add a new BUGLVL_TEST macro which is just the "should use" test
and not an odd "if ()" macro to simplify uses in a new patch.
Signed-off-by: Joe Perches <j...@perche
From: Joe Perches <j...@perches.com>
Standardized spacing is easier to read.
git diff -w shows no differences.
objdiff shows no differences.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/ar
From: Joe Perches <j...@perches.com>
Don't hide what should be obvious.
Make the macro a simple test instead of using if and test.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arc-rawmode.c
From: Joe Perches <j...@perches.com>
Simplify and make consistent the current uses of readb/writeb
by using the newly introduced arcnet_ equivalents.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arc
arcnet is currently unmaintained.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
MAINTAINERS | 1 -
drivers/net/arcnet/arc-rawmode.c | 3 ++-
drivers/net
From: Joe Perches <j...@perches.com>
Might as well be specific about the use of this array.
Add a commment questioning the indexing too.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcn
-place where appropriate
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arc-rimi.c | 55 ---
1 file changed, 25 insertions(+), 30 deletions(-)
diff --git a/driv
From: Joe Perches <j...@perches.com>
Alloc failures have generic stack dumps so these are redundant.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arc-rawmode.c | 1 -
drivers/net/arcnet/
From: Joe Perches <j...@perches.com>
Use the normal kernel style for EXPORT_SYMBOL.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arcnet.c | 33 ++---
1 file chan
From: Joe Perches <j...@perches.com>
Move the assignment above the if like general kernel style.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/com20020-isa.c | 4 +++-
drivers/net/arcnet/
From: Joe Perches <j...@perches.com>
arcnet uses an I/O scheme which can align I/O addresses to word boundaries
on different architectures.
Add arcnet specific macros which can hide this alignment calculation.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Micha
From: Joe Perches <j...@perches.com>
It's clearer to use function pointer calls directly instead of the
macro indirections of ARCRESET, ACOMMAND, ASTATUS, and AINTMASK.
Remove the now unused macros too.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzesch
From: Joe Perches <j...@perches.com>
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 <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pen
From: Joe Perches <j...@perches.com>
Use the preferred kernel include path for asm paths.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arc-rimi.c | 2 +-
drivers/net/arcnet/com20020-isa
From: Joe Perches <j...@perches.com>
Use direct tests of pointer instead.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arc-rawmode.c | 2 +-
drivers/net/arcnet/capmode.c | 4 ++--
From: Joe Perches <j...@perches.com>
Make sure the arguments are tested appropriately when not using
this function.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
include/linux/arcdevice.h | 5 -
1 file cha
From: Joe Perches <j...@perches.com>
Just neatening.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arc-rawmode.c | 3 ++-
drivers/net/arcnet/arc-rimi.c | 11 ++-
drivers/n
where appropriate
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/com90xx.c | 67 ++--
1 file changed, 33 insertions(+), 34 deletions(-)
diff --git a/drivers/net/
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 <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arcdevice.h | 1 +
drivers/net/arcnet/com20020.c
where appropriate
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/com90io.c | 101 ---
1 file changed, 48 insertions(+), 53 deletions(-)
diff --git a/drivers/net/
From: Joe Perches <j...@perches.com>
Conformity can be useful.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arc-rawmode.c | 15
drivers/net/arcnet/arc-rimi.c | 17 -
From: Joe Perches <j...@perches.com>
Use a more current kernel line style.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arc-rawmode.c | 5 -
drivers/net/arcnet/arc-rimi.c | 8 +++
This patch cleans the capmode protocol module. It removes the obsolete
function arcnet_cap_init and replaces printk with pr_info.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/capmode.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
;
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arc-rawmode.c | 16 +--
drivers/net/arcnet/arc-rimi.c | 24 +++--
drivers/net/arcnet/arcnet.c | 212 --
drivers/net/arcnet/capmode.c | 35 ---
drivers/n
From: Joe Perches <j...@perches.com>
Move braces normal kernel locations.
Add missing braces.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arc-rawmode.c | 6 +++---
drivers/net/arcnet/
This patch changes the macro definitions to match the C99
formating. This improves the readability.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/capmode.c | 14 ++
drivers/net/arcnet/com20020-pci.
From: Joe Perches <j...@perches.com>
Use the same indirection as the other arcnet_ macros.
Neither of these new macros add the BUS_ALIGN use for 8 bit devices
on 16 bit busses.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...
From: Joe Perches <j...@perches.com>
Deduplicate the COM9026 registers.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arc-rimi.c | 13 +
drivers/net/arcnet/arcnet.c | 1 +
This patch moves the module_init and module_exit patches to
the end of the file. It also replaces the printk with pr_info.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arc-rawmode.c | 84 ++--
1 file chang
From: Joe Perches <j...@perches.com>
The word length macros are unused. Remove them.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arcdevice.h | 10 --
1 file changed, 10 deleti
h to arcdevice.h.
Signed-off-by: Joe Perches <j...@perches.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arcdevice.h| 22 +---
drivers/net/arcnet/com20020-isa.c | 14 +++---
drivers/net/arcnet/com20020-pci.c | 6 +--
drivers/net
to standardize COM9026_REG_
arcnet: Remove unused arcnet_w macros
Michael Grzeschik (4):
arcnet: reformat structs to C99 format
arcnet: com20020: replace magic numbers with readable macros
arcnet: arc-rawmode: reorder module functions
arcnet: capmode: remove extra function
well
include short (or even no?) soft headers.
For this reason only use arc_hardware instead of archdr to
determine the hard_header_len for an arcnet device.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arcnet.c | 2 +-
1 file changed, 1 insertion
Add entry for arcnet to MAINTAINERS file and add myself as the
maintainer of the subsystem.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
Cc: da...@davemloft.net
Cc: j...@perches.com
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAI
On Wed, Aug 05, 2015 at 05:34:51PM +0200, Michael Grzeschik wrote:
> On Thu, Jul 30, 2015 at 11:16:36AM -0700, David Miller wrote:
> > From: Michael Grzeschik <m.grzesc...@pengutronix.de>
> > Date: Thu, 30 Jul 2015 15:34:36 +0200
> >
> > > The commit <9c707
On Thu, Jul 30, 2015 at 11:16:36AM -0700, David Miller wrote:
From: Michael Grzeschik m.grzesc...@pengutronix.de
Date: Thu, 30 Jul 2015 15:34:36 +0200
The commit 9c7077622dd9 (packet: make packet_snd fail on len smaller
than l2 header) adds the check for minimum packet length of the used
Add entry for arcnet to MAINTAINERS file and add myself as the
maintainer of the subsystem.
Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de
Cc: da...@davemloft.net
Cc: j...@perches.com
---
As I have a test coverage of com20020 based arcnet systems
I would like to take
1 - 100 of 125 matches
Mail list logo