View | Details | Raw Unified | Return to bug 219 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-234 / +177 lines)
Line 183 Link Here
183
#define DEBUG0(x) x;
183
# define DEBUG0(x) x;
184
--
Line 185 Link Here
185
#define DEBUG0(x)
185
# define DEBUG0(x)
186
--
Line 188 Link Here
188
#define DEBUG1(x) x;
188
# define DEBUG1(x) x;
189
--
Line 190 Link Here
190
#define DEBUG1(x)
190
# define DEBUG1(x)
191
--
Line 193 Link Here
193
#define DCBDEBUG(x) x;
193
# define DCBDEBUG(x) x;
194
--
Line 195 Link Here
195
#define DCBDEBUG(x)
195
# define DCBDEBUG(x)
196
--
Line 198 Link Here
198
#define PARSEDEBUG(x) x;
198
# define PARSEDEBUG(x) x;
199
--
Line 200 Link Here
200
#define PARSEDEBUG(x)
200
# define PARSEDEBUG(x)
201
--
Line 203 Link Here
203
#define REMOVABLEDEBUG(x) x;
203
# define REMOVABLEDEBUG(x) x;
204
--
Line 205 Link Here
205
#define REMOVABLEDEBUG(x)
205
# define REMOVABLEDEBUG(x)
206
--
Lines 257-262 Link Here
257
 #include <linux/init.h>
257
# include <linux/init.h>
258
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,30)
258
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,30)
259
  #include <linux/spinlock.h>
259
# include <linux/spinlock.h>
260
 #else
260
#else
261
  #include <asm/spinlock.h>
261
# include <asm/spinlock.h>
262
 #endif
262
#endif
263
--
Lines 267-268 Link Here
267
 #define USE_SPINLOCKS 1
267
# define USE_SPINLOCKS 1
268
 #define NEW_PCI 1
268
# define NEW_PCI 1
269
--
Lines 270-273 Link Here
270
 #undef NEW_PCI
270
# undef NEW_PCI
271
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,30)
271
# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,30)
272
  #define USE_SPINLOCKS 2
272
#  define USE_SPINLOCKS 2
273
 #endif
273
# endif
274
--
Line 277 Link Here
277
 static struct pci_device_id tmscsim_pci_tbl[] __initdata = {
277
static struct pci_device_id tmscsim_pci_tbl[] __initdata = {
278
--
Lines 285-286 Link Here
285
 };
285
};
286
 MODULE_DEVICE_TABLE(pci, tmscsim_pci_tbl);
286
MODULE_DEVICE_TABLE(pci, tmscsim_pci_tbl);
287
--
Lines 290-291 Link Here
290
 #warning USE_SPINLOCKS EXISTS
291
 #if USE_SPINLOCKS == 3 /* both */
Lines 293-316 Link Here
293
  #warning USE_SPINLOCKS EXISTS == 3
291
# if USE_SPINLOCKS == 3 /* both */
294
  #if defined (CONFIG_SMP)
292
295
   #define DC390_LOCKA_INIT { spinlock_t __unlocked = SPIN_LOCK_UNLOCKED; pACB->lock = __unlocked; };
293
#  if defined (CONFIG_SMP)
296
  #else
294
#   define DC390_LOCKA_INIT { spinlock_t __unlocked = SPIN_LOCK_UNLOCKED; pACB->lock = __unlocked; };
297
   #define DC390_LOCKA_INIT
295
#  else
298
  #endif
296
#   define DC390_LOCKA_INIT
299
  spinlock_t dc390_drvlock = SPIN_LOCK_UNLOCKED;
297
#  endif
300
298
   spinlock_t dc390_drvlock = SPIN_LOCK_UNLOCKED;
301
  #define DC390_AFLAGS unsigned long aflags;
299
302
  #define DC390_IFLAGS unsigned long iflags;
300
#  define DC390_AFLAGS unsigned long aflags;
303
  #define DC390_DFLAGS unsigned long dflags; 
