Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Add another missing ch_ndrive initialization.
details: https://anonhg.NetBSD.org/src/rev/a5931aecdf5f
branches: trunk
changeset: 588096:a5931aecdf5f
user: bouyer <bouyer%NetBSD.org@localhost>
date: Tue Feb 07 20:37:24 2006 +0000
description:
Add another missing ch_ndrive initialization.
diffstat:
sys/dev/pci/cmdide.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 44a454f80086 -r a5931aecdf5f sys/dev/pci/cmdide.c
--- a/sys/dev/pci/cmdide.c Tue Feb 07 20:23:41 2006 +0000
+++ b/sys/dev/pci/cmdide.c Tue Feb 07 20:37:24 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cmdide.c,v 1.22 2006/01/17 00:40:49 bouyer Exp $ */
+/* $NetBSD: cmdide.c,v 1.23 2006/02/07 20:37:24 bouyer Exp $ */
/*
* Copyright (c) 1999, 2000, 2001 Manuel Bouyer.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cmdide.c,v 1.22 2006/01/17 00:40:49 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cmdide.c,v 1.23 2006/02/07 20:37:24 bouyer Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -529,6 +529,7 @@
sc->sc_wdcdev.sc_atac.atac_dev.dv_xname, cp->name);
return;
}
+ cp->ata_channel.ch_ndrive = 2;
/* XXX */
reg = 0xa2 + channel * 16;
Home |
Main Index |
Thread Index |
Old Index