diff options
author | phk <phk@FreeBSD.org> | 2000-06-15 20:30:53 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-06-15 20:30:53 +0000 |
commit | b54e59b4798af58f5f24df6660f6266e2427f4f0 (patch) | |
tree | 74a118e8bb0a9078715914b46d7c077d2dd58f91 /sys/amd64/amd64/autoconf.c | |
parent | b598f843e4c71a9589f484f61768d6e37be9520a (diff) | |
download | FreeBSD-src-b54e59b4798af58f5f24df6660f6266e2427f4f0.zip FreeBSD-src-b54e59b4798af58f5f24df6660f6266e2427f4f0.tar.gz |
Add disk_enumerate() for finding names of disks. Vinum and libh will
need this RSN.
Remove a pointless warning in the root device locating code.
Remove the "wd" compatibility name from the "ad" driver.
WARNING: If you have not updated to use /dev/wd* in your /etc/fstab
and modern bootblocks, it would be a very good idea to do so BEFORE
you upgrade your kernel.
Diffstat (limited to 'sys/amd64/amd64/autoconf.c')
-rw-r--r-- | sys/amd64/amd64/autoconf.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/amd64/amd64/autoconf.c b/sys/amd64/amd64/autoconf.c index 46f35c4..61d0abb 100644 --- a/sys/amd64/amd64/autoconf.c +++ b/sys/amd64/amd64/autoconf.c @@ -276,10 +276,8 @@ setroot() } majdev = B_TYPE(bootdev); dev = makebdev(majdev, 0); - if (devsw(dev) == NULL) { - printf("no devsw (majdev=%d bootdev=%#lx)\n", majdev, bootdev); + if (devsw(dev) == NULL) return; - } unit = B_UNIT(bootdev); slice = B_SLICE(bootdev); if (slice == WHOLE_DISK_SLICE) |