[lkml]   [2005]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[git patches] 2.6.x net driver fixes
Please pull from the 'upstream-fixes' branch of

to obtain the fixes described in the diffstat/changelog/patch attached.

drivers/net/hamradio/6pack.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)

commit 214838a2108b4b1e18abce2e28d37996e9bf7c68
Author: Ralf Baechle <>
Date: Wed Aug 24 18:01:33 2005 +0100

[PATCH] Fix 6pack setting of MAC address

Don't check type of sax25_family; dev_set_mac_address has already done
that before and anyway, the type to check against would have been
ARPHRD_AX25. We only got away because AF_AX25 and ARPHRD_AX25 both happen
to be defined to the same value.

Don't check sax25_ndigis either; it's value is insignificant for the
purpose of setting the MAC address and the check has shown to break
some application software for no good reason.

Signed-off-by: Ralf Baechle DL5RB <>
Signed-off-by: Jeff Garzik <>

commit 84a2ea1c2cee0288f96e0c6aa4f975d4d26508c7
Author: Ralf Baechle <>
Date: Thu Aug 25 19:38:30 2005 +0100

[PATCH] 6pack Timer initialization

I dropped the timer initialization bits by accident when sending the
p-persistence fix. This patch gets the driver to work again on halfduplex

Signed-off-by: Ralf Baechle DL5RB <>
Signed-off-by: Jeff Garzik <>

diff --git a/drivers/net/hamradio/6pack.c b/drivers/net/hamradio/6pack.c
--- a/drivers/net/hamradio/6pack.c
+++ b/drivers/net/hamradio/6pack.c
@@ -308,12 +308,6 @@ static int sp_set_mac_address(struct net
struct sockaddr_ax25 *sa = addr;

- if (sa->sax25_family != AF_AX25)
- return -EINVAL;
- if (!sa->sax25_ndigis)
- return -EINVAL;
memcpy(dev->dev_addr, &sa->sax25_call, AX25_ADDR_LEN);
@@ -668,6 +662,9 @@ static int sixpack_open(struct tty_struc

+ sp->tx_t.function = sp_xmit_on_air;
+ sp-> = (unsigned long) sp;

 \ /
  Last update: 2005-08-28 02:13    [W:0.023 / U:35.144 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site