From 57c2d60e1e3db506cdcecbf60f939593125db7f8 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 24 Mar 2006 03:18:31 -0800 Subject: [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/char/rio/link.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'drivers/char/rio/link.h') diff --git a/drivers/char/rio/link.h b/drivers/char/rio/link.h index 87a87b1ec01d..f3bf11a04d41 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; -- cgit v1.2.3