Module Name: src
Committed By: nisimura
Date: Tue Jan 11 07:01:22 UTC 2011
Modified Files:
src/sys/arch/sandpoint/stand/netboot: dsk.c
Log Message:
move set_xfermode() call to set PIO0 before the initial drive
identification.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/sandpoint/stand/netboot/dsk.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/sandpoint/stand/netboot/dsk.c
diff -u src/sys/arch/sandpoint/stand/netboot/dsk.c:1.6 src/sys/arch/sandpoint/stand/netboot/dsk.c:1.7
--- src/sys/arch/sandpoint/stand/netboot/dsk.c:1.6 Mon Jan 10 20:18:19 2011
+++ src/sys/arch/sandpoint/stand/netboot/dsk.c Tue Jan 11 07:01:21 2011
@@ -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;