From owner-svn-src-all@FreeBSD.ORG Mon Nov 3 06:38:00 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B6EC10656A6; Mon, 3 Nov 2008 06:38:00 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id EE5E58FC4B; Mon, 3 Nov 2008 06:37:59 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mA36bxHl058961; Mon, 3 Nov 2008 06:37:59 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mA36bxRR058960; Mon, 3 Nov 2008 06:37:59 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <200811030637.mA36bxRR058960@svn.freebsd.org> From: Warner Losh Date: Mon, 3 Nov 2008 06:37:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184584 - head/sys/dev/cardbus X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2008 06:38:00 -0000 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))