patch-2.0.18 linux/drivers/isdn/pcbit/layer2.h
Next file: linux/drivers/net/ac3200.c
Previous file: linux/drivers/char/tty_io.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Sep 4 20:37:14 1996
- Orig file:
v2.0.17/linux/drivers/isdn/pcbit/layer2.h
- Orig date:
Tue Apr 23 12:31:35 1996
diff -u --recursive --new-file v2.0.17/linux/drivers/isdn/pcbit/layer2.h linux/drivers/isdn/pcbit/layer2.h
@@ -14,7 +14,7 @@
#ifndef LAYER2_H
#define LAYER2_H
-#include <bytesex.h>
+#include <asm/byteorder.h>
#define BANK1 0x0000U /* PC -> Board */
#define BANK2 0x01ffU /* Board -> PC */
@@ -85,7 +85,7 @@
*/
struct msg_fmt {
-#if __BYTE_ORDER == 1234 /* Little Endian */
+#ifdef __LITTLE_ENDIAN /* Little Endian */
u_char scmd;
u_char cmd;
u_char proc;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov