netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] drivers/net/skfp/: fix LITTLE_ENDIAN
@ 2005-04-20  2:17 Adrian Bunk
  2005-04-21  2:42 ` Randy.Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2005-04-20  2:17 UTC (permalink / raw)
  To: linux; +Cc: Jeff Garzik, linux-kernel, netdev

This patch fixes the LITTLE_ENDIAN #define.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 drivers/net/skfp/h/osdef1st.h |    2 ++
 drivers/net/skfp/smt.c        |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

--- linux-2.6.12-rc2-mm3-full/drivers/net/skfp/h/osdef1st.h.old	2005-04-20 01:22:21.000000000 +0200
+++ linux-2.6.12-rc2-mm3-full/drivers/net/skfp/h/osdef1st.h	2005-04-20 01:23:55.000000000 +0200
@@ -20,6 +20,8 @@
 // HWM (HardWare Module) Definitions
 // -----------------------
 
+#include <asm/byteorder.h>
+
 #ifdef __LITTLE_ENDIAN
 #define LITTLE_ENDIAN
 #else
--- linux-2.6.12-rc2-mm3-full/drivers/net/skfp/smt.c.old	2005-04-20 01:26:34.000000000 +0200
+++ linux-2.6.12-rc2-mm3-full/drivers/net/skfp/smt.c	2005-04-20 01:26:22.000000000 +0200
@@ -86,7 +86,7 @@
 static void smt_send_sif_operation(struct s_smc *smc, struct fddi_addr *dest,
 				   u_long tid, int local);
 #ifdef LITTLE_ENDIAN
-static void smt_string_swap(void);
+static void smt_string_swap(char *data, const char *format, int len);
 #endif
 static void smt_add_frame_len(SMbuf *mb, int len);
 static void smt_fill_una(struct s_smc *smc, struct smt_p_una *una);

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

* Re: [2.6 patch] drivers/net/skfp/: fix LITTLE_ENDIAN
  2005-04-20  2:17 [2.6 patch] drivers/net/skfp/: fix LITTLE_ENDIAN Adrian Bunk
@ 2005-04-21  2:42 ` Randy.Dunlap
  0 siblings, 0 replies; 3+ messages in thread
From: Randy.Dunlap @ 2005-04-21  2:42 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux, jgarzik, linux-kernel, netdev

On Wed, 20 Apr 2005 04:17:08 +0200 Adrian Bunk wrote:

| This patch fixes the LITTLE_ENDIAN #define.
  and a function prototype.

| Signed-off-by: Adrian Bunk <bunk@stusta.de>
| 
| ---
| 
|  drivers/net/skfp/h/osdef1st.h |    2 ++
|  drivers/net/skfp/smt.c        |    2 +-
|  2 files changed, 3 insertions(+), 1 deletion(-)
| 
| --- linux-2.6.12-rc2-mm3-full/drivers/net/skfp/h/osdef1st.h.old	2005-04-20 01:22:21.000000000 +0200
| +++ linux-2.6.12-rc2-mm3-full/drivers/net/skfp/h/osdef1st.h	2005-04-20 01:23:55.000000000 +0200
| @@ -20,6 +20,8 @@
|  // HWM (HardWare Module) Definitions
|  // -----------------------
|  
| +#include <asm/byteorder.h>
| +
|  #ifdef __LITTLE_ENDIAN
|  #define LITTLE_ENDIAN
|  #else
| --- linux-2.6.12-rc2-mm3-full/drivers/net/skfp/smt.c.old	2005-04-20 01:26:34.000000000 +0200
| +++ linux-2.6.12-rc2-mm3-full/drivers/net/skfp/smt.c	2005-04-20 01:26:22.000000000 +0200
| @@ -86,7 +86,7 @@
|  static void smt_send_sif_operation(struct s_smc *smc, struct fddi_addr *dest,
|  				   u_long tid, int local);
|  #ifdef LITTLE_ENDIAN
| -static void smt_string_swap(void);
| +static void smt_string_swap(char *data, const char *format, int len);
|  #endif
|  static void smt_add_frame_len(SMbuf *mb, int len);
|  static void smt_fill_una(struct s_smc *smc, struct smt_p_una *una);

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

* [2.6 patch] drivers/net/skfp/: fix LITTLE_ENDIAN
@ 2005-05-02  1:46 Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2005-05-02  1:46 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux, Jeff Garzik, linux-kernel, netdev

This patch fixes the LITTLE_ENDIAN #define and a function prototype.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 20 Apr 2005

 drivers/net/skfp/h/osdef1st.h |    2 ++
 drivers/net/skfp/smt.c        |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

--- linux-2.6.12-rc2-mm3-full/drivers/net/skfp/h/osdef1st.h.old	2005-04-20 01:22:21.000000000 +0200
+++ linux-2.6.12-rc2-mm3-full/drivers/net/skfp/h/osdef1st.h	2005-04-20 01:23:55.000000000 +0200
@@ -20,6 +20,8 @@
 // HWM (HardWare Module) Definitions
 // -----------------------
 
+#include <asm/byteorder.h>
+
 #ifdef __LITTLE_ENDIAN
 #define LITTLE_ENDIAN
 #else
--- linux-2.6.12-rc2-mm3-full/drivers/net/skfp/smt.c.old	2005-04-20 01:26:34.000000000 +0200
+++ linux-2.6.12-rc2-mm3-full/drivers/net/skfp/smt.c	2005-04-20 01:26:22.000000000 +0200
@@ -86,7 +86,7 @@
 static void smt_send_sif_operation(struct s_smc *smc, struct fddi_addr *dest,
 				   u_long tid, int local);
 #ifdef LITTLE_ENDIAN
-static void smt_string_swap(void);
+static void smt_string_swap(char *data, const char *format, int len);
 #endif
 static void smt_add_frame_len(SMbuf *mb, int len);
 static void smt_fill_una(struct s_smc *smc, struct smt_p_una *una);

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

end of thread, other threads:[~2005-05-02  1:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-20  2:17 [2.6 patch] drivers/net/skfp/: fix LITTLE_ENDIAN Adrian Bunk
2005-04-21  2:42 ` Randy.Dunlap
  -- strict thread matches above, loose matches on Subject: below --
2005-05-02  1:46 Adrian Bunk

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).