301
#  define DC390_IFLAGS unsigned long iflags;
304
302
#  define DC390_DFLAGS unsigned long dflags; 
305
  #define DC390_LOCK_IO spin_lock_irqsave (((struct Scsi_Host *)dev)->host_lock, iflags)
303
306
  #define DC390_UNLOCK_IO spin_unlock_irqrestore (((struct Scsi_Host *)dev)->host_lock, iflags)
304
#  define DC390_LOCK_IO spin_lock_irqsave (((struct Scsi_Host *)dev)->host_lock, iflags)
307
305
#  define DC390_UNLOCK_IO spin_unlock_irqrestore (((struct Scsi_Host *)dev)->host_lock, iflags)
308
  #define DC390_LOCK_DRV spin_lock_irqsave (&dc390_drvlock, dflags)
306
309
  #define DC390_UNLOCK_DRV spin_unlock_irqrestore (&dc390_drvlock, dflags)
307
#  define DC390_LOCK_DRV spin_lock_irqsave (&dc390_drvlock, dflags)
310
  #define DC390_LOCK_DRV_NI spin_lock (&dc390_drvlock)
308
#  define DC390_UNLOCK_DRV spin_unlock_irqrestore (&dc390_drvlock, dflags)
311
  #define DC390_UNLOCK_DRV_NI spin_unlock (&dc390_drvlock)
309
#  define DC390_LOCK_DRV_NI spin_lock (&dc390_drvlock)
312
310
#  define DC390_UNLOCK_DRV_NI spin_unlock (&dc390_drvlock)
313
  #define DC390_LOCK_ACB spin_lock_irqsave (&(pACB->lock), aflags)
311
314
  #define DC390_UNLOCK_ACB spin_unlock_irqrestore (&(pACB->lock), aflags)
312
#  define DC390_LOCK_ACB spin_lock_irqsave (&(pACB->lock), aflags)
315
  #define DC390_LOCK_ACB_NI spin_lock (&(pACB->lock))
313
#  define DC390_UNLOCK_ACB spin_unlock_irqrestore (&(pACB->lock), aflags)
316
  #define DC390_UNLOCK_ACB_NI spin_unlock (&(pACB->lock))
314
#  define DC390_LOCK_ACB_NI spin_lock (&(pACB->lock))
317
--
315
#  define DC390_UNLOCK_ACB_NI spin_unlock (&(pACB->lock))
Line 319 Link Here
319
 #else
318
# else
320
--
Lines 321-342 Link Here
321
  #if USE_SPINLOCKS == 2 /* adapter specific locks */
320
#  if USE_SPINLOCKS == 2 /* adapter specific locks */
322
   #warning USE_SPINLOCKS EXISTS == 2
321
323
 
322
#   if defined (CONFIG_SMP)
324
   #if defined (CONFIG_SMP)
323
#    define DC390_LOCKA_INIT { spinlock_t __unlocked = SPIN_LOCK_UNLOCKED; pACB->lock = __unlocked; };
325
    #define DC390_LOCKA_INIT { spinlock_t __unlocked = SPIN_LOCK_UNLOCKED; pACB->lock = __unlocked; };
324
#   else
326
   #else
325
#    define DC390_LOCKA_INIT
327
    #define DC390_LOCKA_INIT
326
#   endif
328
   #endif
327
    spinlock_t dc390_drvlock = SPIN_LOCK_UNLOCKED;
329
   spinlock_t dc390_drvlock = SPIN_LOCK_UNLOCKED;
328
#   define DC390_AFLAGS unsigned long aflags;
330
   #define DC390_AFLAGS unsigned long aflags;
329
#   define DC390_IFLAGS 
331
   #define DC390_IFLAGS 
330
#  define DC390_DFLAGS unsigned long dflags; 
332
   #define DC390_DFLAGS unsigned long dflags; 
331
#   define DC390_LOCK_IO(dev) /* spin_lock_irqsave (&io_request_lock, iflags) */
333
   #define DC390_LOCK_IO(dev) /* spin_lock_irqsave (&io_request_lock, iflags) */
