From: Magnus Damm
Update ->ndo_change_mtu() callback comment to remove text
about returning error in case of undefined callback. This
change makes the comment match the existing code behavior.
Signed-off-by: Magnus Damm
---
Applies on top of next-20170613
include/linux/netdevice.h |
On Wed, Jun 14, 2017 at 6:33 AM, David Miller wrote:
> From: Magnus Damm
> Date: Wed, 14 Jun 2017 02:18:27 +0900
>
>> From: Magnus Damm
>>
>> Allow adjusting the MTU for via-rhine devices in case of no TX alignment
>> buffer is used.
>>
>> Lightly
From: Magnus Damm
Allow adjusting the MTU for via-rhine devices in case of no TX alignment
buffer is used.
Lightly tested on ALIX2D13 hardware by making use of VXLAN with MTU set
to 1500 on top of via-rhine devices with 1550 MTU. Without this patch
the VXLAN MTU is limited to less than 1500
Removes superh board specific configuration from the header file. These boards
will instead be configured using platform data.
Signed-off-by: Magnus Damm <[EMAIL PROTECTED]>
---
drivers/net/smc91x.h | 30 --
1 file changed, 30 deletions(-)
--- 0004/drive
This patch makes sure SMC_insw()/SMC_outsw() are defined for the
default configuration. Without this change BUG()s will be triggered
when using 16-bit only platform data and the default configuration.
Signed-off-by: Magnus Damm <[EMAIL PROTECTED]>
---
drivers/net/smc91x.h |2 ++
This patch introduces struct smc91x_platdata and modifies the driver so
bus width is checked during run time using SMC_nBIT() instead of
SMC_CAN_USE_nBIT.
V2 keeps static configuration lean using SMC_DYNAMIC_BUS_CONFIG.
Signed-off-by: Magnus Damm <[EMAIL PROTECTED]>
---
drivers/net/sm
Pass a private data pointer to macros and functions. This makes it easy
to later on make run time decisions. This patch does not change any logic.
These changes should be optimized away during compilation.
V2 changes the macro argument name from "priv" to "lp".
Signed-off-by:
on a SuperH sh7722 MigoR board.
V2 changes the macro argument name to "lp" and adds SMC_DYNAMIC_BUS_CONFIG.
Signed-off-by: Magnus Damm <[EMAIL PROTECTED]>
---
drivers/net/smc91x.c | 335 +-
drivers/net/s
On Thu, Feb 21, 2008 at 12:36 AM, Nicolas Pitre <[EMAIL PROTECTED]> wrote:
> On Wed, 20 Feb 2008, Magnus Damm wrote:
>
> > These patches make it possible to request bus width in the platform data.
> >
> > Instead of keep on updating smc91x.h with board specific co
On Thu, Feb 21, 2008 at 1:00 AM, Nicolas Pitre <[EMAIL PROTECTED]> wrote:
> On Wed, 20 Feb 2008, Magnus Damm wrote:
>
> > This patch makes sure SMC_insw()/SMC_outsw() are defined for the
> > default configuration. Without this change BUG()s will be triggered
> > w
On Thu, Feb 21, 2008 at 12:58 AM, Nicolas Pitre <[EMAIL PROTECTED]> wrote:
> On Wed, 20 Feb 2008, Magnus Damm wrote:
>
> > This patch introduces struct smc91x_platdata and modifies the driver so
> > bus width is checked during run time using SMC_nBIT() instead
On Thu, Feb 21, 2008 at 12:42 AM, Nicolas Pitre <[EMAIL PROTECTED]> wrote:
> On Wed, 20 Feb 2008, Magnus Damm wrote:
>
> > Pass a private data pointer to macros and functions. This makes it easy
> > to later on make run time decisions. This patch does not change any l
Removes superh board specific configuration from the header file. These boards
will instead be configured using platform data.
Signed-off-by: Magnus Damm <[EMAIL PROTECTED]>
---
drivers/net/smc91x.h | 30 --
1 file changed, 30 deletions(-)
--- 0018/drive
This patch makes sure SMC_insw()/SMC_outsw() are defined for the
default configuration. Without this change BUG()s will be triggered
when using 16-bit only platform data and the default configuration.
Signed-off-by: Magnus Damm <[EMAIL PROTECTED]>
---
drivers/net/smc91x.h |2 ++
This patch introduces struct smc91x_platdata and modifies the driver so
bus width is checked during run time using SMC_nBIT() instead of
SMC_CAN_USE_nBIT.
Signed-off-by: Magnus Damm <[EMAIL PROTECTED]>
---
drivers/net/smc91x.c | 31 -
drivers/net/sm
Pass a private data pointer to macros and functions. This makes it easy
to later on make run time decisions. This patch does not change any logic.
These changes should be optimized away during compilation.
Signed-off-by: Magnus Damm <[EMAIL PROTECTED]>
---
drivers/net/smc91x.c
sh7722 MigoR board.
Signed-off-by: Magnus Damm <[EMAIL PROTECTED]>
---
drivers/net/smc91x.c | 340 +---
drivers/net/smc91x.h | 336 ++-
include/linux/smc91x.h | 13 +
3 files changed, 353 inse
This patch adds MigoR board support to the smc91x driver.
Signed-off-by: Magnus Damm <[EMAIL PROTECTED]>
---
drivers/net/smc91x.h | 14 ++
1 file changed, 14 insertions(+)
--- 0001/drivers/net/smc91x.h
+++ work/drivers/net/smc91x.h 2008-02-06 23:13:55.0 +0900
@@
ax88796: add superh to kconfig dependencies
This patch adds sh architecture support to the ax88796 kconfig.
Signed-off-by: Magnus Damm <[EMAIL PROTECTED]>
---
This patch was posted about a month ago but never picked up:
http://www.mail-archive.com/netdev@vger.kernel.org/msg50018.htm
ax88796: add superh to kconfig depencencies
This patch adds sh architecture support to the ax88796 kconfig.
Signed-off-by: Magnus Damm <[EMAIL PROTECTED]>
---
This is a broken out version of the larger patch recently posted to netdev:
http://www.mail-archive.com/netdev@vger.kern
Hi Andrew,
Thanks for picking up the patch.
On 9/28/07, Andrew Morton <[EMAIL PROTECTED]> wrote:
> On Thu, 27 Sep 2007 19:51:19 +0900
> Magnus Damm <[EMAIL PROTECTED]> wrote:
>
> > ax88796: add 93cx6 eeprom support
> >
> > This patch hooks up the 93cx
these boards is the same as pointed
out by the ax88796 datasheet, so we can probably reuse this code for multiple
platforms in the future.
Signed-off-by: Magnus Damm <[EMAIL PROTECTED]>
---
This is a broken out version of the larger patch recently posted to netdev:
http://www.mail-archi
On 9/10/07, Paul Mundt <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 10, 2007 at 03:36:26PM +0900, Magnus Damm wrote:
> > --- 0001/drivers/net/Kconfig
> > +++ work/drivers/net/Kconfig 2007-09-06 15:35:41.0 +0900
> > @@ -218,13 +218,20 @@ source "drivers/net/arm/
On 9/10/07, Johannes Berg <[EMAIL PROTECTED]> wrote:
> When cfg80211 is built into the kernel it needs to init earlier
> so that device registrations are run after it has initialised.
>
> Signed-off-by: Johannes Berg <[EMAIL PROTECTED]>
Yep, I need this fix as well. Without it the ath5k driver bui
configuration used to connect the eeprom to the ax88796 is the same one
as pointed out by the ax88796 datasheet. So it's likely that we can reuse
this code for other boards as well.
Signed-off-by: Magnus Damm <[EMAIL PROTECTED]>
---
arch/sh/boards/renesas/r7780rp/set
25 matches
Mail list logo