Diff for /src/sys/bus/cam/scsi/scsi_low.h between versions 1.4 and 1.5

version 1.4, 2003/08/27 11:42:33 version 1.5, 2004/02/11 17:46:33
Line 54 Line 54
 #define SCSI_LOW_INTERFACE_XS  #define SCSI_LOW_INTERFACE_XS
 #endif  /* __NetBSD__ */  #endif  /* __NetBSD__ */
   
#ifdef  __FreeBSD__#ifdef  __DragonFly__
 #define SCSI_LOW_INTERFACE_CAM  #define SCSI_LOW_INTERFACE_CAM
 #define CAM  #define CAM
#endif  /* __FreeBSD__ */#endif  /* __DragonFly__ */
   
 /******** includes *******************************/  /******** includes *******************************/
 #ifdef  __NetBSD__  #ifdef  __NetBSD__
Line 65 Line 65
 #include <dev/isa/ccbque.h>  #include <dev/isa/ccbque.h>
 #endif  /* __NetBSD__ */  #endif  /* __NetBSD__ */
   
#ifdef  __FreeBSD__#ifdef  __DragonFly__
 #include <sys/device_port.h>  #include <sys/device_port.h>
#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_xpt_sim.h"#include <bus/cam/cam_xpt_sim.h>
#include "../cam_debug.h"#include <bus/cam/cam_debug.h>
   
 #include "scsi_dvcfg.h"  #include "scsi_dvcfg.h"
 #include <i386/isa/ccbque.h>  #include <i386/isa/ccbque.h>
#endif  /* __FreeBSD__ */#endif  /* __DragonFly__ */
   
 /******** functions macro ************************/  /******** functions macro ************************/
 #ifdef  __NetBSD__  #ifdef  __NetBSD__
Line 85 Line 85
 #define SCSI_LOW_BZERO(pt, size)        memset((pt), 0, (size))  #define SCSI_LOW_BZERO(pt, size)        memset((pt), 0, (size))
 #endif  /* __NetBSD__ */  #endif  /* __NetBSD__ */
   
#ifdef  __FreeBSD__#ifdef  __DragonFly__
 #undef  MSG_IDENTIFY  #undef  MSG_IDENTIFY
 #define SCSI_LOW_DEBUGGER(dev)  Debugger((dev))  #define SCSI_LOW_DEBUGGER(dev)  Debugger((dev))
 #define SCSI_LOW_DELAY(mu)      DELAY((mu))  #define SCSI_LOW_DELAY(mu)      DELAY((mu))
 #define SCSI_LOW_SPLSCSI        splcam  #define SCSI_LOW_SPLSCSI        splcam
 #define SCSI_LOW_BZERO(pt, size)        bzero((pt), (size))  #define SCSI_LOW_BZERO(pt, size)        bzero((pt), (size))
#endif  /* __FreeBSD__ */#endif  /* __DragonFly__ */
   
 /******** os depend interface structures **********/  /******** os depend interface structures **********/
 #ifdef  __NetBSD__  #ifdef  __NetBSD__
Line 111  struct scsi_low_osdep_lun_interface { Line 111  struct scsi_low_osdep_lun_interface {
 };  };
 #endif  /* __NetBSD__ */  #endif  /* __NetBSD__ */
   
#ifdef  __FreeBSD__#ifdef  __DragonFly__
 typedef struct scsi_sense_data scsi_low_osdep_sense_data_t;  typedef struct scsi_sense_data scsi_low_osdep_sense_data_t;
   
 struct scsi_low_osdep_interface {  struct scsi_low_osdep_interface {
Line 134  struct scsi_low_osdep_targ_interface { Line 134  struct scsi_low_osdep_targ_interface {
   
 struct scsi_low_osdep_lun_interface {  struct scsi_low_osdep_lun_interface {
 };  };
#endif  /* __FreeBSD__ */#endif  /* __DragonFly__ */
   
 /******** os depend interface functions *************/  /******** os depend interface functions *************/
 struct slccb;  struct slccb;

Removed from v.1.4  
changed lines
  Added in v.1.5