332
#   define DC390_UNLOCK_IO(dev) /* spin_unlock_irqrestore (&io_request_lock, iflags) */
334
   #define DC390_UNLOCK_IO(dev) /* spin_unlock_irqrestore (&io_request_lock, iflags) */
333
#   define DC390_LOCK_DRV spin_lock_irqsave (&dc390_drvlock, dflags)
335
   #define DC390_LOCK_DRV spin_lock_irqsave (&dc390_drvlock, dflags)
334
#   define DC390_UNLOCK_DRV spin_unlock_irqrestore (&dc390_drvlock, dflags)
336
   #define DC390_UNLOCK_DRV spin_unlock_irqrestore (&dc390_drvlock, dflags)
335
#   define DC390_LOCK_DRV_NI spin_lock (&dc390_drvlock)
337
   #define DC390_LOCK_DRV_NI spin_lock (&dc390_drvlock)
336
#   define DC390_UNLOCK_DRV_NI spin_unlock (&dc390_drvlock)
338
   #define DC390_UNLOCK_DRV_NI spin_unlock (&dc390_drvlock)
337
#   define DC390_LOCK_ACB spin_lock_irqsave (&(pACB->lock), aflags)
339
   #define DC390_LOCK_ACB spin_lock_irqsave (&(pACB->lock), aflags)
338
#   define DC390_UNLOCK_ACB spin_unlock_irqrestore (&(pACB->lock), aflags)
340
   #define DC390_UNLOCK_ACB spin_unlock_irqrestore (&(pACB->lock), aflags)
339
#   define DC390_LOCK_ACB_NI spin_lock (&(pACB->lock))
341
   #define DC390_LOCK_ACB_NI spin_lock (&(pACB->lock))
340
#   define DC390_UNLOCK_ACB_NI spin_unlock (&(pACB->lock))
342
   #define DC390_UNLOCK_ACB_NI spin_unlock (&(pACB->lock))
343
--
Lines 345-362 Link Here
345
  #else /* USE_SPINLOCKS == 1: global lock io_request_lock */
343
#  else /* USE_SPINLOCKS == 1: global lock io_request_lock */
346
   #warning USE_SPINLOCKS EXISTS == 1 ??
344
347
 
345
#   define DC390_AFLAGS 
348
   #define DC390_AFLAGS 
346
#   define DC390_IFLAGS unsigned long iflags;
349
   #define DC390_IFLAGS unsigned long iflags;
347
#   define DC390_DFLAGS unsigned long dflags; 
350
   #define DC390_DFLAGS unsigned long dflags; 
348
    spinlock_t dc390_drvlock = SPIN_LOCK_UNLOCKED;
351
   spinlock_t dc390_drvlock = SPIN_LOCK_UNLOCKED;
349
#   define DC390_LOCK_IO(dev) spin_lock_irqsave (((struct Scsi_Host *)dev)->host_lock, iflags)
352
   #define DC390_LOCK_IO(dev)  spin_lock_irqsave (((struct Scsi_Host *)dev)->host_lock, iflags)
350
#   define DC390_UNLOCK_IO(dev) spin_unlock_irqrestore (((struct Scsi_Host *)dev)->host_lock, iflags)
353
   #define DC390_UNLOCK_IO(dev)  spin_unlock_irqrestore (((struct Scsi_Host *)dev)->host_lock, iflags)
351
#   define DC390_LOCK_DRV spin_lock_irqsave (&dc390_drvlock, dflags)
354
   #define DC390_LOCK_DRV spin_lock_irqsave (&dc390_drvlock, dflags)
352
#   define DC390_UNLOCK_DRV spin_unlock_irqrestore (&dc390_drvlock, dflags)
355
   #define DC390_UNLOCK_DRV spin_unlock_irqrestore (&dc390_drvlock, dflags)
