Update MAKEDEV for acd* and cd* devices, the kernel now manages the
commite8ebeaeec19eda43ca7dd9d4189108458efd77c4
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 3 Jun 2007 03:44:17 +0000 (3 03:44 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 3 Jun 2007 03:44:17 +0000 (3 03:44 +0000)
treea3e2d45a9523aa0d8016a54ebd720d6370a57bae
parenta74f2ccad54466eb95f72007d3bc006a560f6e4a
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