cvs commit: src/etc MAKEDEV src/sys/dev/disk/nata atapi-cd.c atapi-cd.h src/sys/dev/disk/ata atapi-cd.c src/sys/bus/cam/scsi scsi_cd.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Jun 2 20:45:32 PDT 2007
dillon 2007/06/02 20:44:17 PDT
DragonFly src repository
Modified files:
etc MAKEDEV
sys/dev/disk/nata atapi-cd.c atapi-cd.h
sys/dev/disk/ata atapi-cd.c
sys/bus/cam/scsi scsi_cd.c
Log:
Update MAKEDEV for acd* and cd* devices, the kernel now manages the
disk layer for these devices. Users have to regenerate their acd and cd
devices.
Create e.g. /dev/cd0 and /dev/acd0 as special raw access devices and
create e.g. /dev/cd0s0 and /dev/acd0s0 for label access. This fixes
burncd on acd0 by allowing it to bypass the disk management layer entirely,
including bypassing the disk size checks in dscheck().
Implement the disk layer for NATA CD devices so it matches the ATA driver.
Tell CAM to create a compatibility 'a' slice for CDs (it wasn't before).
Revision Changes Path
1.33 +16 -47 src/etc/MAKEDEV
1.6 +52 -11 src/sys/dev/disk/nata/atapi-cd.c
1.2 +1 -0 src/sys/dev/disk/nata/atapi-cd.h
1.36 +6 -7 src/sys/dev/disk/ata/atapi-cd.c
1.31 +3 -3 src/sys/bus/cam/scsi/scsi_cd.c
http://www.dragonflybsd.org/cvsweb/src/etc/MAKEDEV.diff?r1=1.32&r2=1.33&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/nata/atapi-cd.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/nata/atapi-cd.h.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/atapi-cd.c.diff?r1=1.35&r2=1.36&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_cd.c.diff?r1=1.30&r2=1.31&f=u
More information about the Commits
mailing list