#include <errno.h>
#include <str_error.h>
#include <ddf/interrupt.h>
#include <usb_iface.h>
#include <usb/usb.h>
#include <usb/ddfiface.h>
#include <usb/debug.h>
#include "ohci.h"
#include "iface.h"
#include "pci.h"
#include "hc.h"
#include "root_hub.h"
Go to the source code of this file.
Data Structures | |
struct | ohci |
Functions | |
static ohci_t * | dev_to_ohci (ddf_dev_t *dev) |
int | device_setup_ohci (ddf_dev_t *device) |
Initialize hc and rh ddf structures and their respective drivers. | |
static void | irq_handler (ddf_dev_t *dev, ipc_callid_t iid, ipc_call_t *call) |
IRQ handling callback, identifies device. | |
static int | usb_iface_get_address (ddf_fun_t *fun, devman_handle_t handle, usb_address_t *address) |
Get address of the device identified by handle. | |
static int | usb_iface_get_hc_handle (ddf_fun_t *fun, devman_handle_t *handle) |
Gets handle of the respective hc (this device, hc function). | |
Variables | |
static ddf_dev_ops_t | hc_ops |
Standard USB HC options (HC interface). | |
static ddf_dev_ops_t | rh_ops |
Standard USB RH options (RH interface). | |
static usb_iface_t | usb_iface |
Root hub USB interface. |
Definition in file ohci.c.