Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Oct 2010 21:41:08 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r213871 - head/sys/dev/usb/controller
Message-ID:  <201010142141.o9ELf8gk038695@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



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