uss820dci.c (f29a0724) uss820dci.c (9360ae40)
1/* $FreeBSD$ */
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky <hselasky@FreeBSD.org>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

57 ((uint8_t *)&(((struct uss820dci_softc *)0)->sc_bus))))
58
59#define USS820_DCI_PC2SC(pc) \
60 USS820_DCI_BUS2SC(USB_DMATAG_TO_XROOT((pc)->tag_parent)->bus)
61
62#if USB_DEBUG
63static int uss820dcidebug = 0;
64
1/* $FreeBSD$ */
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky <hselasky@FreeBSD.org>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

57 ((uint8_t *)&(((struct uss820dci_softc *)0)->sc_bus))))
58
59#define USS820_DCI_PC2SC(pc) \
60 USS820_DCI_BUS2SC(USB_DMATAG_TO_XROOT((pc)->tag_parent)->bus)
61
62#if USB_DEBUG
63static int uss820dcidebug = 0;
64
65SYSCTL_NODE(_hw_usb2, OID_AUTO, uss820dci, CTLFLAG_RW, 0, "USB uss820dci");
66SYSCTL_INT(_hw_usb2_uss820dci, OID_AUTO, debug, CTLFLAG_RW,
65SYSCTL_NODE(_hw_usb, OID_AUTO, uss820dci, CTLFLAG_RW, 0, "USB uss820dci");
66SYSCTL_INT(_hw_usb_uss820dci, OID_AUTO, debug, CTLFLAG_RW,
67 &uss820dcidebug, 0, "uss820dci debug level");
68#endif
69
70#define USS820_DCI_INTR_ENDPT 1
71
72/* prototypes */
73
74struct usb2_bus_methods uss820dci_bus_methods;

--- 2269 unchanged lines hidden ---
67 &uss820dcidebug, 0, "uss820dci debug level");
68#endif
69
70#define USS820_DCI_INTR_ENDPT 1
71
72/* prototypes */
73
74struct usb2_bus_methods uss820dci_bus_methods;

--- 2269 unchanged lines hidden ---