Update MAKEDEV for acd* and cd* devices, the kernel now manages the
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 3 Jun 2007 03:44:17 +0000 (03:44 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 3 Jun 2007 03:44:17 +0000 (03:44 +0000)
commit0df519f235098f0848e5e38564e797d704c43508
tree06c0026912187d2a3bdca36e43115ab98b4a5447
parentfb013651abab9bd09ccfd44d1fe265ea8cf4db5d
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).
etc/MAKEDEV
sys/bus/cam/scsi/scsi_cd.c
sys/dev/disk/ata/atapi-cd.c
sys/dev/disk/nata/atapi-cd.c
sys/dev/disk/nata/atapi-cd.h