git-net: make it compile (not for applying?)
Subsystems (2)
PATCH 1/3 git-net: make it compile (not for applying?)
From: Andrew Morton <[email protected]>
drivers/net/hamradio/baycom_epp.c: In function 'baycom_probe':drivers/net/hamradio/baycom_epp.c:1162: error: 'struct net_device' has no member named 'hard_header' drivers/net/hamradio/baycom_epp.c:1163: error: 'struct net_device' has no member named 'rebuild_header'
Cc "David S. Miller" <[email protected]>
Cc Stephen Hemminger <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/net/hamradio/baycom_epp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/hamradio/baycom_epp.c renamed from drivers/net/hamradio/baycom_epp.c~git-net-more-bustage +2 -2
@@ -1159,8 +1159,8 @@ static void baycom_probe(struct net_devi/* Fill in the fields of the device structure */ bc->skb =NULL ; - dev->hard_header = ax25_hard_header; - dev->rebuild_header = ax25_rebuild_header; +// dev->hard_header = ax25_hard_header; +// dev->rebuild_header = ax25_rebuild_header; dev->set_mac_address = baycom_set_mac_address; dev->type =ARPHRD_AX25 ;/* AF_AX25 device */
_
PATCH 1/1 baycom epp header ops
Update baycom epp driver for new header ops in net-2.6.24
Signed-off-by Stephen Hemminger <[email protected]>
--- drivers/net/hamradio/baycom_epp.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/net/hamradio/baycom_epp.c +1 -2
@@ -1159,8 +1159,7 @@ static void baycom_probe(struct net_device *dev)/* Fill in the fields of the device structure */ bc->skb =NULL ; - dev->hard_header = ax25_hard_header; - dev->rebuild_header = ax25_rebuild_header; + dev->header_ops = &ax25_header_ops; dev->set_mac_address = baycom_set_mac_address; dev->type =ARPHRD_AX25 ;/* AF_AX25 device */
Signature · 1 line
1.5.2.5
Re: [PATCH] baycom epp header ops
From: Stephen Hemminger <[email protected]>
Date: Tue, 2 Oct 2007 17:41:03 -0700
Quoted 3 lines
Update baycom epp driver for new header ops in net-2.6.24
Signed-off-by Stephen Hemminger <[email protected]>
Applied, thanks Stephen.