Diff for /src/sys/dev/raid/mly/mlyvar.h between versions 1.2 and 1.3

version 1.2, 2003/06/17 04:28:28 version 1.3, 2004/02/13 01:33:19
Line 25 Line 25
  * SUCH DAMAGE.   * SUCH DAMAGE.
  *   *
  *      $FreeBSD: src/sys/dev/mly/mlyvar.h,v 1.1.2.2 2001/03/05 20:17:24 msmith Exp $   *      $FreeBSD: src/sys/dev/mly/mlyvar.h,v 1.1.2.2 2001/03/05 20:17:24 msmith Exp $
 *      $DragonFly: src/sys/dev/mly/mlyvar.h,v 1.1 2003/06/16 06:06:12 dillon Exp $ *      $DragonFly$
  */   */
   
 /********************************************************************************  /********************************************************************************
Line 53 Line 53
  ********************************************************************************   ********************************************************************************
  ********************************************************************************/   ********************************************************************************/
   
#if __FreeBSD_version >= 500005#if defined(__FreeBSD__) && __FreeBSD_version >= 500005
 # include <sys/taskqueue.h>  # include <sys/taskqueue.h>
 #endif  #endif
   
#if __FreeBSD_version <= 500014#if defined(__DragonFly__) || __FreeBSD_version <= 500014
 # include <machine/clock.h>  # include <machine/clock.h>
 # undef offsetof  # undef offsetof
 # define offsetof(type, field) ((size_t)(&((type *)0)->field))  # define offsetof(type, field) ((size_t)(&((type *)0)->field))
Line 225  struct mly_softc { Line 225  struct mly_softc {
     struct cam_sim              *mly_cam_sim[MLY_MAX_CHANNELS];      struct cam_sim              *mly_cam_sim[MLY_MAX_CHANNELS];
     int                         mly_cam_lowbus;      int                         mly_cam_lowbus;
   
#if __FreeBSD_version >= 500005#if defined(__FreeBSD__) && __FreeBSD_version >= 500005
     /* command-completion task */      /* command-completion task */
     struct task         mly_task_complete;      /* deferred-completion task */      struct task         mly_task_complete;      /* deferred-completion task */
 #endif  #endif

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