353
#   define DC390_LOCK_DRV_NI spin_lock (&dc390_drvlock)
356
   #define DC390_LOCK_DRV_NI spin_lock (&dc390_drvlock)
354
#   define DC390_UNLOCK_DRV_NI spin_unlock (&dc390_drvlock)
357
   #define DC390_UNLOCK_DRV_NI spin_unlock (&dc390_drvlock)
355
#   define DC390_LOCK_ACB /* DC390_LOCK_IO */
358
   #define DC390_LOCK_ACB /* DC390_LOCK_IO */
356
#   define DC390_UNLOCK_ACB /* DC390_UNLOCK_IO */
359
   #define DC390_UNLOCK_ACB /* DC390_UNLOCK_IO */
357
#   define DC390_LOCK_ACB_NI /* spin_lock (&(pACB->lock)) */
360
   #define DC390_LOCK_ACB_NI /* spin_lock (&(pACB->lock)) */
358
#   define DC390_UNLOCK_ACB_NI /* spin_unlock (&(pACB->lock)) */
361
   #define DC390_UNLOCK_ACB_NI /* spin_unlock (&(pACB->lock)) */
359
#   define DC390_LOCKA_INIT /* DC390_LOCKA_INIT */
362
   #define DC390_LOCKA_INIT /* DC390_LOCKA_INIT */
363
--
Lines 364-365 Link Here
364
  #endif /* 2 */
361
#  endif /* 2 */
365
 #endif /* 3 */
362
# endif /* 3 */
366
--
Lines 368-383 Link Here
368
 #warning USE_SPINLOCKS NOT EXISTS
365
369
 
366
# define DC390_AFLAGS unsigned long aflags;
370
 #define DC390_AFLAGS unsigned long aflags;
367
# define DC390_IFLAGS unsigned long iflags;
371
 #define DC390_IFLAGS unsigned long iflags;
368
# define DC390_DFLAGS unsigned long dflags; 
372
 #define DC390_DFLAGS unsigned long dflags; 
369
# define DC390_LOCK_IO save_flags (iflags); cli ()
373
 #define DC390_LOCK_IO save_flags (iflags); cli ()
370
# define DC390_UNLOCK_IO restore_flags (iflags)
374
 #define DC390_UNLOCK_IO restore_flags (iflags)
371
# define DC390_LOCK_DRV save_flags (dflags); cli ()
375
 #define DC390_LOCK_DRV save_flags (dflags); cli ()
372
# define DC390_UNLOCK_DRV restore_flags (dflags)
376
 #define DC390_UNLOCK_DRV restore_flags (dflags)
373
# define DC390_LOCK_DRV_NI
377
 #define DC390_LOCK_DRV_NI
374
# define DC390_UNLOCK_DRV_NI
378
 #define DC390_UNLOCK_DRV_NI
375
# define DC390_LOCK_ACB save_flags (aflags); cli ()
379
 #define DC390_LOCK_ACB save_flags (aflags); cli ()
376
# define DC390_UNLOCK_ACB restore_flags (aflags)
380
 #define DC390_UNLOCK_ACB restore_flags (aflags)
377
# define DC390_LOCK_ACB_NI
381
 #define DC390_LOCK_ACB_NI
378
# define DC390_UNLOCK_ACB_NI
382
 #define DC390_UNLOCK_ACB_NI
379
# define DC390_LOCKA_INIT
383
 #define DC390_LOCKA_INIT
384
--
Lines 390-408 Link Here
390
 #define PDEV pdev
386
# define PDEV pdev
391
 #define PDEVDECL struct pci_dev *pdev
387
# define PDEVDECL struct pci_dev *pdev
392
 #define PDEVDECL0 struct pci_dev *pdev = NULL
388
# define PDEVDECL0 struct pci_dev *pdev = NULL
393
 #define PDEVDECL1 struct pci_dev *pdev
389
# define PDEVDECL1 struct pci_dev *pdev
394
 #define PDEVSET pACB->pdev=pdev
