? .tmscsim.o.flags ? Rules.make Index: dc390.h =================================================================== RCS file: /home/cvsroot/dc390/dc390.h,v retrieving revision 2.43.2.17 retrieving revision 2.43.2.18 diff -u -r2.43.2.17 -r2.43.2.18 --- dc390.h 2000/10/13 15:15:00 2.43.2.17 +++ dc390.h 2000/11/17 20:52:27 2.43.2.18 @@ -4,7 +4,7 @@ * Description: Device Driver for Tekram DC-390(T) PCI SCSI * * Bus Master Host Adapter * ***********************************************************************/ -/* $Id: dc390.h,v 2.43.2.17 2000/10/13 15:15:00 garloff Exp $ */ +/* $Id: dc390.h,v 2.43.2.18 2000/11/17 20:52:27 garloff Exp $ */ /* * DC390/AMD 53C974 driver, header file @@ -19,7 +19,7 @@ #endif #define DC390_BANNER "Tekram DC390/AM53C974" -#define DC390_VERSION "2.0e4 2000/10/13" +#define DC390_VERSION "2.0e5 2000-11-17" /* We don't have eh_abort_handler, eh_device_reset_handler, * eh_bus_reset_handler, eh_host_reset_handler yet! Index: scsiiom.c =================================================================== RCS file: /home/cvsroot/dc390/scsiiom.c,v retrieving revision 2.55.2.15 retrieving revision 2.55.2.16 diff -u -r2.55.2.15 -r2.55.2.16 --- scsiiom.c 2000/09/29 19:56:14 2.55.2.15 +++ scsiiom.c 2000/11/17 20:52:27 2.55.2.16 @@ -4,7 +4,7 @@ * Description: Device Driver for Tekram DC-390 (T) PCI SCSI * * Bus Master Host Adapter * ***********************************************************************/ -/* $Id: scsiiom.c,v 2.55.2.15 2000/09/29 19:56:14 garloff Exp $ */ +/* $Id: scsiiom.c,v 2.55.2.16 2000/11/17 20:52:27 garloff Exp $ */ static void __inline__ dc390_freetag (PDCB pDCB, PSRB pSRB) @@ -56,7 +56,7 @@ * (pSRB->pcmd->cmnd[0] == TEST_UNIT_READY)) && pACB->scan_devices) ||*/ (pSRB->SRBFlag & AUTO_REQSENSE) ) disc_allowed = 0; - if ( (pDCB->SyncMode & SYNC_ENABLE) && (pDCB->TargetLUN == 0) && (pSRB->pcmd->device->sync) && + if ( (pDCB->SyncMode & SYNC_ENABLE) && (pDCB->TargetLUN == 0) && (pDCB->Inquiry7 & 0x10) && ( ( ( (pSRB->pcmd->cmnd[0] == REQUEST_SENSE) || (pSRB->SRBFlag & AUTO_REQSENSE) ) && !(pDCB->SyncMode & SYNC_NEGO_DONE) ) || (pSRB->pcmd->cmnd[0] == INQUIRY) ) ) try_sync_nego = 1; @@ -1563,16 +1563,7 @@ pcmd->request_bufflen >= 8 && ptr && (ptr->Vers & 0x07) >= 2) - { - if (ptr->Flags & SCSI_INQ_SYNC) - pcmd->device->sync = 1; - if (ptr->Flags & SCSI_INQ_WBUS16) - pcmd->device->wide = 1; - /* Handled by mid-layer - if (((unsigned char*)(pcmd->buffer))[7] & 0x02) - pcmd->device->tagged_supported = 1; - */ - } + pDCB->Inquiry7 = ptr->Flags; ckc_e: if( pACB->scan_devices ) Index: tmscsim.c =================================================================== RCS file: /home/cvsroot/dc390/tmscsim.c,v retrieving revision 2.60.2.24 retrieving revision 2.60.2.25 diff -u -r2.60.2.24 -r2.60.2.25 --- tmscsim.c 2000/10/13 15:15:00 2.60.2.24 +++ tmscsim.c 2000/11/17 20:52:27 2.60.2.25 @@ -7,7 +7,7 @@ ***********************************************************************/ /* (C) Copyright: put under GNU GPL in 10/96 (see README.tmscsim) * *************************************************************************/ -/* $Id: tmscsim.c,v 2.60.2.24 2000/10/13 15:15:00 garloff Exp $ */ +/* $Id: tmscsim.c,v 2.60.2.25 2000/11/17 20:52:27 garloff Exp $ */ /* Enhancements and bugfixes by * * Kurt Garloff * ***********************************************************************/ @@ -159,6 +159,7 @@ * before INQUIRY has reported ability. * * Recognise INQUIRY as scanning command. * * 2.0e4 00/10/13 KG Allow compilation into 2.4 kernel * + * 2.0e5 00/11/17 KG Store Inq.flags in DCB * ***********************************************************************/ /* Uncomment SA_INTERRUPT, if the driver refuses to share its IRQ with other devices */ Index: tmscsim.h =================================================================== RCS file: /home/cvsroot/dc390/tmscsim.h,v retrieving revision 2.15.2.2 retrieving revision 2.15.2.3 diff -u -r2.15.2.2 -r2.15.2.3 --- tmscsim.h 2000/09/29 17:32:36 2.15.2.2 +++ tmscsim.h 2000/11/17 20:52:27 2.15.2.3 @@ -3,7 +3,7 @@ ;* TEKRAM DC-390(T) PCI SCSI Bus Master Host Adapter * ;* Device Driver * ;***********************************************************************/ -/* $Id: tmscsim.h,v 2.15.2.2 2000/09/29 17:32:36 garloff Exp $ */ +/* $Id: tmscsim.h,v 2.15.2.3 2000/11/17 20:52:27 garloff Exp $ */ #ifndef _TMSCSIM_H #define _TMSCSIM_H @@ -173,7 +173,7 @@ UCHAR CtrlR1; UCHAR CtrlR3; UCHAR CtrlR4; -UCHAR pad; +UCHAR Inquiry7; /* 0x2c: */ UCHAR SyncMode; /*; 0:async mode */