[PATCH] net: update undefined ->ndo_change_mtu() comment

2017-06-14 Thread Magnus Damm
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 |

Re: [PATCH] via-rhine: add support for changing MTU

2017-06-13 Thread Magnus Damm
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

[PATCH] via-rhine: add support for changing MTU

2017-06-13 Thread Magnus Damm
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

[PATCH 04/04] smc91x: make superh use default config V2

2008-02-22 Thread Magnus Damm
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

[PATCH 03/04] smc91x: add insw/outsw to default config V2

2008-02-22 Thread Magnus Damm
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 ++

[PATCH 02/04] smc91x: introduce platform data flags V2

2008-02-22 Thread Magnus Damm
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

[PATCH 01/04] smc91x: pass along private data V2

2008-02-22 Thread Magnus Damm
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:

[PATCH 00/04] smc91x: request bus width using platform data V2

2008-02-22 Thread Magnus Damm
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

Re: [PATCH 00/04] smc91x: request bus width using platform data

2008-02-20 Thread Magnus Damm
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

Re: [PATCH 04/04] smc91x: add insw/outsw to default config

2008-02-20 Thread Magnus Damm
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

Re: [PATCH 02/04] smc91x: introduce platform data flags

2008-02-20 Thread Magnus Damm
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

Re: [PATCH 01/04] smc91x: pass along private data

2008-02-20 Thread Magnus Damm
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

[PATCH 03/04] smc91x: make superh use default config

2008-02-20 Thread Magnus Damm
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

[PATCH 04/04] smc91x: add insw/outsw to default config

2008-02-20 Thread Magnus Damm
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 ++

[PATCH 02/04] smc91x: introduce platform data flags

2008-02-20 Thread Magnus Damm
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

[PATCH 01/04] smc91x: pass along private data

2008-02-20 Thread Magnus Damm
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

[PATCH 00/04] smc91x: request bus width using platform data

2008-02-20 Thread Magnus Damm
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

[PATCH] smc91x: Add MigoR board support

2008-02-08 Thread Magnus Damm
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

2007-11-07 Thread Magnus Damm
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

2007-10-09 Thread Magnus Damm
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

Re: ax88796: add 93cx6 eeprom support

2007-09-28 Thread Magnus Damm
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

ax88796: add 93cx6 eeprom support

2007-09-27 Thread Magnus Damm
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

Re: sh: add support for ax88796 and 93cx6 to highlander boards

2007-09-11 Thread Magnus Damm
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/

Re: [PATCH] cfg80211: fix initialisation if built-in

2007-09-10 Thread Magnus Damm
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

sh: add support for ax88796 and 93cx6 to highlander boards

2007-09-09 Thread Magnus Damm
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