Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changes in uspace/drv/ohci/pci.c [4125b7d:3da17644] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/ohci/pci.c

    r4125b7d r3da17644  
    4646
    4747#include "pci.h"
    48 
    49 #define PAGE_SIZE_MASK 0xfffff000
    50 
    51 #define HCC_PARAMS_OFFSET 0x8
    52 #define HCC_PARAMS_EECP_MASK 0xff
    53 #define HCC_PARAMS_EECP_OFFSET 8
    54 
    55 #define CMD_OFFSET 0x0
    56 #define CONFIGFLAG_OFFSET 0x40
    57 
    58 #define USBCMD_RUN 1
    59 
    60 #define USBLEGSUP_OFFSET 0
    61 #define USBLEGSUP_BIOS_CONTROL (1 << 16)
    62 #define USBLEGSUP_OS_CONTROL (1 << 24)
    63 #define USBLEGCTLSTS_OFFSET 4
    64 
    65 #define DEFAULT_WAIT 10000
    66 #define WAIT_STEP 10
    6748
    6849/** Get address of registers and IRQ for given device.
     
    146127int pci_enable_interrupts(ddf_dev_t *device)
    147128{
    148         return ENOTSUP;
    149129        int parent_phone =
    150130            devman_parent_device_connect(device->handle, IPC_FLAG_BLOCKING);
Note: See TracChangeset for help on using the changeset viewer.