Diff for /src/sys/dev/raid/amr/amr.c between versions 1.7 and 1.8

version 1.7, 2003/11/20 22:07:33 version 1.8, 2004/02/13 01:33:19
Line 207  amr_attach(struct amr_softc *sc) Line 207  amr_attach(struct amr_softc *sc)
     TAILQ_INIT(&sc->amr_ready);      TAILQ_INIT(&sc->amr_ready);
     bioq_init(&sc->amr_bioq);      bioq_init(&sc->amr_bioq);
   
#if __FreeBSD_version >= 500005#if defined(__FreeBSD__) && __FreeBSD_version >= 500005
     /*      /*
      * Initialise command-completion task.       * Initialise command-completion task.
      */       */
Line 1375  amr_done(struct amr_softc *sc) Line 1375  amr_done(struct amr_softc *sc)
         amr_startio(sc);          amr_startio(sc);
           
     /* handle completion and timeouts */      /* handle completion and timeouts */
#if __FreeBSD_version >= 500005#if defined(__FreeBSD__) && __FreeBSD_version >= 500005
     if (sc->amr_state & AMR_STATE_INTEN)       if (sc->amr_state & AMR_STATE_INTEN) 
         taskqueue_enqueue(taskqueue_swi, &sc->amr_task_complete);          taskqueue_enqueue(taskqueue_swi, &sc->amr_task_complete);
     else      else

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