390
# define PDEVSET pACB->pdev=pdev
395
 #define PDEVSET1 pdev=pACB->pdev
391
# define PDEVSET1 pdev=pACB->pdev
396
 #define PCI_WRITE_CONFIG_BYTE(pd, rv, bv) pci_write_config_byte (pd, rv, bv)
392
# define PCI_WRITE_CONFIG_BYTE(pd, rv, bv) pci_write_config_byte (pd, rv, bv)
397
 #define PCI_READ_CONFIG_BYTE(pd, rv, bv) pci_read_config_byte (pd, rv, bv)
393
# define PCI_READ_CONFIG_BYTE(pd, rv, bv) pci_read_config_byte (pd, rv, bv)
398
 #define PCI_WRITE_CONFIG_WORD(pd, rv, bv) pci_write_config_word (pd, rv, bv)
394
# define PCI_WRITE_CONFIG_WORD(pd, rv, bv) pci_write_config_word (pd, rv, bv)
399
 #define PCI_READ_CONFIG_WORD(pd, rv, bv) pci_read_config_word (pd, rv, bv)
395
# define PCI_READ_CONFIG_WORD(pd, rv, bv) pci_read_config_word (pd, rv, bv)
400
 #define PCI_BUS_DEV pdev->bus->number, pdev->devfn
396
# define PCI_BUS_DEV pdev->bus->number, pdev->devfn
401
 #define PCI_PRESENT pci_present ()
397
# define PCI_PRESENT pci_present ()
402
 #define PCI_SET_MASTER pci_set_master (pdev)
398
# define PCI_SET_MASTER pci_set_master (pdev)
403
 #define PCI_FIND_DEVICE(vend, id) (pdev = pci_find_device (vend, id, pdev))
399
# define PCI_FIND_DEVICE(vend, id) (pdev = pci_find_device (vend, id, pdev))
404
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,10)
400
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,10)
405
  #define PCI_GET_IO_AND_IRQ io_port = pci_resource_start (pdev, 0); irq = pdev->irq
401
# define PCI_GET_IO_AND_IRQ io_port = pci_resource_start (pdev, 0); irq = pdev->irq
406
 #else
407
  #define PCI_GET_IO_AND_IRQ io_port = pdev->base_address[0] & PCI_BASE_ADDRESS_IO_MASK; irq = pdev->irq
408
 #endif
409
--
Lines 410-428 Link Here
410
 #include <linux/bios32.h>
403
# define PCI_GET_IO_AND_IRQ io_port = pdev->base_address[0] & PCI_BASE_ADDRESS_IO_MASK; irq = pdev->irq
411
 #define PDEV pbus, pdevfn
404
#endif
412
 #define PDEVDECL UCHAR pbus, UCHAR pdevfn
405
#else
413
 #define PDEVDECL0 UCHAR pbus = 0; UCHAR pdevfn = 0; USHORT pci_index = 0; int error
406
# include <linux/bios32.h>
414
 #define PDEVDECL1 UCHAR pbus; UCHAR pdevfn /*; USHORT pci_index */
407
# define PDEV pbus, pdevfn
415
 #define PDEVSET pACB->pbus=pbus; pACB->pdevfn=pdevfn /*; pACB->pci_index=pci_index */
408
# define PDEVDECL UCHAR pbus, UCHAR pdevfn
416
 #define PDEVSET1 pbus=pACB->pbus; pdevfn=pACB->pdevfn /*; pci_index=pACB->pci_index */
409
# define PDEVDECL0 UCHAR pbus = 0; UCHAR pdevfn = 0; USHORT pci_index = 0; int error
417
 #define PCI_WRITE_CONFIG_BYTE(pd, rv, bv) pcibios_write_config_byte (pd, rv, bv)
410
# define PDEVDECL1 UCHAR pbus; UCHAR pdevfn /*; USHORT pci_index */
418
 #define PCI_READ_CONFIG_BYTE(pd, rv, bv) pcibios_read_config_byte (pd, rv, bv)
