From: Magnus Damm <damm+rene...@opensource.se>
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 <damm+rene...@opensource.se>
On Wed, Jun 14, 2017 at 6:33 AM, David Miller <da...@davemloft.net> wrote:
> From: Magnus Damm <magnus.d...@gmail.com>
> Date: Wed, 14 Jun 2017 02:18:27 +0900
>
>> From: Magnus Damm <damm+rene...@opensource.se>
>>
>> Allow adjusting the MTU for
From: Magnus Damm <damm+rene...@opensource.se>
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 VXL
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/smc91x.h | 343
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: Magnus Damm [EMAIL
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 ++
1 file
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/drivers/net
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/smc91x.c
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/drivers/net
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 ++
1 file
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/smc91x.h | 50
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 insertions
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 | 309
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 logic.
These changes should
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 of
SMC_CAN_USE_nBIT.
Signed-off
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
when using 16-bit only platform data
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 configuration,
use platform data to pass
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
@@ -306,6
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.html
The rest
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.kernel.org/msg47278
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 93cx6 eeprom code to the ax88796 driver and modifies
on 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-archive.com
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/Kconfig
config AX88796
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/setup.c | 40
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 built in
25 matches
Mail list logo