git: DEVFS - Call disk_setdiskinfo() for SCSI/ATAPI CDs.

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Aug 16 23:34:59 PDT 2009


commit 875e332672b006d661a3d65356b21ceda93b0fa3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Aug 16 23:31:23 2009 -0700

    DEVFS - Call disk_setdiskinfo() for SCSI/ATAPI CDs.
    
    * When a CD drive is registered we need to call disk_setdiskinfo()
      after the initial probe whether a CD is in the drive or not
      before the disk subsystem will allow userland to open the device.

Summary of changes:
 sys/bus/cam/scsi/scsi_cd.c |   57 ++++++++++++++++++++++++-------------------
 1 files changed, 32 insertions(+), 25 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/875e332672b006d661a3d65356b21ceda93b0fa3


-- 
DragonFly BSD source repository





More information about the Commits mailing list