diff options
Diffstat (limited to 'drivers/ieee1394/hosts.h')
-rw-r--r-- | drivers/ieee1394/hosts.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/drivers/ieee1394/hosts.h b/drivers/ieee1394/hosts.h index 69a7c9ff5ed7..bc6dbfadb891 100644 --- a/drivers/ieee1394/hosts.h +++ b/drivers/ieee1394/hosts.h | |||
@@ -35,7 +35,6 @@ struct hpsb_host { | |||
35 | int node_count; /* number of identified nodes on this bus */ | 35 | int node_count; /* number of identified nodes on this bus */ |
36 | int selfid_count; /* total number of SelfIDs received */ | 36 | int selfid_count; /* total number of SelfIDs received */ |
37 | int nodes_active; /* number of nodes with active link layer */ | 37 | int nodes_active; /* number of nodes with active link layer */ |
38 | u8 speed[ALL_NODES]; /* speed between each node and local node */ | ||
39 | 38 | ||
40 | nodeid_t node_id; /* node ID of this host */ | 39 | nodeid_t node_id; /* node ID of this host */ |
41 | nodeid_t irm_id; /* ID of this bus' isochronous resource manager */ | 40 | nodeid_t irm_id; /* ID of this bus' isochronous resource manager */ |
@@ -55,31 +54,29 @@ struct hpsb_host { | |||
55 | int reset_retries; | 54 | int reset_retries; |
56 | quadlet_t *topology_map; | 55 | quadlet_t *topology_map; |
57 | u8 *speed_map; | 56 | u8 *speed_map; |
58 | struct csr_control csr; | ||
59 | |||
60 | /* Per node tlabel pool allocation */ | ||
61 | struct hpsb_tlabel_pool tpool[ALL_NODES]; | ||
62 | 57 | ||
58 | int id; | ||
63 | struct hpsb_host_driver *driver; | 59 | struct hpsb_host_driver *driver; |
64 | |||
65 | struct pci_dev *pdev; | 60 | struct pci_dev *pdev; |
66 | |||
67 | int id; | ||
68 | |||
69 | struct device device; | 61 | struct device device; |
70 | struct class_device class_dev; | 62 | struct class_device class_dev; |
71 | 63 | ||
72 | int update_config_rom; | 64 | int update_config_rom; |
73 | struct work_struct delayed_reset; | 65 | struct work_struct delayed_reset; |
74 | |||
75 | unsigned int config_roms; | 66 | unsigned int config_roms; |
76 | 67 | ||
77 | struct list_head addr_space; | 68 | struct list_head addr_space; |
78 | u64 low_addr_space; /* upper bound of physical DMA area */ | 69 | u64 low_addr_space; /* upper bound of physical DMA area */ |
79 | u64 middle_addr_space; /* upper bound of posted write area */ | 70 | u64 middle_addr_space; /* upper bound of posted write area */ |
80 | }; | ||
81 | 71 | ||
72 | u8 speed[ALL_NODES]; /* speed between each node and local node */ | ||
82 | 73 | ||
74 | /* per node tlabel allocation */ | ||
75 | u8 next_tl[ALL_NODES]; | ||
76 | struct { DECLARE_BITMAP(map, 64); } tl_pool[ALL_NODES]; | ||
77 | |||
78 | struct csr_control csr; | ||
79 | }; | ||
83 | 80 | ||
84 | enum devctl_cmd { | 81 | enum devctl_cmd { |
85 | /* Host is requested to reset its bus and cancel all outstanding async | 82 | /* Host is requested to reset its bus and cancel all outstanding async |