Deleted Added
full compact
ohci.h (188942) ohci.h (190174)
1/* $FreeBSD: head/sys/dev/usb/controller/ohci.h 188942 2009-02-23 18:31:00Z thompsa $ */
1/* $FreeBSD: head/sys/dev/usb/controller/ohci.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 _OHCI_H_
40#define _OHCI_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 _OHCI_H_
40#define _OHCI_H_
41
42#define OHCI_MAX_DEVICES USB_MAX_DEVICES
42#define OHCI_MAX_DEVICES MIN(USB_MAX_DEVICES, 128)
43
44/* PCI config registers */
45#define PCI_CBMEM 0x10 /* configuration base memory */
46#define PCI_INTERFACE_OHCI 0x10
47
48/* OHCI registers */
49#define OHCI_REVISION 0x00 /* OHCI revision */
50#define OHCI_REV_LO(rev) ((rev) & 0xf)

--- 316 unchanged lines hidden ---
43
44/* PCI config registers */
45#define PCI_CBMEM 0x10 /* configuration base memory */
46#define PCI_INTERFACE_OHCI 0x10
47
48/* OHCI registers */
49#define OHCI_REVISION 0x00 /* OHCI revision */
50#define OHCI_REV_LO(rev) ((rev) & 0xf)

--- 316 unchanged lines hidden ---