summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-05-11 21:30:46 +0000
committerjake <jake@FreeBSD.org>2002-05-11 21:30:46 +0000
commit9b110cfade29b1b5f79ac073d1939f8dde64487e (patch)
tree3551ce2d663f550e5e46c4d08dc37d4ecf43af6b /sys/boot/i386
parent6aad34df02289444642787c1282319835d8defa7 (diff)
downloadFreeBSD-src-9b110cfade29b1b5f79ac073d1939f8dde64487e.zip
FreeBSD-src-9b110cfade29b1b5f79ac073d1939f8dde64487e.tar.gz
Change the disk probing so that it will actually find disks other
than the first one on a controller, and work for secondary controllers. Due to the prom not having nodes for each disk, but a catch-all one, we have to iterate over each device, trying to open it to determine whether it is actually present. Since probing this way takese some time (and spews some spurious warnings), it should maybe be short-circuited if we use the device we were booted from. Implement lazy device probing, and correct slice/partiniton handling in the ofwd_open() code. With this, I can now actually boot a kernel from disk, and the loader does not create unnecessary delays. Submitted by: tmm
Diffstat (limited to 'sys/boot/i386')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud