Module Name:    src
Committed By:   jakllsch
Date:           Mon Feb 21 02:58:03 UTC 2011

Modified Files:
        src/sys/arch/i386/stand/lib: biosdisk_ll.c

Log Message:
Rework previous commit.  Return non-zero instead of turning off
BIOSDISK_INT13EXT.  BIOSDISK_INT13EXT also enables LBA access mechanisms
that we really want to be using if at all possible.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/i386/stand/lib/biosdisk_ll.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/i386/stand/lib/biosdisk_ll.c
diff -u src/sys/arch/i386/stand/lib/biosdisk_ll.c:1.30 src/sys/arch/i386/stand/lib/biosdisk_ll.c:1.31
--- src/sys/arch/i386/stand/lib/biosdisk_ll.c:1.30	Mon Feb 21 00:43:19 2011
+++ src/sys/arch/i386/stand/lib/biosdisk_ll.c	Mon Feb 21 02:58:02 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: biosdisk_ll.c,v 1.30 2011/02/21 00:43:19 dyoung Exp $	 */
+/*	$NetBSD: biosdisk_ll.c,v 1.31 2011/02/21 02:58:02 jakllsch Exp $	 */
 
 /*-
  * Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -129,7 +129,7 @@
 		if (ed != NULL) {
 			ed->size = sizeof(*ed);
 			if (biosdisk_getextinfo(d->dev, ed) != 0)
-				d->flags &= ~BIOSDISK_INT13EXT;
+				return -1;
 		}
 	}
 

Reply via email to