sparc: fix partition probe, try two partitions
commit80a5bb59a223d41126f32f5ccff2c4ea3ce10782
authorblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Mon, 9 Aug 2010 19:21:22 +0000 (9 19:21 +0000)
committerblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Mon, 9 Aug 2010 19:21:22 +0000 (9 19:21 +0000)
treea9d1f586ce9468f6b7262e96efa0f9ba84b032a3
parent11e4758d798d8f370bef539b0756247e402d952b
sparc: fix partition probe, try two partitions

If the size of the partition currently being probed is zero,
fail the probe. This lets Forth code try the next candidate from
boot-device list.

Add explicit ':d' (Sparc32, 'f' for Sparc64) partition to
CDROM probe list, so we can remove the ugly forced partition logic.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@846 f158a5a8-5612-0410-a976-696ce0be7e32
arch/sparc32/openbios.c
arch/sparc64/openbios.c
packages/sun-parts.c