411
# define PDEVSET pACB->pbus=pbus; pACB->pdevfn=pdevfn /*; pACB->pci_index=pci_index */
419
 #define PCI_WRITE_CONFIG_WORD(pd, rv, bv) pcibios_write_config_word (pd, rv, bv)
412
# define PDEVSET1 pbus=pACB->pbus; pdevfn=pACB->pdevfn /*; pci_index=pACB->pci_index */
420
 #define PCI_READ_CONFIG_WORD(pd, rv, bv) pcibios_read_config_word (pd, rv, bv)
413
# define PCI_WRITE_CONFIG_BYTE(pd, rv, bv) pcibios_write_config_byte (pd, rv, bv)
421
 #define PCI_BUS_DEV pbus, pdevfn
414
# define PCI_READ_CONFIG_BYTE(pd, rv, bv) pcibios_read_config_byte (pd, rv, bv)
422
 #define PCI_PRESENT pcibios_present ()
415
# define PCI_WRITE_CONFIG_WORD(pd, rv, bv) pcibios_write_config_word (pd, rv, bv)
423
 #define PCI_SET_MASTER dc390_set_master (pbus, pdevfn)
416
# define PCI_READ_CONFIG_WORD(pd, rv, bv) pcibios_read_config_word (pd, rv, bv)
424
 #define PCI_FIND_DEVICE(vend, id) (!pcibios_find_device (vend, id, pci_index++, &pbus, &pdevfn))
417
# define PCI_BUS_DEV pbus, pdevfn
425
 #define PCI_GET_IO_AND_IRQ error = pcibios_read_config_dword (pbus, pdevfn, PCI_BASE_ADDRESS_0, &io_port);	\
418
# define PCI_PRESENT pcibios_present ()
426
         error |= pcibios_read_config_byte (pbus, pdevfn, PCI_INTERRUPT_LINE, &irq);	\
419
# define PCI_SET_MASTER dc390_set_master (pbus, pdevfn)
427
         io_port &= 0xfffe;	\
420
# define PCI_FIND_DEVICE(vend, id) (!pcibios_find_device (vend, id, pci_index++, &pbus, &pdevfn))
428
         if (error) { printk (KERN_ERR "DC390_detect: Error reading PCI config registers!\n"); continue; }
421
# define PCI_GET_IO_AND_IRQ error = pcibios_read_config_dword (pbus, pdevfn, PCI_BASE_ADDRESS_0, &io_port);	\
429
--
422
 error |= pcibios_read_config_byte (pbus, pdevfn, PCI_INTERRUPT_LINE, &irq);	\
423
 io_port &= 0xfffe;	\
424
 if (error) { printk (KERN_ERR "DC390_detect: Error reading PCI config registers!\n"); continue; }
Line 434 Link Here
434
 #define __init
430
# define __init
435
--
Line 488 Link Here
488
#if defined(MODULE) && LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,30)
484
# if defined(MODULE) && LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,30)
489
--
Line 491 Link Here
491
#endif
487
# endif
492
--
Line 638 Link Here
638
#ifdef CONFIG_SCSI_MULTI_LUN
634
# ifdef CONFIG_SCSI_MULTI_LUN
639
--
Line 640 Link Here
640
#endif
636
# endif
641
--
Line 876 Link Here
876
	pACB->pNextACB->pQueryTail = cmd;
872
	pACB->pQueryTail->next = cmd;
877
--
Line 881 Link Here
881
    cmd->bh_next = NULL;
877
    cmd->next = NULL;
882
--
Lines 893-894 Link Here
893
    pACB->pQueryHead = pcmd->bh_next;
889
    pACB->pQueryHead = pcmd->next;
894
    pcmd->bh_next = NULL;
890
    pcmd->next = NULL;
895
--
Line 1078 Link Here
1078
	DC390_LOCK_IO(pACB->pScsiHost);
1074
	DC390_LOCK_IO(pACB.pScsiHost);
1079
--
Line 1082 Link Here
1082
	DC390_UNLOCK_IO(pACB->pScsiHost);
