Provides discontinuous unit number support to make external FDD
bootable on 1 FDD PC98 machines. (When an external FDD unit is installed, unit numbers become discontinuous.) Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
This commit is contained in:
parent
85486998be
commit
13e87d2d60
@ -23,7 +23,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: biosdisk.c,v 1.2 1999/03/04 10:48:14 kato Exp $
|
||||
* $Id: biosdisk.c,v 1.3 1999/03/04 16:38:12 kato Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -174,7 +174,8 @@ bd_init(void)
|
||||
|
||||
/* XXX add EDD probes */
|
||||
if (!bd_int13probe(&bdinfo[nbdinfo])){
|
||||
if ((unit & 0xf0) == 0xa0 && (unit & 0x0f) < 6)
|
||||
if (((unit & 0xf0) == 0x90 && (unit & 0x0f) < 4) ||
|
||||
((unit & 0xf0) == 0xa0 && (unit & 0x0f) < 6))
|
||||
continue; /* Target IDs are not contiguous. */
|
||||
else
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user