From owner-svn-src-all@FreeBSD.ORG Thu Oct 14 21:41:08 2010 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 D518D106564A; Thu, 14 Oct 2010 21:41:08 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C38AC8FC1A; Thu, 14 Oct 2010 21:41:08 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o9ELf817038698; Thu, 14 Oct 2010 21:41:08 GMT (envelope-from hselasky@svn.freebsd.org) Received: (from hselasky@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o9ELf8gk038695; Thu, 14 Oct 2010 21:41:08 GMT (envelope-from hselasky@svn.freebsd.org) Message-Id: <201010142141.o9ELf8gk038695@svn.freebsd.org> From: Hans Petter Selasky Date: Thu, 14 Oct 2010 21:41:08 +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: r213871 - head/sys/dev/usb/controller 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: Thu, 14 Oct 2010 21:41:08 -0000 Author: hselasky Date: Thu Oct 14 21:41:08 2010 New Revision: 213871 URL: http://svn.freebsd.org/changeset/base/213871 Log: Remove unused EHCI register definition. Define reserved EHCI register. Approved by: thompsa (mentor) Modified: head/sys/dev/usb/controller/ehci_pci.c head/sys/dev/usb/controller/ehcireg.h Modified: head/sys/dev/usb/controller/ehci_pci.c ============================================================================== --- head/sys/dev/usb/controller/ehci_pci.c Thu Oct 14 21:38:20 2010 (r213870) +++ head/sys/dev/usb/controller/ehci_pci.c Thu Oct 14 21:41:08 2010 (r213871) @@ -93,8 +93,6 @@ __FBSDID("$FreeBSD$"); #define PCI_EHCI_VENDORID_NVIDIA2 0x10DE #define PCI_EHCI_VENDORID_VIA 0x1106 -#define PCI_EHCI_BASE_REG 0x10 - static void ehci_pci_takecontroller(device_t self); static device_probe_t ehci_pci_probe; Modified: head/sys/dev/usb/controller/ehcireg.h ============================================================================== --- head/sys/dev/usb/controller/ehcireg.h Thu Oct 14 21:38:20 2010 (r213870) +++ head/sys/dev/usb/controller/ehcireg.h Thu Oct 14 21:41:08 2010 (r213871) @@ -55,7 +55,7 @@ /* EHCI capability registers */ #define EHCI_CAPLENGTH 0x00 /* RO Capability register length field */ -/* reserved 0x01 */ +#define EHCI_RESERVED 0x01 /* Reserved register */ #define EHCI_HCIVERSION 0x02 /* RO Interface version number */ #define EHCI_HCSPARAMS 0x04 /* RO Structural parameters */ #define EHCI_HCS_DEBUGPORT(x) (((x) >> 20) & 0xf)