2.6.x net driver fixes
Subsystems (2)
PATCH 1/1 2.6.x net driver fixes
Please do a
bk pull bk://gkernel.bkbits.net/net-drivers-2.6
This will update the following files:
drivers/net/typhoon.c | 1 + drivers/net/wan/cycx_x25.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
through these ChangeSets:
<[email protected]> (04/10/16 1.2201)
[PATCH] 64bit fix in cycx_x25.c
comparing u32 with ~0UL is wrong
Signed-off-by Al Viro <[email protected]>
<[email protected]> (04/10/15 1.2200)
[PATCH] typhoon.c missing include
DMA_32BIT_MASK is declared in linux/dma-mapping.h; not all platforms get it from already included headers, so we need explicit include here (fixes breakage at least on alpha and sparc64).
Signed-off-by Al Viro <[email protected]>
drivers/net/typhoon.c +1 -0
@@ -114,6 +114,7 @@#include <linux/in6.h> #include <asm/checksum.h> #include <linux/version.h> +#include <linux/dma-mapping.h> #include "typhoon.h" #include "typhoon-firmware.h"
drivers/net/wan/cycx_x25.c +1 -1
@@ -1195,7 +1195,7 @@ remotelen =strlen (chan->addr);u8 key; -if (card->u.x.connection_keys == ~0UL ) { +if (card->u.x.connection_keys == ~0U ) {printk (KERN_INFO "%s: too many simultaneous connection " "requests!\n" , card->devname);return -EAGAIN ;