diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-02-03 17:49:49 -0500 |
---|---|---|
committer | Adrian Bunk <bunk@r063144.stusta.swh.mhn.de> | 2006-02-03 17:49:49 -0500 |
commit | 01d206a7c1167639f6ca6dac22140fbdca017558 (patch) | |
tree | bc3ccf1a8140a7f787c4728cfa4c30e65ad56eb2 /drivers/scsi/aic7xxx/aic79xx_osm.h | |
parent | 9c4b562abc9005e4b413de02c85d3d29da707cba (diff) | |
parent | d6c8f6aaa1d7f68c1e6471ab0839d9047cdd159f (diff) |
Merge with git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'drivers/scsi/aic7xxx/aic79xx_osm.h')
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx_osm.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.h b/drivers/scsi/aic7xxx/aic79xx_osm.h index cb74fccc8100..9cb101345107 100644 --- a/drivers/scsi/aic7xxx/aic79xx_osm.h +++ b/drivers/scsi/aic7xxx/aic79xx_osm.h | |||
@@ -36,7 +36,7 @@ | |||
36 | * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | 36 | * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
37 | * POSSIBILITY OF SUCH DAMAGES. | 37 | * POSSIBILITY OF SUCH DAMAGES. |
38 | * | 38 | * |
39 | * $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic79xx_osm.h#137 $ | 39 | * $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic79xx_osm.h#166 $ |
40 | * | 40 | * |
41 | */ | 41 | */ |
42 | #ifndef _AIC79XX_LINUX_H_ | 42 | #ifndef _AIC79XX_LINUX_H_ |
@@ -228,7 +228,6 @@ typedef struct timer_list ahd_timer_t; | |||
228 | typedef void ahd_linux_callback_t (u_long); | 228 | typedef void ahd_linux_callback_t (u_long); |
229 | static __inline void ahd_timer_reset(ahd_timer_t *timer, int usec, | 229 | static __inline void ahd_timer_reset(ahd_timer_t *timer, int usec, |
230 | ahd_callback_t *func, void *arg); | 230 | ahd_callback_t *func, void *arg); |
231 | static __inline void ahd_scb_timer_reset(struct scb *scb, u_int usec); | ||
232 | 231 | ||
233 | static __inline void | 232 | static __inline void |
234 | ahd_timer_reset(ahd_timer_t *timer, int usec, ahd_callback_t *func, void *arg) | 233 | ahd_timer_reset(ahd_timer_t *timer, int usec, ahd_callback_t *func, void *arg) |
@@ -243,12 +242,6 @@ ahd_timer_reset(ahd_timer_t *timer, int usec, ahd_callback_t *func, void *arg) | |||
243 | add_timer(timer); | 242 | add_timer(timer); |
244 | } | 243 | } |
245 | 244 | ||
246 | static __inline void | ||
247 | ahd_scb_timer_reset(struct scb *scb, u_int usec) | ||
248 | { | ||
249 | mod_timer(&scb->io_ctx->eh_timeout, jiffies + (usec * HZ)/1000000); | ||
250 | } | ||
251 | |||
252 | /***************************** SMP support ************************************/ | 245 | /***************************** SMP support ************************************/ |
253 | #include <linux/spinlock.h> | 246 | #include <linux/spinlock.h> |
254 | 247 | ||
@@ -389,7 +382,6 @@ struct ahd_platform_data { | |||
389 | 382 | ||
390 | spinlock_t spin_lock; | 383 | spinlock_t spin_lock; |
391 | u_int qfrozen; | 384 | u_int qfrozen; |
392 | struct timer_list reset_timer; | ||
393 | struct semaphore eh_sem; | 385 | struct semaphore eh_sem; |
394 | struct Scsi_Host *host; /* pointer to scsi host */ | 386 | struct Scsi_Host *host; /* pointer to scsi host */ |
395 | #define AHD_LINUX_NOIRQ ((uint32_t)~0) | 387 | #define AHD_LINUX_NOIRQ ((uint32_t)~0) |