Changeset 3fafe5e0 in mainline for uspace/drv


Ignore:
Timestamp:
2018-04-27T14:15:03Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7148abf
Parents:
a2eb85d
git-author:
Jiri Svoboda <jiri@…> (2018-04-26 17:14:26)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-27 14:15:03)
Message:

Fix incorrectly indented double-slash comments.

Location:
uspace/drv
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/hdaudio/codec.c

    ra2eb85d r3fafe5e0  
    129129                return rc;
    130130
    131 //      ddf_msg(LVL_NOTE, "hda_get_clist_len: resp=0x%x", resp);
     131        ddf_msg(LVL_DEBUG2, "hda_get_clist_len: resp=0x%x", resp);
    132132        *longform = resp & BIT_V(uint32_t, cll_longform);
    133133        *items = resp & BIT_RANGE_EXTRACT(uint32_t, cll_len_h, cll_len_l, resp);
     
    238238    uint32_t *resp)
    239239{
    240 //      ddf_msg(LVL_NOTE, "hda_get_amp_gain_mute(codec, %d, %x)",
    241 //          node, payload);
     240        ddf_msg(LVL_DEBUG2, "hda_get_amp_gain_mute(codec, %d, %x)",
     241            node, payload);
    242242        errno_t rc = hda_ccmd(codec, node, hda_amp_gain_mute_get, payload, resp);
    243 //      ddf_msg(LVL_NOTE, "hda_get_amp_gain_mute(codec, %d, %x, resp=%x)",
    244 //          node, payload, *resp);
     243        ddf_msg(LVL_DEBUG2, "hda_get_amp_gain_mute(codec, %d, %x, resp=%x)",
     244            node, payload, *resp);
    245245        return rc;
    246246}
     
    254254static errno_t hda_set_amp_gain_mute(hda_codec_t *codec, int node, uint16_t payload)
    255255{
    256 //      ddf_msg(LVL_NOTE, "hda_set_amp_gain_mute(codec, %d, %x)",
    257 //          node, payload);
     256        ddf_msg(LVL_DEBUG2, "hda_set_amp_gain_mute(codec, %d, %x)",
     257            node, payload);
    258258        return hda_ccmd(codec, node, hda_amp_gain_mute_set, payload, NULL);
    259259}
     
    362362        }
    363363
    364 //      ddf_msg(LVL_NOTE, "longform:%d len:%d", longform, len);
     364        ddf_msg(LVL_DEBUG2, "longform:%d len:%d", longform, len);
    365365
    366366        if (longform) {
  • uspace/drv/audio/hdaudio/hdactl.c

    ra2eb85d r3fafe5e0  
    644644                rc = hda_rirb_read(ctl->hda, &resp);
    645645                if (rc != EOK) {
    646 //                      ddf_msg(LVL_NOTE, "nothing in rirb");
     646                        ddf_msg(LVL_DEBUG2, "nothing in rirb");
    647647                        break;
    648648                }
  • uspace/drv/audio/hdaudio/hdaudio.c

    ra2eb85d r3fafe5e0  
    374374        if (0)
    375375                ddf_msg(LVL_NOTE, "## interrupt ##");
    376 //      ddf_msg(LVL_NOTE, "interrupt arg4=0x%x", (int)IPC_GET_ARG4(*icall));
    377376        hda_ctl_interrupt(hda->ctl);
    378377
  • uspace/drv/audio/hdaudio/stream.c

    ra2eb85d r3fafe5e0  
    5656        hda_stream_buffers_t *bufs = NULL;
    5757        size_t i;
    58 //      size_t j, k;
     58        //size_t j, k;
    5959        errno_t rc;
    6060
  • uspace/drv/bus/usb/ehci/hw_struct/queue_head.c

    ra2eb85d r3fafe5e0  
    5555
    5656        EHCI_MEM32_WR(instance->horizontal, LINK_POINTER_TERM);
    57 //      EHCI_MEM32_WR(instance->current, LINK_POINTER_TERM);
     57#if 0
     58        EHCI_MEM32_WR(instance->current, LINK_POINTER_TERM);
     59#endif
    5860        EHCI_MEM32_WR(instance->next, LINK_POINTER_TERM);
    5961        EHCI_MEM32_WR(instance->alternate, LINK_POINTER_TERM);
  • uspace/drv/bus/usb/uhci/uhci_rh.c

    ra2eb85d r3fafe5e0  
    246246            UHCI2USB(val, STATUS_CONNECTED_CHANGED, USB_HUB_PORT_STATUS_C_CONNECTION) |
    247247            UHCI2USB(val, STATUS_ENABLED_CHANGED, USB2_HUB_PORT_STATUS_C_ENABLE) |
    248 //          UHCI2USB(val, STATUS_SUSPEND, USB2_HUB_PORT_STATUS_C_SUSPEND) |
     248#if 0
     249            UHCI2USB(val, STATUS_SUSPEND, USB2_HUB_PORT_STATUS_C_SUSPEND) |
     250#endif
    249251            (hub->reset_changed[port] ?  USB_HUB_PORT_STATUS_C_RESET : 0));
    250252        RH_DEBUG(hub, port, "Port status %" PRIx32 " (source %" PRIx16
  • uspace/drv/bus/usb/xhci/hw_struct/trb.h

    ra2eb85d r3fafe5e0  
    4848        XHCI_TRB_TYPE_RESERVED = 0,
    4949
    50 // Transfer ring:
     50        /*
     51         * Transfer ring:
     52         */
    5153        XHCI_TRB_TYPE_NORMAL,
    5254        XHCI_TRB_TYPE_SETUP_STAGE,
     
    5860        XHCI_TRB_TYPE_NO_OP,
    5961
    60 // Command ring:
     62        /*
     63         * Command ring:
     64         */
    6165        XHCI_TRB_TYPE_ENABLE_SLOT_CMD,
    6266        XHCI_TRB_TYPE_DISABLE_SLOT_CMD,
     
    7478        XHCI_TRB_TYPE_FORCE_HEADER_CMD,
    7579        XHCI_TRB_TYPE_NO_OP_CMD,
    76 // Reserved: 24-31
    77 
    78 // Event ring:
     80        /*
     81         * Reserved: 24-31
     82        */
     83
     84        /*
     85         * Event ring:
     86         */
    7987        XHCI_TRB_TYPE_TRANSFER_EVENT = 32,
    8088        XHCI_TRB_TYPE_COMMAND_COMPLETION_EVENT,
  • uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c

    ra2eb85d r3fafe5e0  
    204204        /* modes taken from u-boot, for 1024x768 */
    205205        // TODO replace magic values with actual correct values
    206 //      regs->timing_h = 0x1a4024c9;
    207 //      regs->timing_v = 0x02c00509;
    208 //      regs->pol_freq = 0x00007028;
    209 //      regs->divisor  = 0x00010001;
     206#if 0
     207        regs->timing_h = 0x1a4024c9;
     208        regs->timing_v = 0x02c00509;
     209        regs->pol_freq = 0x00007028;
     210        regs->divisor  = 0x00010001;
     211#endif
    210212
    211213        /* setup output */
Note: See TracChangeset for help on using the changeset viewer.