Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Nov 2008 06:37:59 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r184584 - head/sys/dev/cardbus
Message-ID:  <200811030637.mA36bxRR058960@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Mon Nov  3 06:37:59 2008
New Revision: 184584
URL: http://svn.freebsd.org/changeset/base/184584

Log:
  Turns out this isn't even used at all...  The bogon that I was tracing was
  in code from my p4 tree, not -current.  Delete it here.

Modified:
  head/sys/dev/cardbus/cardbusreg.h

Modified: head/sys/dev/cardbus/cardbusreg.h
==============================================================================
--- head/sys/dev/cardbus/cardbusreg.h	Mon Nov  3 06:26:26 2008	(r184583)
+++ head/sys/dev/cardbus/cardbusreg.h	Mon Nov  3 06:37:59 2008	(r184584)
@@ -44,9 +44,3 @@
 #define	CARDBUS_EXROM_DATA_DATA_REV	0x12 /* Revision Level of Code/Data */
 #define	CARDBUS_EXROM_DATA_CODE_TYPE	0x14 /* Code Type */
 #define	CARDBUS_EXROM_DATA_INDICATOR	0x15 /* Indicator */
-
-#define	CARDBUS_MAPREG_MEM_ADDR_MASK	0xfffffff0
-#define	CARDBUS_MAPREG_MEM_ADDR(mr)					\
-	((mr) & CARDBUS_MAPREG_MEM_ADDR_MASK)
-#define	CARDBUS_MAPREG_MEM_SIZE(mr)					\
-	(CARDBUS_MAPREG_MEM_ADDR(mr) & (~CARDBUS_MAPREG_MEM_ADDR(mr) + 1))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811030637.mA36bxRR058960>