scsi_device.h (46557bef3f3834ac33031c7be27d39d90d507442) scsi_device.h (860dc73608a091e0b325218acc2701709d5f221a)
1#ifndef _SCSI_SCSI_DEVICE_H
2#define _SCSI_SCSI_DEVICE_H
3
4#include <linux/device.h>
5#include <linux/list.h>
6#include <linux/spinlock.h>
7#include <linux/workqueue.h>
8#include <linux/blkdev.h>

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

140 unsigned start_stop_pwr_cond:1; /* Set power cond. in START_STOP_UNIT */
141 unsigned no_uld_attach:1; /* disable connecting to upper level drivers */
142 unsigned select_no_atn:1;
143 unsigned fix_capacity:1; /* READ_CAPACITY is too high by 1 */
144 unsigned guess_capacity:1; /* READ_CAPACITY might be too high by 1 */
145 unsigned retry_hwerror:1; /* Retry HARDWARE_ERROR */
146 unsigned last_sector_bug:1; /* do not use multisector accesses on
147 SD_LAST_BUGGY_SECTORS */
1#ifndef _SCSI_SCSI_DEVICE_H
2#define _SCSI_SCSI_DEVICE_H
3
4#include <linux/device.h>
5#include <linux/list.h>
6#include <linux/spinlock.h>
7#include <linux/workqueue.h>
8#include <linux/blkdev.h>

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

140 unsigned start_stop_pwr_cond:1; /* Set power cond. in START_STOP_UNIT */
141 unsigned no_uld_attach:1; /* disable connecting to upper level drivers */
142 unsigned select_no_atn:1;
143 unsigned fix_capacity:1; /* READ_CAPACITY is too high by 1 */
144 unsigned guess_capacity:1; /* READ_CAPACITY might be too high by 1 */
145 unsigned retry_hwerror:1; /* Retry HARDWARE_ERROR */
146 unsigned last_sector_bug:1; /* do not use multisector accesses on
147 SD_LAST_BUGGY_SECTORS */
148 unsigned is_visible:1; /* is the device visible in sysfs */
148
149 DECLARE_BITMAP(supported_events, SDEV_EVT_MAXBITS); /* supported events */
150 struct list_head event_list; /* asserted events */
151 struct work_struct event_work;
152
153 unsigned int device_blocked; /* Device returned QUEUE_FULL. */
154
155 unsigned int max_device_blocked; /* what device_blocked counts down from */

--- 305 unchanged lines hidden ---
149
150 DECLARE_BITMAP(supported_events, SDEV_EVT_MAXBITS); /* supported events */
151 struct list_head event_list; /* asserted events */
152 struct work_struct event_work;
153
154 unsigned int device_blocked; /* Device returned QUEUE_FULL. */
155
156 unsigned int max_device_blocked; /* what device_blocked counts down from */

--- 305 unchanged lines hidden ---