Deleted Added
full compact
uhci.h (188942) uhci.h (190174)
1/* $FreeBSD: head/sys/dev/usb/controller/uhci.h 188942 2009-02-23 18:31:00Z thompsa $ */
1/* $FreeBSD: head/sys/dev/usb/controller/uhci.h 190174 2009-03-20 19:04:31Z thompsa $ */
2/*-
3 * Copyright (c) 1998 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) at
8 * Carlstedt Research & Technology.
9 *

--- 24 unchanged lines hidden (view full) ---

34 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 * POSSIBILITY OF SUCH DAMAGE.
37 */
38
39#ifndef _UHCI_H_
40#define _UHCI_H_
41
2/*-
3 * Copyright (c) 1998 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) at
8 * Carlstedt Research & Technology.
9 *

--- 24 unchanged lines hidden (view full) ---

34 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 * POSSIBILITY OF SUCH DAMAGE.
37 */
38
39#ifndef _UHCI_H_
40#define _UHCI_H_
41
42#define UHCI_MAX_DEVICES USB_MAX_DEVICES
42#define UHCI_MAX_DEVICES MIN(USB_MAX_DEVICES, 128)
43
44/* PCI config registers */
45#define PCI_USBREV 0x60 /* USB protocol revision */
46#define PCI_USB_REV_MASK 0xff
47#define PCI_USB_REV_PRE_1_0 0x00
48#define PCI_USB_REV_1_0 0x10
49#define PCI_USB_REV_1_1 0x11
50#define PCI_LEGSUP 0xc0 /* Legacy Support register */

--- 271 unchanged lines hidden ---
43
44/* PCI config registers */
45#define PCI_USBREV 0x60 /* USB protocol revision */
46#define PCI_USB_REV_MASK 0xff
47#define PCI_USB_REV_PRE_1_0 0x00
48#define PCI_USB_REV_1_0 0x10
49#define PCI_USB_REV_1_1 0x11
50#define PCI_LEGSUP 0xc0 /* Legacy Support register */

--- 271 unchanged lines hidden ---