diff options
Diffstat (limited to 'drivers/char/rio/func.h')
-rw-r--r-- | drivers/char/rio/func.h | 51 |
1 files changed, 25 insertions, 26 deletions
diff --git a/drivers/char/rio/func.h b/drivers/char/rio/func.h index 01987c6dc398..b4778410ec6e 100644 --- a/drivers/char/rio/func.h +++ b/drivers/char/rio/func.h | |||
@@ -47,20 +47,19 @@ int RIOBootCodeHOST(struct rio_info *, register struct DownLoad *); | |||
47 | int RIOBootCodeUNKNOWN(struct rio_info *, struct DownLoad *); | 47 | int RIOBootCodeUNKNOWN(struct rio_info *, struct DownLoad *); |
48 | void msec_timeout(struct Host *); | 48 | void msec_timeout(struct Host *); |
49 | int RIOBootRup(struct rio_info *, uint, struct Host *, struct PKT *); | 49 | int RIOBootRup(struct rio_info *, uint, struct Host *, struct PKT *); |
50 | int RIOBootOk(struct rio_info *,struct Host *, ulong); | 50 | int RIOBootOk(struct rio_info *, struct Host *, ulong); |
51 | int RIORtaBound(struct rio_info *, uint); | 51 | int RIORtaBound(struct rio_info *, uint); |
52 | void FillSlot(int, int, uint, struct Host *); | 52 | void FillSlot(int, int, uint, struct Host *); |
53 | 53 | ||
54 | /* riocmd.c */ | 54 | /* riocmd.c */ |
55 | int RIOFoadRta(struct Host *, struct Map *); | 55 | int RIOFoadRta(struct Host *, struct Map *); |
56 | int RIOZombieRta(struct Host *, struct Map *); | 56 | int RIOZombieRta(struct Host *, struct Map *); |
57 | int RIOCommandRta(struct rio_info *, uint, int (* func)( struct Host *, | 57 | int RIOCommandRta(struct rio_info *, uint, int (*func) (struct Host *, struct Map *)); |
58 | struct Map *)); | 58 | int RIOIdentifyRta(struct rio_info *, caddr_t); |
59 | int RIOIdentifyRta(struct rio_info *, caddr_t); | ||
60 | int RIOKillNeighbour(struct rio_info *, caddr_t); | 59 | int RIOKillNeighbour(struct rio_info *, caddr_t); |
61 | int RIOSuspendBootRta(struct Host *, int, int); | 60 | int RIOSuspendBootRta(struct Host *, int, int); |
62 | int RIOFoadWakeup(struct rio_info *); | 61 | int RIOFoadWakeup(struct rio_info *); |
63 | struct CmdBlk * RIOGetCmdBlk(void); | 62 | struct CmdBlk *RIOGetCmdBlk(void); |
64 | void RIOFreeCmdBlk(struct CmdBlk *); | 63 | void RIOFreeCmdBlk(struct CmdBlk *); |
65 | int RIOQueueCmdBlk(struct Host *, uint, struct CmdBlk *); | 64 | int RIOQueueCmdBlk(struct Host *, uint, struct CmdBlk *); |
66 | void RIOPollHostCommands(struct rio_info *, struct Host *); | 65 | void RIOPollHostCommands(struct rio_info *, struct Host *); |
@@ -71,13 +70,13 @@ void ShowPacket(uint, struct PKT *); | |||
71 | 70 | ||
72 | /* rioctrl.c */ | 71 | /* rioctrl.c */ |
73 | int copyin(int, caddr_t, int); | 72 | int copyin(int, caddr_t, int); |
74 | int riocontrol(struct rio_info *, dev_t,int,caddr_t,int); | 73 | int riocontrol(struct rio_info *, dev_t, int, caddr_t, int); |
75 | int RIOPreemptiveCmd(struct rio_info *,struct Port *,uchar); | 74 | int RIOPreemptiveCmd(struct rio_info *, struct Port *, uchar); |
76 | 75 | ||
77 | /* rioinit.c */ | 76 | /* rioinit.c */ |
78 | void rioinit(struct rio_info *, struct RioHostInfo *); | 77 | void rioinit(struct rio_info *, struct RioHostInfo *); |
79 | void RIOInitHosts(struct rio_info *, struct RioHostInfo *); | 78 | void RIOInitHosts(struct rio_info *, struct RioHostInfo *); |
80 | void RIOISAinit(struct rio_info *,int); | 79 | void RIOISAinit(struct rio_info *, int); |
81 | int RIODoAT(struct rio_info *, int, int); | 80 | int RIODoAT(struct rio_info *, int, int); |
82 | caddr_t RIOCheckForATCard(int); | 81 | caddr_t RIOCheckForATCard(int); |
83 | int RIOAssignAT(struct rio_info *, int, caddr_t, int); | 82 | int RIOAssignAT(struct rio_info *, int, caddr_t, int); |
@@ -85,7 +84,7 @@ int RIOBoardTest(paddr_t, caddr_t, uchar, int); | |||
85 | void RIOAllocDataStructs(struct rio_info *); | 84 | void RIOAllocDataStructs(struct rio_info *); |
86 | void RIOSetupDataStructs(struct rio_info *); | 85 | void RIOSetupDataStructs(struct rio_info *); |
87 | int RIODefaultName(struct rio_info *, struct Host *, uint); | 86 | int RIODefaultName(struct rio_info *, struct Host *, uint); |
88 | struct rioVersion * RIOVersid(void); | 87 | struct rioVersion *RIOVersid(void); |
89 | int RIOMapin(paddr_t, int, caddr_t *); | 88 | int RIOMapin(paddr_t, int, caddr_t *); |
90 | void RIOMapout(paddr_t, long, caddr_t); | 89 | void RIOMapout(paddr_t, long, caddr_t); |
91 | void RIOHostReset(uint, volatile struct DpRam *, uint); | 90 | void RIOHostReset(uint, volatile struct DpRam *, uint); |
@@ -108,7 +107,7 @@ void remove_receive(struct Port *); | |||
108 | 107 | ||
109 | /* rioroute.c */ | 108 | /* rioroute.c */ |
110 | int RIORouteRup(struct rio_info *, uint, struct Host *, struct PKT *); | 109 | int RIORouteRup(struct rio_info *, uint, struct Host *, struct PKT *); |
111 | void RIOFixPhbs(struct rio_info *, struct Host *, uint); | 110 | void RIOFixPhbs(struct rio_info *, struct Host *, uint); |
112 | uint GetUnitType(uint); | 111 | uint GetUnitType(uint); |
113 | int RIOSetChange(struct rio_info *); | 112 | int RIOSetChange(struct rio_info *); |
114 | int RIOFindFreeID(struct rio_info *, struct Host *, uint *, uint *); | 113 | int RIOFindFreeID(struct rio_info *, struct Host *, uint *, uint *); |
@@ -116,9 +115,9 @@ int RIOFindFreeID(struct rio_info *, struct Host *, uint *, uint *); | |||
116 | 115 | ||
117 | /* riotty.c */ | 116 | /* riotty.c */ |
118 | 117 | ||
119 | int riotopen(struct tty_struct * tty, struct file * filp); | 118 | int riotopen(struct tty_struct *tty, struct file *filp); |
120 | int riotclose(void *ptr); | 119 | int riotclose(void *ptr); |
121 | int riotioctl(struct rio_info *, struct tty_struct *, register int, register caddr_t); | 120 | int riotioctl(struct rio_info *, struct tty_struct *, register int, register caddr_t); |
122 | void ttyseth(struct Port *, struct ttystatics *, struct old_sgttyb *sg); | 121 | void ttyseth(struct Port *, struct ttystatics *, struct old_sgttyb *sg); |
123 | 122 | ||
124 | /* riotable.c */ | 123 | /* riotable.c */ |
@@ -127,27 +126,27 @@ int RIOApel(struct rio_info *); | |||
127 | int RIODeleteRta(struct rio_info *, struct Map *); | 126 | int RIODeleteRta(struct rio_info *, struct Map *); |
128 | int RIOAssignRta(struct rio_info *, struct Map *); | 127 | int RIOAssignRta(struct rio_info *, struct Map *); |
129 | int RIOReMapPorts(struct rio_info *, struct Host *, struct Map *); | 128 | int RIOReMapPorts(struct rio_info *, struct Host *, struct Map *); |
130 | int RIOChangeName(struct rio_info *, struct Map*); | 129 | int RIOChangeName(struct rio_info *, struct Map *); |
131 | 130 | ||
132 | #if 0 | 131 | #if 0 |
133 | /* riodrvr.c */ | 132 | /* riodrvr.c */ |
134 | struct rio_info * rio_install(struct RioHostInfo *); | 133 | struct rio_info *rio_install(struct RioHostInfo *); |
135 | int rio_uninstall(register struct rio_info *); | 134 | int rio_uninstall(register struct rio_info *); |
136 | int rio_open(struct rio_info *, int, struct file *); | 135 | int rio_open(struct rio_info *, int, struct file *); |
137 | int rio_close(struct rio_info *, struct file *); | 136 | int rio_close(struct rio_info *, struct file *); |
138 | int rio_read(struct rio_info *, struct file *, char *, int); | 137 | int rio_read(struct rio_info *, struct file *, char *, int); |
139 | int rio_write(struct rio_info *, struct file * f, char *, int); | 138 | int rio_write(struct rio_info *, struct file *f, char *, int); |
140 | int rio_ioctl(struct rio_info *, struct file *, int, char *); | 139 | int rio_ioctl(struct rio_info *, struct file *, int, char *); |
141 | int rio_select(struct rio_info *, struct file * f, int, struct sel *); | 140 | int rio_select(struct rio_info *, struct file *f, int, struct sel *); |
142 | int rio_intr(char *); | 141 | int rio_intr(char *); |
143 | int rio_isr_thread(char *); | 142 | int rio_isr_thread(char *); |
144 | struct rio_info * rio_info_store( int cmd, struct rio_info * p); | 143 | struct rio_info *rio_info_store(int cmd, struct rio_info *p); |
145 | #endif | 144 | #endif |
146 | 145 | ||
147 | extern int rio_pcicopy(char *src, char *dst, int n); | 146 | extern int rio_pcicopy(char *src, char *dst, int n); |
148 | extern int rio_minor (struct tty_struct *tty); | 147 | extern int rio_minor(struct tty_struct *tty); |
149 | extern int rio_ismodem (struct tty_struct *tty); | 148 | extern int rio_ismodem(struct tty_struct *tty); |
150 | 149 | ||
151 | extern void rio_start_card_running (struct Host * HostP); | 150 | extern void rio_start_card_running(struct Host *HostP); |
152 | 151 | ||
153 | #endif /* __func_h_def */ | 152 | #endif /* __func_h_def */ |