diff options
author | Alan Cox | 2006-03-24 03:18:31 -0800 |
---|---|---|
committer | Linus Torvalds | 2006-03-24 07:33:29 -0800 |
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 @@ typedef struct PARM_MAP PARM_MAP; struct PARM_MAP { - PHB_ptr phb_ptr; /* Pointer to the PHB array */ + u16 phb_ptr; /* Pointer to the PHB array */ u16 phb_num_ptr; /* Ptr to Number of PHB's */ - FREE_LIST_ptr free_list; /* Free List pointer */ - FREE_LIST_ptr free_list_end; /* Free List End pointer */ - Q_BUF_ptr_ptr q_free_list_ptr; /* Ptr to Q_BUF variable */ + u16 free_list; /* Free List pointer */ + u16 free_list_end; /* Free List End pointer */ + u16 q_free_list_ptr; /* Ptr to Q_BUF variable */ u16 unit_id_ptr; /* Unit Id */ - LPB_ptr link_str_ptr; /* Link Structure Array */ + u16 link_str_ptr; /* Link Structure Array */ u16 bootloader_1; /* 1st Stage Boot Loader */ u16 bootloader_2; /* 2nd Stage Boot Loader */ u16 port_route_map_ptr; /* Port Route Map */ - ROUTE_STR_ptr route_ptr; /* Unit Route Map */ + u16 route_ptr; /* Unit Route Map */ u16 map_present; /* Route Map present */ s16 pkt_num; /* Total number of packets */ s16 q_num; /* Total number of Q packets */ @@ -70,7 +70,7 @@ struct PARM_MAP { u16 rx_limit; /* For high / low watermarks */ s16 links; /* Links to use */ s16 timer; /* Interrupts per second */ - RUP_ptr rups; /* Pointer to the RUPs */ + u16 rups; /* Pointer to the RUPs */ u16 max_phb; /* Mostly for debugging */ u16 living; /* Just increments!! */ u16 init_done; /* Initialisation over */ |