diff options
author | Andrew Morton <akpm@osdl.org> | 2006-01-11 15:17:49 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-11 21:42:14 -0500 |
commit | 8d8706e2f86d28814c1b40a116ffdeca35e4c949 (patch) | |
tree | 146567d7a807feb37a5368fbb4a6ee76d9d7bc7e /drivers/char/rio/rup.h | |
parent | a9415644583ef344e02f84faf5fe24bfadb2af8e (diff) |
[PATCH] lindent rio drivers
Run all rio files through indent -kr -i8 -bri0 -l255, as requested by Alan.
rioboot.c and rioinit.c were skipped due to worrisome lindent warnings.
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/rio/rup.h')
-rw-r--r-- | drivers/char/rio/rup.h | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/drivers/char/rio/rup.h b/drivers/char/rio/rup.h index b9d2bc03d14b..8d44fec91dd5 100644 --- a/drivers/char/rio/rup.h +++ b/drivers/char/rio/rup.h | |||
@@ -44,39 +44,38 @@ | |||
44 | #endif | 44 | #endif |
45 | 45 | ||
46 | #if defined( HOST ) || defined( INKERNEL ) | 46 | #if defined( HOST ) || defined( INKERNEL ) |
47 | #define MAX_RUP ((short) 16) | 47 | #define MAX_RUP ((short) 16) |
48 | #endif | 48 | #endif |
49 | #ifdef RTA | 49 | #ifdef RTA |
50 | #define MAX_RUP ((short) 1) | 50 | #define MAX_RUP ((short) 1) |
51 | #endif | 51 | #endif |
52 | 52 | ||
53 | #define PKTS_PER_RUP ((short) 2) /* They are always used in pairs */ | 53 | #define PKTS_PER_RUP ((short) 2) /* They are always used in pairs */ |
54 | 54 | ||
55 | /************************************************* | 55 | /************************************************* |
56 | * Define all the packet request stuff | 56 | * Define all the packet request stuff |
57 | ************************************************/ | 57 | ************************************************/ |
58 | #define TX_RUP_INACTIVE 0 /* Nothing to transmit */ | 58 | #define TX_RUP_INACTIVE 0 /* Nothing to transmit */ |
59 | #define TX_PACKET_READY 1 /* Transmit packet ready */ | 59 | #define TX_PACKET_READY 1 /* Transmit packet ready */ |
60 | #define TX_LOCK_RUP 2 /* Transmit side locked */ | 60 | #define TX_LOCK_RUP 2 /* Transmit side locked */ |
61 | 61 | ||
62 | #define RX_RUP_INACTIVE 0 /* Nothing received */ | 62 | #define RX_RUP_INACTIVE 0 /* Nothing received */ |
63 | #define RX_PACKET_READY 1 /* Packet received */ | 63 | #define RX_PACKET_READY 1 /* Packet received */ |
64 | 64 | ||
65 | #define RUP_NO_OWNER 0xff /* RUP not owned by any process */ | 65 | #define RUP_NO_OWNER 0xff /* RUP not owned by any process */ |
66 | 66 | ||
67 | struct RUP { | 67 | struct RUP { |
68 | PKT_ptr txpkt; /* Outgoing packet */ | 68 | PKT_ptr txpkt; /* Outgoing packet */ |
69 | PKT_ptr rxpkt; /* Incoming packet */ | 69 | PKT_ptr rxpkt; /* Incoming packet */ |
70 | WORD link; /* Which link to send down? */ | 70 | WORD link; /* Which link to send down? */ |
71 | BYTE rup_dest_unit[2]; /* Destination unit */ | 71 | BYTE rup_dest_unit[2]; /* Destination unit */ |
72 | WORD handshake; /* For handshaking */ | 72 | WORD handshake; /* For handshaking */ |
73 | WORD timeout; /* Timeout */ | 73 | WORD timeout; /* Timeout */ |
74 | WORD status; /* Status */ | 74 | WORD status; /* Status */ |
75 | WORD txcontrol; /* Transmit control */ | 75 | WORD txcontrol; /* Transmit control */ |
76 | WORD rxcontrol; /* Receive control */ | 76 | WORD rxcontrol; /* Receive control */ |
77 | }; | 77 | }; |
78 | 78 | ||
79 | #endif | 79 | #endif |
80 | 80 | ||
81 | /*********** end of file ***********/ | 81 | /*********** end of file ***********/ |
82 | |||