Subsystems (2)
PATCH 1/2 Blackfin SMC91x Driver: punt CONFIG_BFIN -- we already have CONFIG_BLACKFIN
From: Mike Frysinger <[email protected]>
Signed-off-by Mike Frysinger <[email protected]>
Signed-off-by Bryan Wu <[email protected]>
--- drivers/net/Kconfig | 2 +- drivers/net/smc91x.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/Kconfig +1 -1
@@ -888,7 +888,7 @@ config SMC91X tristate "SMC 91C9x/91C1xxx support" select CRC32 select MII - depends on ARM || REDWOOD_5 || REDWOOD_6 || M32R || SUPERH || SOC_AU1X00 || BFIN + depends on ARM || REDWOOD_5 || REDWOOD_6 || M32R || SUPERH || SOC_AU1X00 || BLACKFIN help This is a driver for SMC's 91x series of Ethernet chipsets, including the SMC91C94 and the SMC91C111. Say Y if you want it
drivers/net/smc91x.h +1 -1
@@ -55,7 +55,7 @@#define SMC_insw (a, r, p, l) readsw((a) + (r), p, l)#define SMC_outsw (a, r, p, l) writesw((a) + (r), p, l) -#elif defined(CONFIG_BFIN ) +#elif defined(CONFIG_BLACKFIN )#define SMC_IRQ_FLAGS IRQF_TRIGGER_HIGH#define RPC_LSA_DEFAULT RPC_LED_100_10
Signature · 1 line
1.5.3.4
Re: [PATCH 1/2] Blackfin SMC91x Driver: punt CONFIG_BFIN -- we already have CONFIG_BLACKFIN
Quoted 7 lines · Bryan Wu
From: Mike Frysinger <[email protected]>
Signed-off-by Mike Frysinger <[email protected]>Signed-off-by Bryan Wu <[email protected]>--- drivers/net/Kconfig | 2 +- drivers/net/smc91x.h | 2 +-
applied 1-2 to #upstream-fixes
PATCH 2/2 Blackfin EMAC driver: fix bug - NAT doesn't work with bfin_mac driver
In reply to Bryan WuFrom: Vitja Makarov <[email protected]>
https://blackfin.uclinux.org/gf/project/uclinux-dist/forum/?action=ForumBrowse&forum_id=39&thread_id=23114&_forum_action=ForumMessageBrowse
Today I was dealing with the same problem, on my custom bf537 board, and bfin_mac driver. I found that the problem is in setting ip_summed flag of skbuff structure,
Signed-off-by Vitja Makarov <[email protected]>
Signed-off-by Sonic Zhang <[email protected]>
Signed-off-by Bryan Wu <[email protected]>
--- drivers/net/bfin_mac.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/bfin_mac.c +1 -1
@@ -676,7 +676,7 @@ static void bf537mac_rx(struct net_device *dev) skb->protocol =eth_type_trans (skb, dev);#if defined(BFIN_MAC_CSUM_OFFLOAD ) skb->csum = current_rx_ptr->status.ip_payload_csum; - skb->ip_summed =CHECKSUM_PARTIAL ; + skb->ip_summed =CHECKSUM_COMPLETE ;#endif netif_rx (skb);
Signature · 1 line
1.5.3.4