Changeset a25d893 in mainline


Ignore:
Timestamp:
2015-04-10T02:48:42Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
94e46c9
Parents:
2003739
Message:

uhci,ohci: Whitespace and comments

Location:
uspace/drv/bus/usb
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/hc.c

    r2003739 ra25d893  
    178178                usb_log_error("Failed to create OHCI memory structures: %s.\n",
    179179                    str_error(ret));
     180                //TODO: We should disable pio access here
    180181                return ret;
    181182        }
     
    393394                    ohci_emulation_reg, OHCI_RD(*ohci_emulation_reg));
    394395                /* Zero everything but A20State */
     396                //TODO: should we ack interrupts before doing this?
    395397                OHCI_CLR(*ohci_emulation_reg, ~0x100);
    396398                usb_log_debug(
     
    402404        if (OHCI_RD(instance->registers->control) & C_IR) {
    403405                usb_log_debug("SMM driver: request ownership change.\n");
     406                //TODO: should we ack interrupts before doing this?
    404407                OHCI_SET(instance->registers->command_status, CS_OCR);
    405408                /* Hope that SMM actually knows its stuff or we can hang here */
  • uspace/drv/bus/usb/ohci/main.c

    r2003739 ra25d893  
    5656                return ENOMEM;
    5757
    58         const int ret =  hc_init(instance, res, irq);
     58        const int ret = hc_init(instance, res, irq);
    5959        if (ret == EOK)
    6060                hcd_set_implementation(hcd, instance, ohci_hc_schedule,
  • uspace/drv/bus/usb/uhci/main.c

    r2003739 ra25d893  
    5757                return ENOMEM;
    5858
    59         const int ret =  hc_init(instance, res, irq);
     59        const int ret = hc_init(instance, res, irq);
    6060        if (ret == EOK)
    6161                hcd_set_implementation(hcd, instance, uhci_hc_schedule, NULL,
Note: See TracChangeset for help on using the changeset viewer.