summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatusita <matusita@FreeBSD.org>2002-03-30 16:59:06 +0000
committermatusita <matusita@FreeBSD.org>2002-03-30 16:59:06 +0000
commit02ab2c827dc5bab7d906f77bfdbb34f353f214aa (patch)
treea8f00eebfc5e0ca28f601a08a9ceeb3226c4cccc
parent23978f436eb867d1acc3e95199e5112904cff76d (diff)
downloadFreeBSD-src-02ab2c827dc5bab7d906f77bfdbb34f353f214aa.zip
FreeBSD-src-02ab2c827dc5bab7d906f77bfdbb34f353f214aa.tar.gz
Fix /dev/acdNc minor device number. This bug prevents installing FreeBSD
from CD-ROM in 4-stable. Note that in 5-current, we use devfs so this change (hopefully) shouldn't change anything. I'll MFC to 4-stable later. Tested with: FreeBSD/i386, 4.5-STABLE-20020330-JPSNAP
-rw-r--r--usr.sbin/sade/devices.c2
-rw-r--r--usr.sbin/sysinstall/devices.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sade/devices.c b/usr.sbin/sade/devices.c
index ed45028..2e7b2aa 100644
--- a/usr.sbin/sade/devices.c
+++ b/usr.sbin/sade/devices.c
@@ -67,7 +67,7 @@ static struct _devname {
#ifdef notdef
{ DEVICE_TYPE_CDROM, "matcd%da", "Matsushita CDROM ('sound blaster' type)", 46, 0, 8, 4 },
#endif
- { DEVICE_TYPE_CDROM, "acd%dc", "ATAPI/IDE CDROM", 117, 2, 8, 4 },
+ { DEVICE_TYPE_CDROM, "acd%dc", "ATAPI/IDE CDROM", 117, 0, 8, 4 },
{ DEVICE_TYPE_TAPE, "rsa%d", "SCSI tape drive", 14, 0, 16, 4 },
{ DEVICE_TYPE_TAPE, "rwt%d", "Wangtek tape drive", 10, 0, 1, 4 },
{ DEVICE_TYPE_DISK, "da%d", "SCSI disk device", 13, 65538, 8, 16 },
diff --git a/usr.sbin/sysinstall/devices.c b/usr.sbin/sysinstall/devices.c
index ed45028..2e7b2aa 100644
--- a/usr.sbin/sysinstall/devices.c
+++ b/usr.sbin/sysinstall/devices.c
@@ -67,7 +67,7 @@ static struct _devname {
#ifdef notdef
{ DEVICE_TYPE_CDROM, "matcd%da", "Matsushita CDROM ('sound blaster' type)", 46, 0, 8, 4 },
#endif
- { DEVICE_TYPE_CDROM, "acd%dc", "ATAPI/IDE CDROM", 117, 2, 8, 4 },
+ { DEVICE_TYPE_CDROM, "acd%dc", "ATAPI/IDE CDROM", 117, 0, 8, 4 },
{ DEVICE_TYPE_TAPE, "rsa%d", "SCSI tape drive", 14, 0, 16, 4 },
{ DEVICE_TYPE_TAPE, "rwt%d", "Wangtek tape drive", 10, 0, 1, 4 },
{ DEVICE_TYPE_DISK, "da%d", "SCSI disk device", 13, 65538, 8, 16 },
OpenPOWER on IntegriCloud