I modified the biosdisk.c code as follows....

(first part of function)

for (unit=0;unit<nbdinfo;unit++)
        if (bdinfo[unit].bd_unit == initial_bootinfo->bi_bios_dev)
                break;
if ((unit == nbdinfo ) && (nbdinfo < MAXBDDEV) ) {
        unit=initial_bootinfo->bi_bios_dev;
        bdinfo[nbdinfo].bd_unit=unit;
        bdinfo[nbdinfo].bd_flags=(unit <0x80) ? BD_FLOPPY : 0;

        printf("Probiobing for bios disk 0x%02x\n", unit);
        /* I did that to make sure my code was being run*/
        if (!bd_int13probe(&bdinfo[nbdinfo]))
        return 0;

        printf ("BIOS drive %c is disk%d\n", ...);
        nbdinfo++;
 }
return 0;
} /*end of function */


With these mods it will not find the "0x8b" device, event though the "probing
got bios disk..." does indeed print.

Suggestions?

--
David Cross                               | email: [EMAIL PROTECTED] 
Systems Administrator/Research Programmer | Web: http://www.cs.rpi.edu/~crossd 
Rensselaer Polytechnic Institute,         | Ph: 518.276.2860            
Department of Computer Science            | Fax: 518.276.4033
I speak only for myself.                  | WinNT:Linux::Linux:FreeBSD


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to