netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 1/3] git-net: make it compile (not for applying?)
@ 2007-10-02 21:04 akpm
  2007-10-03  0:41 ` [PATCH] baycom epp header ops Stephen Hemminger
  0 siblings, 1 reply; 3+ messages in thread
From: akpm @ 2007-10-02 21:04 UTC (permalink / raw)
  To: davem; +Cc: netdev, akpm, shemminger

From: Andrew Morton <akpm@linux-foundation.org>

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" <davem@davemloft.net>
Cc: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/net/hamradio/baycom_epp.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/net/hamradio/baycom_epp.c~git-net-more-bustage drivers/net/hamradio/baycom_epp.c
--- a/drivers/net/hamradio/baycom_epp.c~git-net-more-bustage
+++ a/drivers/net/hamradio/baycom_epp.c
@@ -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 */
_

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] baycom epp header ops
  2007-10-02 21:04 [patch 1/3] git-net: make it compile (not for applying?) akpm
@ 2007-10-03  0:41 ` Stephen Hemminger
  2007-10-03  1:48   ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2007-10-03  0:41 UTC (permalink / raw)
  To: akpm; +Cc: davem, netdev, akpm

Update baycom epp driver for new header ops in net-2.6.24

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
---
 drivers/net/hamradio/baycom_epp.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/net/hamradio/baycom_epp.c b/drivers/net/hamradio/baycom_epp.c
index 355c6cf..1a5a75a 100644
--- a/drivers/net/hamradio/baycom_epp.c
+++ b/drivers/net/hamradio/baycom_epp.c
@@ -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 */
-- 
1.5.2.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] baycom epp header ops
  2007-10-03  0:41 ` [PATCH] baycom epp header ops Stephen Hemminger
@ 2007-10-03  1:48   ` David Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2007-10-03  1:48 UTC (permalink / raw)
  To: shemminger; +Cc: akpm, netdev

From: Stephen Hemminger <shemminger@linux-foundation.org>
Date: Tue, 2 Oct 2007 17:41:03 -0700

> Update baycom epp driver for new header ops in net-2.6.24
> 
> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>

Applied, thanks Stephen.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-03  1:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-02 21:04 [patch 1/3] git-net: make it compile (not for applying?) akpm
2007-10-03  0:41 ` [PATCH] baycom epp header ops Stephen Hemminger
2007-10-03  1:48   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).