netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tokenring: be'ify trh_hdr, trllc, rif_cache_s
@ 2005-05-24 17:46 Alexey Dobriyan
  2005-05-25 23:43 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2005-05-24 17:46 UTC (permalink / raw)
  To: netdev

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>

--- linux-sparse-000/include/linux/if_tr.h	2005-05-24 08:49:03.000000000 +0400
+++ linux-sparse-001/include/linux/if_tr.h	2005-05-24 18:57:09.000000000 +0400
@@ -36,8 +36,8 @@ struct trh_hdr {
 	__u8  fc;			/* frame control field */
 	__u8  daddr[TR_ALEN];		/* destination address */
 	__u8  saddr[TR_ALEN];		/* source address */
-	__u16 rcf;			/* route control field */
-	__u16 rseg[8];			/* routing registers */
+	__be16 rcf;			/* route control field */
+	__be16 rseg[8];			/* routing registers */
 };
 
 #ifdef __KERNEL__
@@ -55,7 +55,7 @@ struct trllc {
 	__u8  ssap;			/* source SAP */
 	__u8  llc;			/* LLC control field */
 	__u8  protid[3];		/* protocol id */
-	__u16 ethertype;		/* ether type field */
+	__be16 ethertype;		/* ether type field */
 };
 
 /* Token-Ring statistics collection data. */
--- linux-sparse-000/net/802/tr.c	2005-05-24 08:49:20.000000000 +0400
+++ linux-sparse-001/net/802/tr.c	2005-05-24 19:06:12.000000000 +0400
@@ -50,8 +50,8 @@ static void rif_check_expire(unsigned lo
 struct rif_cache_s {	
 	unsigned char addr[TR_ALEN];
 	int iface;
-	__u16 rcf;
-	__u16 rseg[8];
+	__be16 rcf;
+	__be16 rseg[8];
 	struct rif_cache_s *next;
 	unsigned long last_used;
 	unsigned char local_ring;

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

* Re: [PATCH] tokenring: be'ify trh_hdr, trllc, rif_cache_s
  2005-05-24 17:46 [PATCH] tokenring: be'ify trh_hdr, trllc, rif_cache_s Alexey Dobriyan
@ 2005-05-25 23:43 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2005-05-25 23:43 UTC (permalink / raw)
  To: adobriyan; +Cc: netdev

From: Alexey Dobriyan <adobriyan@gmail.com>
Date: Tue, 24 May 2005 21:46:53 +0400

> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>

Applied, thanks.

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

end of thread, other threads:[~2005-05-25 23:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-24 17:46 [PATCH] tokenring: be'ify trh_hdr, trllc, rif_cache_s Alexey Dobriyan
2005-05-25 23:43 ` David S. 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).