#include <sys/cdefs.h>
#include "opt_bus.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bus.h>
#include <sys/condvar.h>
#include <sys/kernel.h>
#include <sys/module.h>
#include <dev/usb/usb.h>
#include <dev/usb/usbdi.h>
#include <dev/usb/usb_core.h>
#include <dev/usb/usb_busdma.h>
#include <dev/usb/usb_process.h>
#include <dev/usb/usb_controller.h>
#include <dev/usb/usb_bus.h>
#include <dev/usb/controller/ehci.h>
#include <dev/fdt/fdt_common.h>
#include <dev/ofw/openfirm.h>
#include <dev/ofw/ofw_bus.h>
#include <dev/ofw/ofw_bus_subr.h>
#include <dev/extres/clk/clk.h>
#include <dev/extres/hwreset/hwreset.h>
#include <dev/extres/phy/phy.h>
#include <dev/extres/phy/phy_usb.h>
#include "generic_ehci.h"
Go to the source code of this file.
|
| __FBSDID ("$FreeBSD$") |
|
static int | generic_ehci_fdt_probe (device_t self) |
|
static int | generic_ehci_fdt_attach (device_t dev) |
|
static int | generic_ehci_fdt_detach (device_t dev) |
|
| DEFINE_CLASS_1 (ehci, ehci_fdt_driver, ehci_fdt_methods, sizeof(ehci_softc_t), generic_ehci_driver) |
|
| DRIVER_MODULE (generic_ehci, simplebus, ehci_fdt_driver, ehci_fdt_devclass, 0, 0) |
|
| MODULE_DEPEND (generic_ehci, usb, 1, 1, 1) |
|
◆ __FBSDID()
◆ DEFINE_CLASS_1()
◆ DRIVER_MODULE()
DRIVER_MODULE |
( |
generic_ehci |
, |
|
|
simplebus |
, |
|
|
ehci_fdt_driver |
, |
|
|
ehci_fdt_devclass |
, |
|
|
0 |
, |
|
|
0 |
|
|
) |
| |
◆ generic_ehci_fdt_attach()
static int generic_ehci_fdt_attach |
( |
device_t |
dev | ) |
|
|
static |
◆ generic_ehci_fdt_detach()
static int generic_ehci_fdt_detach |
( |
device_t |
dev | ) |
|
|
static |
◆ generic_ehci_fdt_probe()
static int generic_ehci_fdt_probe |
( |
device_t |
self | ) |
|
|
static |
◆ MODULE_DEPEND()
MODULE_DEPEND |
( |
generic_ehci |
, |
|
|
usb |
, |
|
|
1 |
, |
|
|
1 |
, |
|
|
1 |
|
|
) |
| |
◆ ehci_fdt_devclass
devclass_t ehci_fdt_devclass |
|
static |
◆ ehci_fdt_methods
device_method_t ehci_fdt_methods[] |
|
static |
Initial value:= {
DEVMETHOD_END
}
static device_detach_t generic_ehci_fdt_detach
static device_probe_t generic_ehci_fdt_probe
static device_attach_t generic_ehci_fdt_attach
Definition at line 228 of file generic_ehci_fdt.c.
◆ generic_ehci_fdt_attach
device_attach_t generic_ehci_fdt_attach |
|
static |
◆ generic_ehci_fdt_detach
device_detach_t generic_ehci_fdt_detach |
|
static |
◆ generic_ehci_fdt_probe
device_probe_t generic_ehci_fdt_probe |
|
static |