Diff for /src/sys/dev/disk/aic7xxx/aic79xx_osm.h between versions 1.3 and 1.4

version 1.3, 2003/08/07 21:16:51 version 1.4, 2004/02/13 01:04:14
Line 44 Line 44
 #include <sys/param.h>  #include <sys/param.h>
 #include <sys/systm.h>  #include <sys/systm.h>
 #include <sys/bus.h>            /* For device_t */  #include <sys/bus.h>            /* For device_t */
#if __FreeBSD_version >= 500000#if defined(__FreeBSD__) && __FreeBSD_version >= 500000
 #include <sys/endian.h>  #include <sys/endian.h>
 #endif  #endif
 #include <sys/eventhandler.h>  #include <sys/eventhandler.h>
Line 181  struct scb_platform_data { Line 181  struct scb_platform_data {
 };  };
   
 /********************************* Byte Order *********************************/  /********************************* Byte Order *********************************/
#if __FreeBSD_version >= 500000#if defined(__FreeBSD___) && __FreeBSD_version >= 500000
 #define ahd_htobe16(x) htobe16(x)  #define ahd_htobe16(x) htobe16(x)
 #define ahd_htobe32(x) htobe32(x)  #define ahd_htobe32(x) htobe32(x)
 #define ahd_htobe64(x) htobe64(x)  #define ahd_htobe64(x) htobe64(x)
Line 224  typedef struct callout ahd_timer_t; Line 224  typedef struct callout ahd_timer_t;
   
 /***************************** Timer Facilities *******************************/  /***************************** Timer Facilities *******************************/
 timeout_t ahd_timeout;  timeout_t ahd_timeout;
#if __FreeBSD_version >= 500000#if defined(__FreeBSD__) && __FreeBSD_version >= 500000
 #define ahd_timer_init(timer) callout_init(timer, /*mpsafe*/0)  #define ahd_timer_init(timer) callout_init(timer, /*mpsafe*/0)
 #else  #else
 #define ahd_timer_init callout_init  #define ahd_timer_init callout_init

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