Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/jdolecek-ncq]: src/sys/dev/ata defflag WD_CHAOS_MONKEY into opt_wd.h tog...
details: https://anonhg.NetBSD.org/src/rev/5ee9ed54a902
branches: jdolecek-ncq
changeset: 352709:5ee9ed54a902
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Wed Jul 19 19:46:52 2017 +0000
description:
defflag WD_CHAOS_MONKEY into opt_wd.h together with WD_SOFTBADSECT to set/unset
this more easily
diffstat:
sys/dev/ata/files.ata | 5 +++--
sys/dev/ata/wd.c | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diffs (40 lines):
diff -r acf628dccbcf -r 5ee9ed54a902 sys/dev/ata/files.ata
--- a/sys/dev/ata/files.ata Wed Jul 19 19:39:28 2017 +0000
+++ b/sys/dev/ata/files.ata Wed Jul 19 19:46:52 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.ata,v 1.24 2012/07/31 15:50:34 bouyer Exp $
+# $NetBSD: files.ata,v 1.24.28.1 2017/07/19 19:46:52 jdolecek Exp $
#
# Config file and device description for machine-independent devices
# which attach to ATA busses. Included by ports that need it. Ports
@@ -11,7 +11,8 @@
file dev/ata/wd.c wd needs-flag
file dev/ata/ata_wdc.c wd & atabus & wdc_common
-defflag WD_SOFTBADSECT
+defflag opt_wd.h WD_SOFTBADSECT
+defflag opt_wd.h WD_CHAOS_MONKEY
file dev/ata/ata.c (ata_hl | atapi) & atabus
diff -r acf628dccbcf -r 5ee9ed54a902 sys/dev/ata/wd.c
--- a/sys/dev/ata/wd.c Wed Jul 19 19:39:28 2017 +0000
+++ b/sys/dev/ata/wd.c Wed Jul 19 19:46:52 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wd.c,v 1.428.2.26 2017/07/19 19:39:28 jdolecek Exp $ */
+/* $NetBSD: wd.c,v 1.428.2.27 2017/07/19 19:46:52 jdolecek Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved.
@@ -54,9 +54,10 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.428.2.26 2017/07/19 19:39:28 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.428.2.27 2017/07/19 19:46:52 jdolecek Exp $");
#include "opt_ata.h"
+#include "opt_wd.h"
#include <sys/param.h>
#include <sys/systm.h>
Home |
Main Index |
Thread Index |
Old Index