LibXenon
Bare-metal Xbox 360 homebrew library
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Functions | Variables
usbeth.c File Reference
#include "cfe.h"
#include "usbd.h"
#include "usbeth.h"
Include dependency graph for usbeth.c:

Go to the source code of this file.

Data Structures

struct  usbeth_unit_s
 

Macros

#define USBETH_MAXUNITS   4
 

Typedefs

typedef struct usbeth_unit_s usbeth_unit_t
 

Functions

int usbeth_register (usbeth_disp_t *disp, void *softc)
 
void usbeth_unregister (void *softc)
 

Variables

const cfe_driver_t usb_ether
 

Macro Definition Documentation

◆ USBETH_MAXUNITS

#define USBETH_MAXUNITS   4

Definition at line 75 of file usbeth.c.

Typedef Documentation

◆ usbeth_unit_t

typedef struct usbeth_unit_s usbeth_unit_t

Function Documentation

◆ usbeth_register()

int usbeth_register ( usbeth_disp_t disp,
void *  softc 
)

Definition at line 78 of file usbeth.c.

◆ usbeth_unregister()

void usbeth_unregister ( void *  softc)

Definition at line 97 of file usbeth.c.

Variable Documentation

◆ usb_ether

const cfe_driver_t usb_ether
Initial value:
=
{
"USB-Ethernet Device",
"eth",
CFE_DEV_NETWORK,
&usb_ether_dispatch,
usb_ether_probe,
}

Definition at line 233 of file usbeth.c.