1078
	DC390_UNLOCK_IO(pACB.pScsiHost);
1083
--
Line 1150 Link Here
1150
	pSRB->Segmentx.dma_address = (PUCHAR) pcmd->request_buffer;
1146
	pSRB->Segmentx.address = (PUCHAR) pcmd->request_buffer;
1151
--
Lines 1568-1569 Link Here
1568
	    pACB->pQueryHead = pcmd->bh_next;
1564
	    pACB->pQueryHead = pcmd->next;
1569
	    pcmd->bh_next = NULL;
1565
	    pcmd->next = NULL;
1570
--
Line 1577 Link Here
1577
	    if( pcmd->bh_next == cmd )
1573
	    if( pcmd->next == cmd )
1578
--
Lines 1579-1580 Link Here
1579
		pcmd->bh_next = cmd->bh_next;
1575
		pcmd->next = cmd->next;
1580
		cmd->bh_next = NULL;
1576
		cmd->next = NULL;
1581
--
Line 1588 Link Here
1588
		pcmd = pcmd->bh_next;
1584
		pcmd = pcmd->next;
1589
--
Line 1631 Link Here
1631
	cmd->bh_next = NULL;
1627
	cmd->next = NULL;
1632
--
Line 2408 Link Here
2408
   cmd->request->rq_status = RQ_SCSI_BUSY;
2404
   cmd->request.rq_status = RQ_SCSI_BUSY;
2409
--
Line 2459 Link Here
2459
   cmd->request->rq_status = RQ_SCSI_BUSY;
2455
   cmd->request.rq_status = RQ_SCSI_BUSY;
2460
--
Line 2505 Link Here
2505
if (!pos) goto ok
2501
if (!p) goto ok
2506
--
Line 2566 Link Here
2566
  DC390_LOCK_IO(pACB->pScsiHost);
2562
  DC390_LOCK_IO(pACB.pScsiHost);
2567
--
Line 2730 Link Here
2730
  DC390_UNLOCK_IO(pACB->pScsiHost);
2726
  DC390_UNLOCK_IO(pACB.pScsiHost);
2731
--
Line 2737 Link Here
2737
  DC390_UNLOCK_IO(pACB->pScsiHost);
2733
  DC390_UNLOCK_IO(pACB.pScsiHost);
2738
--
Line 2749 Link Here
2749
	DC390_UNLOCK_IO(pACB->pScsiHost);
2745
	DC390_UNLOCK_IO(pACB.pScsiHost);
2750
--
Line 2757 Link Here
2757
	DC390_UNLOCK_IO(pACB->pScsiHost);       
2753
	DC390_UNLOCK_IO(pACB.pScsiHost);       
2758
--
Line 2771 Link Here
2771
	DC390_UNLOCK_IO(pACB->pScsiHost);
2767
	DC390_UNLOCK_IO(pACB.pScsiHost);
2772
--
Line 2786 Link Here
2786
	DC390_UNLOCK_IO(pACB->pScsiHost);
2782
	DC390_UNLOCK_IO(pACB.pScsiHost);
2787
--
Line 2801 Link Here
2801
	DC390_UNLOCK_IO(pACB->pScsiHost);
2797
	DC390_UNLOCK_IO(pACB.pScsiHost);
2802
--
Line 2817 Link Here
2817
	DC390_UNLOCK_IO(pACB->pScsiHost);
2813
	DC390_UNLOCK_IO(pACB.pScsiHost);
2818
--
Line 2825 Link Here
2825
   DC390_UNLOCK_IO(pACB->pScsiHost);
2821
   DC390_UNLOCK_IO(pACB.pScsiHost);
2826
--
Line 2941 Link Here
2941
    for (pcmd = pACB->pQueryHead; pcmd; pcmd = pcmd->bh_next)
2937
    for (pcmd = pACB->pQueryHead; pcmd; pcmd = pcmd->next)
2942
--

Return to bug 219