From owner-freebsd-current Mon Aug 16 20:57:19 1999 Delivered-To: freebsd-current@freebsd.org Received: from cs.rpi.edu (mumble.cs.rpi.edu [128.213.8.16]) by hub.freebsd.org (Postfix) with ESMTP id 1FA0F14E10 for ; Mon, 16 Aug 1999 20:57:14 -0700 (PDT) (envelope-from crossd@cs.rpi.edu) Received: from cs.rpi.edu (monica.cs.rpi.edu [128.213.7.2]) by cs.rpi.edu (8.9.3/8.9.3) with ESMTP id XAA44730; Mon, 16 Aug 1999 23:56:24 -0400 (EDT) Message-Id: <199908170356.XAA44730@cs.rpi.edu> To: Mike Smith Cc: Tom Bartol , "David E. Cross" , current@FreeBSD.ORG, crossd@cs.rpi.edu Subject: Re: yet more TP 600E fun... In-Reply-To: Message from Mike Smith of "Fri, 13 Aug 1999 22:02:58 PDT." <199908140502.WAA00524@dingo.cdrom.com> Date: Mon, 16 Aug 1999 23:56:24 -0400 From: "David E. Cross" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I modified the biosdisk.c code as follows.... (first part of function) for (unit=0;unitbi_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