diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-03-24 06:18:31 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-24 10:33:29 -0500 |
commit | 57c2d60e1e3db506cdcecbf60f939593125db7f8 (patch) | |
tree | f91c0b9b1682772fd5150919fd8a57479700f2dc /drivers/char/rio/parmmap.h | |
parent | db3185242a9a369d5ef13cd2baf196507925009e (diff) |
[PATCH] Yet more rio cleaning (1 of 2)
- Remove more unused headers
- Remove various typedefs
- Correct type of PaddrP (physical addresses should be ulong)
- Kill use of bcopy
- More printk cleanups
- Kill true/false
- Clean up direct access to pci BARs
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/rio/parmmap.h')
-rw-r--r-- | drivers/char/rio/parmmap.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/char/rio/parmmap.h b/drivers/char/rio/parmmap.h index c4085fbf9ec6..9764ef85c5a6 100644 --- a/drivers/char/rio/parmmap.h +++ b/drivers/char/rio/parmmap.h | |||
@@ -47,17 +47,17 @@ | |||
47 | typedef struct PARM_MAP PARM_MAP; | 47 | typedef struct PARM_MAP PARM_MAP; |
48 | 48 | ||
49 | struct PARM_MAP { | 49 | struct PARM_MAP { |
50 | PHB_ptr phb_ptr; /* Pointer to the PHB array */ | 50 | u16 phb_ptr; /* Pointer to the PHB array */ |
51 | u16 phb_num_ptr; /* Ptr to Number of PHB's */ | 51 | u16 phb_num_ptr; /* Ptr to Number of PHB's */ |
52 | FREE_LIST_ptr free_list; /* Free List pointer */ | 52 | u16 free_list; /* Free List pointer */ |
53 | FREE_LIST_ptr free_list_end; /* Free List End pointer */ | 53 | u16 free_list_end; /* Free List End pointer */ |
54 | Q_BUF_ptr_ptr q_free_list_ptr; /* Ptr to Q_BUF variable */ | 54 | u16 q_free_list_ptr; /* Ptr to Q_BUF variable */ |
55 | u16 unit_id_ptr; /* Unit Id */ | 55 | u16 unit_id_ptr; /* Unit Id */ |
56 | LPB_ptr link_str_ptr; /* Link Structure Array */ | 56 | u16 link_str_ptr; /* Link Structure Array */ |
57 | u16 bootloader_1; /* 1st Stage Boot Loader */ | 57 | u16 bootloader_1; /* 1st Stage Boot Loader */ |
58 | u16 bootloader_2; /* 2nd Stage Boot Loader */ | 58 | u16 bootloader_2; /* 2nd Stage Boot Loader */ |
59 | u16 port_route_map_ptr; /* Port Route Map */ | 59 | u16 port_route_map_ptr; /* Port Route Map */ |
60 | ROUTE_STR_ptr route_ptr; /* Unit Route Map */ | 60 | u16 route_ptr; /* Unit Route Map */ |
61 | u16 map_present; /* Route Map present */ | 61 | u16 map_present; /* Route Map present */ |
62 | s16 pkt_num; /* Total number of packets */ | 62 | s16 pkt_num; /* Total number of packets */ |
63 | s16 q_num; /* Total number of Q packets */ | 63 | s16 q_num; /* Total number of Q packets */ |
@@ -70,7 +70,7 @@ struct PARM_MAP { | |||
70 | u16 rx_limit; /* For high / low watermarks */ | 70 | u16 rx_limit; /* For high / low watermarks */ |
71 | s16 links; /* Links to use */ | 71 | s16 links; /* Links to use */ |
72 | s16 timer; /* Interrupts per second */ | 72 | s16 timer; /* Interrupts per second */ |
73 | RUP_ptr rups; /* Pointer to the RUPs */ | 73 | u16 rups; /* Pointer to the RUPs */ |
74 | u16 max_phb; /* Mostly for debugging */ | 74 | u16 max_phb; /* Mostly for debugging */ |
75 | u16 living; /* Just increments!! */ | 75 | u16 living; /* Just increments!! */ |
76 | u16 init_done; /* Initialisation over */ | 76 | u16 init_done; /* Initialisation over */ |