ehci.h (189496) | ehci.h (190174) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/controller/ehci.h 189496 2009-03-07 19:49:47Z thompsa $ */ | 1/* $FreeBSD: head/sys/dev/usb/controller/ehci.h 190174 2009-03-20 19:04:31Z thompsa $ */ |
2/*- 3 * Copyright (c) 2001 The NetBSD Foundation, Inc. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to The NetBSD Foundation 7 * by Lennart Augustsson (lennart@augustsson.net). 8 * 9 * Redistribution and use in source and binary forms, with or without --- 23 unchanged lines hidden (view full) --- 33 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 35 * POSSIBILITY OF SUCH DAMAGE. 36 */ 37 38#ifndef _EHCI_H_ 39#define _EHCI_H_ 40 | 2/*- 3 * Copyright (c) 2001 The NetBSD Foundation, Inc. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to The NetBSD Foundation 7 * by Lennart Augustsson (lennart@augustsson.net). 8 * 9 * Redistribution and use in source and binary forms, with or without --- 23 unchanged lines hidden (view full) --- 33 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 35 * POSSIBILITY OF SUCH DAMAGE. 36 */ 37 38#ifndef _EHCI_H_ 39#define _EHCI_H_ 40 |
41#define EHCI_MAX_DEVICES USB_MAX_DEVICES | 41#define EHCI_MAX_DEVICES MIN(USB_MAX_DEVICES, 128) |
42 43/* PCI config registers */ 44#define PCI_CBMEM 0x10 /* configuration base MEM */ 45#define PCI_INTERFACE_EHCI 0x20 46#define PCI_USBREV 0x60 /* RO USB protocol revision */ 47#define PCI_USB_REV_MASK 0xff 48#define PCI_USB_REV_PRE_1_0 0x00 49#define PCI_USB_REV_1_0 0x10 --- 542 unchanged lines hidden --- | 42 43/* PCI config registers */ 44#define PCI_CBMEM 0x10 /* configuration base MEM */ 45#define PCI_INTERFACE_EHCI 0x20 46#define PCI_USBREV 0x60 /* RO USB protocol revision */ 47#define PCI_USB_REV_MASK 0xff 48#define PCI_USB_REV_PRE_1_0 0x00 49#define PCI_USB_REV_1_0 0x10 --- 542 unchanged lines hidden --- |