Diff for /src/sys/bus/cam/scsi/scsi_low.c between versions 1.6 and 1.7

version 1.6, 2003/12/29 23:31:00 version 1.7, 2004/02/11 17:46:33
Line 17 Line 17
 #define SCSI_LOW_TARGET_OPEN  #define SCSI_LOW_TARGET_OPEN
 #endif  /* __NetBSD__ */  #endif  /* __NetBSD__ */
   
#ifdef  __FreeBSD__#ifdef  __DragonFly__
 #define SCSI_LOW_FLAGS_QUIRKS_OK  #define SCSI_LOW_FLAGS_QUIRKS_OK
#endif  /* __FreeBSD__ */#endif  /* __DragonFly__ */
   
 /*  /*
  * [NetBSD for NEC PC-98 series]   * [NetBSD for NEC PC-98 series]
Line 71 Line 71
 #include <sys/systm.h>  #include <sys/systm.h>
 #include <sys/kernel.h>  #include <sys/kernel.h>
   
#ifdef __FreeBSD__#ifdef __DragonFly__
#if __FreeBSD_version >= 500001 
#include <sys/bio.h> 
#else 
 #include <machine/clock.h>  #include <machine/clock.h>
 #endif  
 #include <sys/devicestat.h>  #include <sys/devicestat.h>
#endif  /* __FreeBSD__ */#endif  /* __DragonFly__ */
   
 #include <sys/buf.h>  #include <sys/buf.h>
 #include <sys/queue.h>  #include <sys/queue.h>
Line 105 Line 101
 #include <i386/Cbus/dev/scsi_low.h>  #include <i386/Cbus/dev/scsi_low.h>
 #endif  /* __NetBSD__ */  #endif  /* __NetBSD__ */
   
#ifdef __FreeBSD__#ifdef __DragonFly__
#include "../cam.h"#include <bus/cam/cam.h>
#include "../cam_ccb.h"#include <bus/cam/cam_ccb.h>
#include "../cam_sim.h"#include <bus/cam/cam_sim.h>
#include "../cam_debug.h"#include <bus/cam/cam_debug.h>
#include "../cam_periph.h"#include <bus/cam/cam_periph.h>
   
 #include "scsi_all.h"  #include "scsi_all.h"
 #include "scsi_message.h"  #include "scsi_message.h"
Line 118 Line 114
 #include "scsi_low.h"  #include "scsi_low.h"
   
 #include <sys/cons.h>  #include <sys/cons.h>
#endif  /* __FreeBSD__ */#endif  /* __DragonFly__ */
   
 /**************************************************************  /**************************************************************
  * Constants   * Constants

Removed from v.1.6  
changed lines
  Added in v.1.7