ehcireg.h (9ad4efa2) ehcireg.h (7a4d0cfe)
1/* $OpenBSD: ehcireg.h,v 1.12 2004/12/29 01:52:27 dlg Exp $ */
1/* $OpenBSD: ehcireg.h,v 1.13 2005/10/28 04:36:42 fgsch Exp $ */
2/* $NetBSD: ehcireg.h,v 1.17 2004/06/23 06:45:56 mycroft Exp $ */
3
4/*
5 * Copyright (c) 2001 The NetBSD Foundation, Inc.
6 * All rights reserved.
7 *
8 * This code is derived from software contributed to The NetBSD Foundation
9 * by Lennart Augustsson (lennart@augustsson.net).

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

65#define PCI_EHCI_PORTWAKECAP 0x62 /* RW Port wake caps (opt) */
66
67/* EHCI Extended Capabilities */
68#define EHCI_EC_LEGSUP 0x01
69
70#define EHCI_EECP_NEXT(x) (((x) >> 8) & 0xff)
71#define EHCI_EECP_ID(x) ((x) & 0xff)
72
2/* $NetBSD: ehcireg.h,v 1.17 2004/06/23 06:45:56 mycroft Exp $ */
3
4/*
5 * Copyright (c) 2001 The NetBSD Foundation, Inc.
6 * All rights reserved.
7 *
8 * This code is derived from software contributed to The NetBSD Foundation
9 * by Lennart Augustsson (lennart@augustsson.net).

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

65#define PCI_EHCI_PORTWAKECAP 0x62 /* RW Port wake caps (opt) */
66
67/* EHCI Extended Capabilities */
68#define EHCI_EC_LEGSUP 0x01
69
70#define EHCI_EECP_NEXT(x) (((x) >> 8) & 0xff)
71#define EHCI_EECP_ID(x) ((x) & 0xff)
72
73#define EHCI_LEGSUP_LEGSUP 0x01
73#define EHCI_LEGSUP_LEGSUP 0x00
74#define EHCI_LEGSUP_OSOWNED 0x01000000 /* OS owned semaphore */
75#define EHCI_LEGSUP_BIOSOWNED 0x00010000 /* BIOS owned semaphore */
76#define PCI_LEGSUP_USBLEGCTLSTS 0x04
77
78/*** EHCI capability registers ***/
79
80#define EHCI_CAPLENGTH 0x00 /*RO Capability register length field */
81/* reserved 0x01 */

--- 292 unchanged lines hidden ---
74#define EHCI_LEGSUP_OSOWNED 0x01000000 /* OS owned semaphore */
75#define EHCI_LEGSUP_BIOSOWNED 0x00010000 /* BIOS owned semaphore */
76#define PCI_LEGSUP_USBLEGCTLSTS 0x04
77
78/*** EHCI capability registers ***/
79
80#define EHCI_CAPLENGTH 0x00 /*RO Capability register length field */
81/* reserved 0x01 */

--- 292 unchanged lines hidden ---