cvs commit: src/sys/cam/scsi scsi_cd.c scsi_da.c

Kenneth D. Merry ken at
Wed Mar 26 04:38:43 PST 2003

ken         2003/03/25 20:38:39 PST

  FreeBSD src repository

  Modified files:
    sys/cam/scsi         scsi_cd.c scsi_da.c 
  Clean up dynamically allocated sysctl variables when we run dacleanup() and
  cdcleanup().  This fixes sysctl problems ("can't re-use a leaf") when
  someone adds another peripheral at the same unit number.  (e.g. rescan da0,
  it goes away, then rescan again and da0 comes back, but since we haven't
  cleaned up the sysctl variables from the last da0 instance, we can't
  register the variables for the new instance under the same name.)
  Reported by:    njl
  Tested by:      njl
  Revision  Changes    Path
  1.77      +6 -0      src/sys/cam/scsi/scsi_cd.c
  1.135     +8 -0      src/sys/cam/scsi/scsi_da.c

More information about the cvs-src mailing list