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/func.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/func.h')
-rw-r--r-- | drivers/char/rio/func.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/char/rio/func.h b/drivers/char/rio/func.h index 8967772d833d..e64fe9912394 100644 --- a/drivers/char/rio/func.h +++ b/drivers/char/rio/func.h | |||
@@ -49,7 +49,7 @@ void msec_timeout(struct Host *); | |||
49 | int RIOBootRup(struct rio_info *, unsigned int, struct Host *, struct PKT *); | 49 | int RIOBootRup(struct rio_info *, unsigned int, struct Host *, struct PKT *); |
50 | int RIOBootOk(struct rio_info *, struct Host *, unsigned long); | 50 | int RIOBootOk(struct rio_info *, struct Host *, unsigned long); |
51 | int RIORtaBound(struct rio_info *, unsigned int); | 51 | int RIORtaBound(struct rio_info *, unsigned int); |
52 | void FillSlot(int, int, unsigned int, struct Host *); | 52 | void rio_fill_host_slot(int, int, unsigned int, struct Host *); |
53 | 53 | ||
54 | /* riocmd.c */ | 54 | /* riocmd.c */ |
55 | int RIOFoadRta(struct Host *, struct Map *); | 55 | int RIOFoadRta(struct Host *, struct Map *); |
@@ -66,7 +66,6 @@ void RIOPollHostCommands(struct rio_info *, struct Host *); | |||
66 | int RIOWFlushMark(unsigned long, struct CmdBlk *); | 66 | int RIOWFlushMark(unsigned long, struct CmdBlk *); |
67 | int RIORFlushEnable(unsigned long, struct CmdBlk *); | 67 | int RIORFlushEnable(unsigned long, struct CmdBlk *); |
68 | int RIOUnUse(unsigned long, struct CmdBlk *); | 68 | int RIOUnUse(unsigned long, struct CmdBlk *); |
69 | void ShowPacket(unsigned int, struct PKT *); | ||
70 | 69 | ||
71 | /* rioctrl.c */ | 70 | /* rioctrl.c */ |
72 | int riocontrol(struct rio_info *, dev_t, int, caddr_t, int); | 71 | int riocontrol(struct rio_info *, dev_t, int, caddr_t, int); |
@@ -79,13 +78,11 @@ void RIOISAinit(struct rio_info *, int); | |||
79 | int RIODoAT(struct rio_info *, int, int); | 78 | int RIODoAT(struct rio_info *, int, int); |
80 | caddr_t RIOCheckForATCard(int); | 79 | caddr_t RIOCheckForATCard(int); |
81 | int RIOAssignAT(struct rio_info *, int, caddr_t, int); | 80 | int RIOAssignAT(struct rio_info *, int, caddr_t, int); |
82 | int RIOBoardTest(paddr_t, caddr_t, unsigned char, int); | 81 | int RIOBoardTest(unsigned long, caddr_t, unsigned char, int); |
83 | void RIOAllocDataStructs(struct rio_info *); | 82 | void RIOAllocDataStructs(struct rio_info *); |
84 | void RIOSetupDataStructs(struct rio_info *); | 83 | void RIOSetupDataStructs(struct rio_info *); |
85 | int RIODefaultName(struct rio_info *, struct Host *, unsigned int); | 84 | int RIODefaultName(struct rio_info *, struct Host *, unsigned int); |
86 | struct rioVersion *RIOVersid(void); | 85 | struct rioVersion *RIOVersid(void); |
87 | int RIOMapin(paddr_t, int, caddr_t *); | ||
88 | void RIOMapout(paddr_t, long, caddr_t); | ||
89 | void RIOHostReset(unsigned int, struct DpRam *, unsigned int); | 86 | void RIOHostReset(unsigned int, struct DpRam *, unsigned int); |
90 | 87 | ||
91 | /* riointr.c */ | 88 | /* riointr.c */ |