Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/stand/lib Rework previous commit. Return non-...



details:   https://anonhg.NetBSD.org/src/rev/21a661067390
branches:  trunk
changeset: 762444:21a661067390
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Mon Feb 21 02:58:02 2011 +0000

description:
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.

diffstat:

 sys/arch/i386/stand/lib/biosdisk_ll.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5cf151fb33d1 -r 21a661067390 sys/arch/i386/stand/lib/biosdisk_ll.c
--- a/sys/arch/i386/stand/lib/biosdisk_ll.c     Mon Feb 21 02:35:55 2011 +0000
+++ b/sys/arch/i386/stand/lib/biosdisk_ll.c     Mon Feb 21 02:58:02 2011 +0000
@@ -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;
                }
        }
 



Home | Main Index | Thread Index | Old Index