Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mmeye/dev Remove unused macros.
details: https://anonhg.NetBSD.org/src/rev/2daba8716d11
branches: trunk
changeset: 761605:2daba8716d11
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Wed Feb 02 05:10:55 2011 +0000
description:
Remove unused macros.
diffstat:
sys/arch/mmeye/dev/mmeyepcmcia.c | 16 +++++-----------
1 files changed, 5 insertions(+), 11 deletions(-)
diffs (47 lines):
diff -r 6dd6cfa95873 -r 2daba8716d11 sys/arch/mmeye/dev/mmeyepcmcia.c
--- a/sys/arch/mmeye/dev/mmeyepcmcia.c Wed Feb 02 05:06:31 2011 +0000
+++ b/sys/arch/mmeye/dev/mmeyepcmcia.c Wed Feb 02 05:10:55 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mmeyepcmcia.c,v 1.17 2011/02/02 05:06:31 kiyohara Exp $ */
+/* $NetBSD: mmeyepcmcia.c,v 1.18 2011/02/02 05:10:55 kiyohara Exp $ */
/*
* Copyright (c) 1997 Marc Horowitz. All rights reserved.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mmeyepcmcia.c,v 1.17 2011/02/02 05:06:31 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mmeyepcmcia.c,v 1.18 2011/02/02 05:10:55 kiyohara Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -104,17 +104,12 @@
};
/* These four lines are MMTA specific */
-#define MMEYEPCMCIA_IRQ1 10
-#define MMEYEPCMCIA_IRQ2 9
-#define MMEYEPCMCIA_SLOT1_ADDR 0xb8000000
-#define MMEYEPCMCIA_SLOT2_ADDR 0xb9000000
-
-#define MMEYEPCMCIA_FLAG_SOCKETP 0x0001
#define MMEYEPCMCIA_FLAG_CARDP 0x0002
+#define MMEYEPCMCIA_FLAG_SOCKETP 0x0001
#define MMEYEPCMCIA_LASTSTATE_PRESENT 0x0002
-#define MMEYEPCMCIA_LASTSTATE_HALF 0x0001
-#define MMEYEPCMCIA_LASTSTATE_EMPTY 0x0000
+#define MMEYEPCMCIA_LASTSTATE_HALF 0x0001
+#define MMEYEPCMCIA_LASTSTATE_EMPTY 0x0000
/*
* This is sort of arbitrary. It merely needs to be "enough". It can be
@@ -122,7 +117,6 @@
*/
#define MMEYEPCMCIA_MEM_PAGES 4
-#define MMEYEPCMCIA_MEMSIZE MMEYEPCMCIA_MEM_PAGES*MMEYEPCMCIA_MEM_PAGESIZE
#define MMEYEPCMCIA_NSLOTS 1
Home |
Main Index |
Thread Index |
Old Index