Date: Mon, 16 Aug 1999 23:56:24 -0400 From: "David E. Cross" <crossd@cs.rpi.edu> To: Mike Smith <mike@smith.net.au> Cc: Tom Bartol <bartol@salk.edu>, "David E. Cross" <crossd@cs.rpi.edu>, current@FreeBSD.ORG, crossd@cs.rpi.edu Subject: Re: yet more TP 600E fun... Message-ID: <199908170356.XAA44730@cs.rpi.edu> In-Reply-To: Message from Mike Smith <mike@smith.net.au> of "Fri, 13 Aug 1999 22:02:58 PDT." <199908140502.WAA00524@dingo.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: crossd@cs.rpi.edu 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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908170356.XAA44730>