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

version 1.6, 2004/03/12 03:23:19 version 1.7, 2004/03/15 02:27:56
Line 179  targopen(dev_t dev, int flags, int fmt, Line 179  targopen(dev_t dev, int flags, int fmt,
         make_dev(&targ_cdevsw, minor(dev), UID_ROOT, GID_WHEEL, 0600,          make_dev(&targ_cdevsw, minor(dev), UID_ROOT, GID_WHEEL, 0600,
                          "targ%d", lminor(dev));                           "targ%d", lminor(dev));
         MALLOC(softc, struct targ_softc *, sizeof(*softc), M_TARG,          MALLOC(softc, struct targ_softc *, sizeof(*softc), M_TARG,
               M_WAITOK | M_ZERO);               M_INTWAIT | M_ZERO);
         dev->si_drv1 = softc;          dev->si_drv1 = softc;
         softc->state = TARG_STATE_OPENED;          softc->state = TARG_STATE_OPENED;
         softc->periph = NULL;          softc->periph = NULL;

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