Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sandpoint/stand/netboot move set_xfermode() call to...



details:   https://anonhg.NetBSD.org/src/rev/dfd3561501d5
branches:  trunk
changeset: 760691:dfd3561501d5
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Tue Jan 11 07:01:21 2011 +0000

description:
move set_xfermode() call to set PIO0 before the initial drive
identification.

diffstat:

 sys/arch/sandpoint/stand/netboot/dsk.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r af6705050d79 -r dfd3561501d5 sys/arch/sandpoint/stand/netboot/dsk.c
--- a/sys/arch/sandpoint/stand/netboot/dsk.c    Tue Jan 11 06:57:35 2011 +0000
+++ b/sys/arch/sandpoint/stand/netboot/dsk.c    Tue Jan 11 07:01:21 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dsk.c,v 1.6 2011/01/10 20:18:19 phx Exp $ */
+/* $NetBSD: dsk.c,v 1.7 2011/01/11 07:01:21 nisimura Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -127,9 +127,9 @@
                d->dvops = l;
                d->unittag = ndrive;
                snprintf(d->xname, sizeof(d->xname), "wd%d", d->unittag);
+               set_xfermode(l, n);
                drive_ident(d, l->iobuf);
                decode_dlabel(d, l->iobuf);
-               set_xfermode(l, n);
                ndrive += 1;
        }
        return ndrive;



Home | Main Index | Thread Index | Old Index