summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2003-12-19 05:16:57 +0000
committerthorpej <thorpej@NetBSD.org>2003-12-19 05:16:57 +0000
commitdeed3938a296eefeb547e25b314fd7fc61770015 (patch)
tree102aba7d4b5b7cfb1e2be2e3f60ee76b0d515635 /sys/dev
parent69e6f0aa338e78f330f810262cdab6cf4fdbcb3c (diff)
Move the PCIIDE_OPTIONS_* constants into pciidevar.h
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/pciide_common.c10
-rw-r--r--sys/dev/pci/pciidevar.h6
2 files changed, 7 insertions, 9 deletions
diff --git a/sys/dev/pci/pciide_common.c b/sys/dev/pci/pciide_common.c
index 2c8e0c78161..bdeaeb115af 100644
--- a/sys/dev/pci/pciide_common.c
+++ b/sys/dev/pci/pciide_common.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pciide_common.c,v 1.3 2003/11/27 23:02:40 fvdl Exp $ */
+/* $NetBSD: pciide_common.c,v 1.4 2003/12/19 05:16:57 thorpej Exp $ */
/*
@@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pciide_common.c,v 1.3 2003/11/27 23:02:40 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pciide_common.c,v 1.4 2003/12/19 05:16:57 thorpej Exp $");
#include <sys/param.h>
#include <sys/malloc.h>
@@ -98,12 +98,6 @@ int wdcdebug_pciide_mask = 0;
static const char dmaerrfmt[] =
"%s:%d: unable to %s table DMA map for drive %d, error=%d\n";
-
-
-/* options passed via the 'flags' config keyword */
-#define PCIIDE_OPTIONS_DMA 0x01
-#define PCIIDE_OPTIONS_NODMA 0x02
-
/* Default product description for devices not known from this controller */
const struct pciide_product_desc default_product_desc = {
0,
diff --git a/sys/dev/pci/pciidevar.h b/sys/dev/pci/pciidevar.h
index f77067a9789..c8e43286a7f 100644
--- a/sys/dev/pci/pciidevar.h
+++ b/sys/dev/pci/pciidevar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pciidevar.h,v 1.15 2003/12/17 21:08:29 thorpej Exp $ */
+/* $NetBSD: pciidevar.h,v 1.16 2003/12/19 05:16:57 thorpej Exp $ */
/*
* Copyright (c) 1998 Christopher G. Demetriou. All rights reserved.
@@ -41,6 +41,10 @@
#include <dev/ic/wdcvar.h>
#include "opt_pciide.h"
+/* options passed via the 'flags' config keyword */
+#define PCIIDE_OPTIONS_DMA 0x01
+#define PCIIDE_OPTIONS_NODMA 0x02
+
#ifndef WDCDEBUG
#define WDCDEBUG
#endif