libsas.h (b1124cd3ec97406c767b90bf7e93ecd2d2915592) libsas.h (e139942d77a6e3ac83bc322e826668054a8601d6)
1/*
2 * SAS host prototypes and structures header file
3 *
4 * Copyright (C) 2005 Adaptec, Inc. All rights reserved.
5 * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
6 *
7 * This file is licensed under GPLv2.
8 *

--- 159 unchanged lines hidden (view full) ---

168 u8 port_no; /* port number, if this is a PM (Port) */
169 struct list_head children; /* PM Ports if this is a PM */
170
171 struct ata_port *ap;
172 struct ata_host ata_host;
173 struct ata_taskfile tf;
174};
175
1/*
2 * SAS host prototypes and structures header file
3 *
4 * Copyright (C) 2005 Adaptec, Inc. All rights reserved.
5 * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
6 *
7 * This file is licensed under GPLv2.
8 *

--- 159 unchanged lines hidden (view full) ---

168 u8 port_no; /* port number, if this is a PM (Port) */
169 struct list_head children; /* PM Ports if this is a PM */
170
171 struct ata_port *ap;
172 struct ata_host ata_host;
173 struct ata_taskfile tf;
174};
175
176/* ---------- Domain device ---------- */
176enum {
177 SAS_DEV_GONE,
178};
179
177struct domain_device {
178 enum sas_dev_type dev_type;
179
180 enum sas_linkrate linkrate;
181 enum sas_linkrate min_linkrate;
182 enum sas_linkrate max_linkrate;
183
184 int pathways;

--- 15 unchanged lines hidden (view full) ---

200 u8 frame_rcvd[32];
201
202 union {
203 struct expander_device ex_dev;
204 struct sata_device sata_dev; /* STP & directly attached */
205 };
206
207 void *lldd_dev;
180struct domain_device {
181 enum sas_dev_type dev_type;
182
183 enum sas_linkrate linkrate;
184 enum sas_linkrate min_linkrate;
185 enum sas_linkrate max_linkrate;
186
187 int pathways;

--- 15 unchanged lines hidden (view full) ---

203 u8 frame_rcvd[32];
204
205 union {
206 struct expander_device ex_dev;
207 struct sata_device sata_dev; /* STP & directly attached */
208 };
209
210 void *lldd_dev;
208 int gone;
211 unsigned long state;
209 struct kref kref;
210};
211
212struct sas_discovery_event {
213 struct work_struct work;
214 struct asd_sas_port *port;
215};
216

--- 458 unchanged lines hidden ---
212 struct kref kref;
213};
214
215struct sas_discovery_event {
216 struct work_struct work;
217 struct asd_sas_port *port;
218};
219

--- 458 unchanged lines hidden ---