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)
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to