LibXenon
Bare-metal Xbox 360 homebrew library
Loading...
Searching...
No Matches
dummy.c
Go to the documentation of this file.
1/* *********************************************************************
2 * Broadcom Common Firmware Environment (CFE)
3 *
4 * Dummy Driver File: dummy.c
5 *
6 *********************************************************************
7 *
8 * Copyright 2000,2001,2002,2003,2005
9 * Broadcom Corporation. All rights reserved.
10 *
11 * This software is furnished under license and may be used and
12 * copied only in accordance with the following terms and
13 * conditions. Subject to these conditions, you may download,
14 * copy, install, use, modify and distribute modified or unmodified
15 * copies of this software in source and/or binary form. No title
16 * or ownership is transferred hereby.
17 *
18 * 1) Any source code used, modified or distributed must reproduce
19 * and retain this copyright notice and list of conditions
20 * as they appear in the source file.
21 *
22 * 2) No right is granted to use any trade name, trademark, or
23 * logo of Broadcom Corporation. The "Broadcom Corporation"
24 * name may not be used to endorse or promote products derived
25 * from this software without the prior written permission of
26 * Broadcom Corporation.
27 *
28 * 3) THIS SOFTWARE IS PROVIDED "AS-IS" AND ANY EXPRESS OR
29 * IMPLIED WARRANTIES, INCLUDING BUT NOT LIMITED TO, ANY IMPLIED
30 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
31 * PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT
32 * SHALL BROADCOM BE LIABLE FOR ANY DAMAGES WHATSOEVER, AND IN
33 * PARTICULAR, BROADCOM SHALL NOT BE LIABLE FOR DIRECT, INDIRECT,
34 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
35 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
36 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
37 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
38 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
39 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE), EVEN IF ADVISED OF
40 * THE POSSIBILITY OF SUCH DAMAGE.
41 ********************************************************************* */
42
43#include <input/input.h>
44#include "cfe.h"
45
46
47#include "usbchap9.h"
48#include "usbd.h"
49
50static int dummy_attach(usbdev_t *dev,usb_driver_t *drv);
51static int dummy_detach(usbdev_t *dev);
52
54 "Dummy driver",
55 dummy_attach,
56 dummy_detach
57};
58
59static int dummy_attach(usbdev_t *dev,usb_driver_t *drv)
60{
61 return 0;
62}
63
64static int dummy_detach(usbdev_t *dev)
65{
66 return 0;
67}
68
usb_driver_t dummy_driver
Definition: dummy.c:53
Definition: usbd.h:141