summaryrefslogtreecommitdiffstats
path: root/drivers/char/rio/link.h
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2006-03-24 03:18:31 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-24 07:33:29 -0800
commit57c2d60e1e3db506cdcecbf60f939593125db7f8 (patch)
treef91c0b9b1682772fd5150919fd8a57479700f2dc /drivers/char/rio/link.h
parentdb3185242a9a369d5ef13cd2baf196507925009e (diff)
downloadop-kernel-dev-57c2d60e1e3db506cdcecbf60f939593125db7f8.zip
op-kernel-dev-57c2d60e1e3db506cdcecbf60f939593125db7f8.tar.gz
[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/link.h')
-rw-r--r--drivers/char/rio/link.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/char/rio/link.h b/drivers/char/rio/link.h
index 87a87b1..f3bf11a0 100644
--- a/drivers/char/rio/link.h
+++ b/drivers/char/rio/link.h
@@ -50,8 +50,8 @@
struct LPB {
u16 link_number; /* Link Number */
- Channel_ptr in_ch; /* Link In Channel */
- Channel_ptr out_ch; /* Link Out Channel */
+ u16 in_ch; /* Link In Channel */
+ u16 out_ch; /* Link Out Channel */
u8 attached_serial[4]; /* Attached serial number */
u8 attached_host_serial[4];
/* Serial number of Host who
@@ -59,8 +59,8 @@ struct LPB {
u16 descheduled; /* Currently Descheduled */
u16 state; /* Current state */
u16 send_poll; /* Send a Poll Packet */
- Process_ptr ltt_p; /* Process Descriptor */
- Process_ptr lrt_p; /* Process Descriptor */
+ u16 ltt_p; /* Process Descriptor */
+ u16 lrt_p; /* Process Descriptor */
u16 lrt_status; /* Current lrt status */
u16 ltt_status; /* Current ltt status */
u16 timeout; /* Timeout value */
@@ -71,8 +71,8 @@ struct LPB {
u16 add_packet_list; /* Add packets to here */
u16 remove_packet_list; /* Send packets from here */
- Channel_ptr lrt_fail_chan; /* Lrt's failure channel */
- Channel_ptr ltt_fail_chan; /* Ltt's failure channel */
+ u16 lrt_fail_chan; /* Lrt's failure channel */
+ u16 ltt_fail_chan; /* Ltt's failure channel */
/* RUP structure for HOST to driver communications */
struct RUP rup;
OpenPOWER on IntegriCloud