summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libsa/diskprobe.c
diff options
context:
space:
mode:
authorTobias Weingartner <weingart@cvs.openbsd.org>1997-10-25 02:07:11 +0000
committerTobias Weingartner <weingart@cvs.openbsd.org>1997-10-25 02:07:11 +0000
commitd04712500a72b697b72d70932b1e3cf2a0e517af (patch)
tree43002c9fc7fef9098717b88e22cab42215b2d102 /sys/arch/i386/stand/libsa/diskprobe.c
parent74c14980d83a8c43424dc4879fd7a4f0a68910cb (diff)
Fix disk probe. Get rid of EDD check, it goes haywire on
some machines. Thinkpad 760ED is one of them. IBM/MS extention, and IBM does not support it. Nice. Add some more debug statements for BIOS_DEBUG. Init EDD flags to "not supported" for now. Change 'machine memory' back to display the type of each range it displays. Testing by todd@ (thanks).
Diffstat (limited to 'sys/arch/i386/stand/libsa/diskprobe.c')
-rw-r--r--sys/arch/i386/stand/libsa/diskprobe.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/i386/stand/libsa/diskprobe.c b/sys/arch/i386/stand/libsa/diskprobe.c
index 317ca36f348..874cdf14086 100644
--- a/sys/arch/i386/stand/libsa/diskprobe.c
+++ b/sys/arch/i386/stand/libsa/diskprobe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diskprobe.c,v 1.6 1997/10/24 22:22:57 mickey Exp $ */
+/* $OpenBSD: diskprobe.c,v 1.7 1997/10/25 02:07:10 weingart Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -78,6 +78,10 @@ diskprobe()
i++;
}
+#ifdef BIOS_DEBUG
+ printf("/");
+#endif
+
/* Hard disks */
for(drive = 0x80; drive < 0x88; drive++) {
rv = bios_getinfo(drive, &bios_diskinfo[i]);