Changeset dfe4955 in mainline for uspace/drv/bus/usb/uhci/hc.h


Ignore:
Timestamp:
2011-07-12T18:38:27Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
26858040
Parents:
b4f291d
Message:

UHCI: Mirror OHCI changes to generating irq code, and enabling interrupts.

Rename regs_t ⇒ uhci_regs_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhci/hc.h

    rb4f291d rdfe4955  
    8484        /** SOF modification to match external timers */
    8585        uint8_t sofmod;
    86 } regs_t;
     86} uhci_regs_t;
    8787
    8888#define UHCI_FRAME_LIST_COUNT 1024
     
    100100
    101101        /** Addresses of I/O registers */
    102         regs_t *registers;
     102        uhci_regs_t *registers;
    103103
    104104        /** Frame List contains 1024 link pointers */
     
    132132        unsigned hw_failures;
    133133} hc_t;
    134 
     134size_t hc_irq_cmd_count(void);
     135int hc_get_irq_commands(
     136    irq_cmd_t cmds[], size_t cmd_size, uintptr_t regs, size_t reg_size);
    135137int hc_init(hc_t *instance, void *regs, size_t reg_size, bool interupts);
    136 
    137138int hc_schedule(hc_t *instance, usb_transfer_batch_t *batch);
    138 
    139139void hc_interrupt(hc_t *instance, uint16_t status);
    140140
Note: See TracChangeset for help on using the changeset viewer.