Changeset d1582b50 in mainline for uspace/drv


Ignore:
Timestamp:
2020-12-14T20:41:53Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
02fe42e
Parents:
1382446
git-author:
Jiri Svoboda <jiri@…> (2020-12-14 20:33:54)
git-committer:
Jiri Svoboda <jiri@…> (2020-12-14 20:41:53)
Message:

Fix spacing in single-line comments using latest ccheck

This found incorrectly formatted section comments (with blocks of
asterisks or dashes). I strongly believe against using section comments
but I am not simply removing them since that would probably be
controversial.

Location:
uspace/drv
Files:
26 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/sb16/registers.h

    r1382446 rd1582b50  
    5656        ioport8_t fm_data2;
    5757        ioport8_t dsp_data_read;
    58         ioport8_t __reserved2; /*0xb*/
     58        ioport8_t __reserved2; /* 0xb */
    5959        ioport8_t dsp_write; /* Both command and data, bit 7 is write status */
    6060#define DSP_WRITE_BUSY (1 << 7)
    61         ioport8_t __reserved3; /*0xd*/
     61        ioport8_t __reserved3; /* 0xd */
    6262        ioport8_t dsp_read_status; /* Bit 7 */
    6363#define DSP_READ_READY (1 << 7)
    64         ioport8_t dma16_ack; /*0xf*/
     64        ioport8_t dma16_ack; /* 0xf */
    6565        ioport8_t cd_command_data;
    6666        ioport8_t cd_status;
  • uspace/drv/block/ahci/ahci.c

    r1382446 rd1582b50  
    131131static int sata_devices_count = 0;
    132132
    133 /*----------------------------------------------------------------------------*/
    134 /*-- AHCI Interface ----------------------------------------------------------*/
    135 /*----------------------------------------------------------------------------*/
     133/*
     134 * AHCI Interface
     135 */
    136136
    137137static ahci_iface_t ahci_interface = {
     
    298298}
    299299
    300 /*----------------------------------------------------------------------------*/
    301 /*-- AHCI Commands -----------------------------------------------------------*/
    302 /*----------------------------------------------------------------------------*/
     300/*
     301 * AHCI Commands
     302 */
    303303
    304304/** Wait for interrupt event.
     
    842842}
    843843
    844 /*----------------------------------------------------------------------------*/
    845 /*-- Interrupts handling -----------------------------------------------------*/
    846 /*----------------------------------------------------------------------------*/
     844/*
     845 * Interrupts handling
     846 */
    847847
    848848static irq_pio_range_t ahci_ranges[] = {
     
    919919}
    920920
    921 /*----------------------------------------------------------------------------*/
    922 /*-- AHCI and SATA device creating and initializing routines -----------------*/
    923 /*----------------------------------------------------------------------------*/
     921/*
     922 * AHCI and SATA device creating and initializing routines
     923 */
    924924
    925925/** Allocate SATA device structure with buffers for hardware.
     
    12731273}
    12741274
    1275 /*----------------------------------------------------------------------------*/
    1276 /*-- Helpers and utilities ---------------------------------------------------*/
    1277 /*----------------------------------------------------------------------------*/
     1275/*
     1276 * Helpers and utilities
     1277 */
    12781278
    12791279/** Convert SATA model name
     
    13131313}
    13141314
    1315 /*----------------------------------------------------------------------------*/
    1316 /*-- AHCI Main routine -------------------------------------------------------*/
    1317 /*----------------------------------------------------------------------------*/
     1315/*
     1316 * AHCI Main routine
     1317 */
    13181318
    13191319int main(int argc, char *argv[])
  • uspace/drv/block/ahci/ahci_hw.h

    r1382446 rd1582b50  
    3636#include <stdint.h>
    3737
    38 /*----------------------------------------------------------------------------*/
    39 /*-- AHCI standard constants -------------------------------------------------*/
    40 /*----------------------------------------------------------------------------*/
     38/*
     39 * AHCI standard constants
     40 */
    4141
    4242/** AHCI standard 1.3 - maximum ports. */
    4343#define AHCI_MAX_PORTS  32
    4444
    45 /*----------------------------------------------------------------------------*/
    46 /*-- AHCI PCI Registers ------------------------------------------------------*/
    47 /*----------------------------------------------------------------------------*/
     45/*
     46 * AHCI PCI Registers
     47 */
    4848
    4949/** AHCI PCI register Identifiers offset. */
     
    296296} ahci_pcireg_mlat_t;
    297297
    298 /*----------------------------------------------------------------------------*/
    299 /*-- AHCI Memory Registers ---------------------------------------------------*/
    300 /*----------------------------------------------------------------------------*/
     298/*
     299 * AHCI Memory Registers
     300 */
    301301
    302302/** Number of pages for ahci memory registers. */
  • uspace/drv/block/ahci/ahci_sata.h

    r1382446 rd1582b50  
    3636#include <stdint.h>
    3737
    38 /*----------------------------------------------------------------------------*/
    39 /*-- SATA Buffer Lengths -----------------------------------------------------*/
    40 /*----------------------------------------------------------------------------*/
     38/*
     39 * SATA Buffer Lengths
     40 */
    4141
    4242/** Default sector size in bytes. */
     
    4949#define SATA_IDENTIFY_DEVICE_BUFFER_LENGTH  512
    5050
    51 /*----------------------------------------------------------------------------*/
    52 /*-- SATA Fis Frames ---------------------------------------------------------*/
    53 /*----------------------------------------------------------------------------*/
     51/*
     52 * SATA Fis Frames
     53 */
    5454
    5555/** Sata FIS Type number. */
     
    130130} sata_ncq_command_frame_t;
    131131
    132 /*----------------------------------------------------------------------------*/
    133 /*-- SATA Identify device ----------------------------------------------------*/
    134 /*----------------------------------------------------------------------------*/
     132/*
     133 * SATA Identify device
     134 */
    135135
    136136/** Data returned from identify device and identify packet device command. */
  • uspace/drv/bus/isa/i8237.c

    r1382446 rd1582b50  
    198198        .channels = {
    199199                /* The first chip 8-bit */
    200                 { /* Channel 0 - Unusable*/
     200                { /* Channel 0 - Unusable */
    201201                        .offset_reg_address = (uint8_t *) 0x00,
    202202                        .size_reg_address = (uint8_t *) 0x01,
  • uspace/drv/bus/usb/ehci/ehci_batch.c

    r1382446 rd1582b50  
    138138        memcpy(ehci_batch->setup_buffer, ehci_batch->base.setup.buffer, setup_size);
    139139
    140         /* Generic data already prepared*/
     140        /* Generic data already prepared */
    141141        ehci_batch->data_buffer = ehci_batch->base.dma_buffer.virt;
    142142
  • uspace/drv/bus/usb/ehci/ehci_rh.c

    r1382446 rd1582b50  
    8686        instance->hub_descriptor.header.max_current = 0;
    8787
    88         /* Device removable and some legacy 1.0 stuff*/
     88        /* Device removable and some legacy 1.0 stuff */
    8989        instance->hub_descriptor.rempow[0] = 0xff;
    9090        instance->hub_descriptor.rempow[1] = 0xff;
     
    410410        /* Enabled features to clear: see page 269 of USB specs */
    411411        switch (feature) {
    412         case USB_HUB_FEATURE_PORT_POWER:          /*8*/
     412        case USB_HUB_FEATURE_PORT_POWER:          /* 8 */
    413413                usb_log_debug2("RH(%p-%u): Clear port power.", hub, port);
    414414                EHCI_CLR(hub->registers->portsc[port],
     
    416416                return EOK;
    417417
    418         case USB2_HUB_FEATURE_PORT_ENABLE:         /*1*/
     418        case USB2_HUB_FEATURE_PORT_ENABLE:         /* 1 */
    419419                usb_log_debug2("RH(%p-%u): Clear port enable.", hub, port);
    420420                EHCI_CLR(hub->registers->portsc[port],
     
    422422                return EOK;
    423423
    424         case USB2_HUB_FEATURE_PORT_SUSPEND:        /*2*/
     424        case USB2_HUB_FEATURE_PORT_SUSPEND:        /* 2 */
    425425                usb_log_debug2("RH(%p-%u): Clear port suspend.", hub, port);
    426426                /* If not in suspend it's noop */
     
    434434                return delayed_job(stop_resume, hub, port);
    435435
    436         case USB_HUB_FEATURE_C_PORT_CONNECTION:   /*16*/
     436        case USB_HUB_FEATURE_C_PORT_CONNECTION:   /* 16 */
    437437                usb_log_debug2("RH(%p-%u): Clear port connection change.",
    438438                    hub, port);
     
    440440                    USB_PORTSC_CONNECT_CH_FLAG);
    441441                return EOK;
    442         case USB2_HUB_FEATURE_C_PORT_ENABLE:       /*17*/
     442        case USB2_HUB_FEATURE_C_PORT_ENABLE:       /* 17 */
    443443                usb_log_debug2("RH(%p-%u): Clear port enable change.",
    444444                    hub, port);
     
    446446                    USB_PORTSC_CONNECT_CH_FLAG);
    447447                return EOK;
    448         case USB_HUB_FEATURE_C_PORT_OVER_CURRENT: /*19*/
     448        case USB_HUB_FEATURE_C_PORT_OVER_CURRENT: /* 19 */
    449449                usb_log_debug2("RH(%p-%u): Clear port OC change.",
    450450                    hub, port);
     
    452452                    USB_PORTSC_OC_CHANGE_FLAG);
    453453                return EOK;
    454         case USB2_HUB_FEATURE_C_PORT_SUSPEND:      /*18*/
     454        case USB2_HUB_FEATURE_C_PORT_SUSPEND:      /* 18 */
    455455                usb_log_debug2("RH(%p-%u): Clear port suspend change.",
    456456                    hub, port);
    457457                hub->resume_flag[port] = false;
    458458                return EOK;
    459         case USB_HUB_FEATURE_C_PORT_RESET:        /*20*/
     459        case USB_HUB_FEATURE_C_PORT_RESET:        /* 20 */
    460460                usb_log_debug2("RH(%p-%u): Clear port reset change.",
    461461                    hub, port);
     
    487487        const unsigned feature = uint16_usb2host(setup_packet->value);
    488488        switch (feature) {
    489         case USB2_HUB_FEATURE_PORT_ENABLE:  /*1*/
     489        case USB2_HUB_FEATURE_PORT_ENABLE:  /* 1 */
    490490                usb_log_debug2("RH(%p-%u): Set port enable.", hub, port);
    491491                EHCI_SET(hub->registers->portsc[port],
    492492                    USB_PORTSC_ENABLED_FLAG);
    493493                return EOK;
    494         case USB2_HUB_FEATURE_PORT_SUSPEND: /*2*/
     494        case USB2_HUB_FEATURE_PORT_SUSPEND: /* 2 */
    495495                usb_log_debug2("RH(%p-%u): Set port suspend.", hub, port);
    496496                EHCI_SET(hub->registers->portsc[port],
    497497                    USB_PORTSC_SUSPEND_FLAG);
    498498                return EOK;
    499         case USB_HUB_FEATURE_PORT_RESET:   /*4*/
     499        case USB_HUB_FEATURE_PORT_RESET:   /* 4 */
    500500                usb_log_debug2("RH(%p-%u): Set port reset.", hub, port);
    501501                EHCI_SET(hub->registers->portsc[port],
     
    503503                //TODO: What if creating the delayed job fails?
    504504                return delayed_job(stop_reset, hub, port);
    505         case USB_HUB_FEATURE_PORT_POWER:   /*8*/
     505        case USB_HUB_FEATURE_PORT_POWER:   /* 8 */
    506506                usb_log_debug2("RH(%p-%u): Set port power.", hub, port);
    507507                EHCI_SET(hub->registers->portsc[port],
  • uspace/drv/bus/usb/ehci/endpoint_list.h

    r1382446 rd1582b50  
    4242#include "hw_struct/queue_head.h"
    4343
    44 /** Structure maintains both EHCI queue and software list of active endpoints.*/
     44/** Structure maintains both EHCI queue and software list of active endpoints. */
    4545typedef struct endpoint_list {
    4646        /** Guard against add/remove races */
  • uspace/drv/bus/usb/ohci/endpoint_list.h

    r1382446 rd1582b50  
    4444#include "hw_struct/endpoint_descriptor.h"
    4545
    46 /** Structure maintains both OHCI queue and software list of active endpoints.*/
     46/** Structure maintains both OHCI queue and software list of active endpoints. */
    4747typedef struct endpoint_list {
    4848        /** Guard against add/remove races */
  • uspace/drv/bus/usb/ohci/hc.c

    r1382446 rd1582b50  
    192192{
    193193        assert(instance);
    194         /* TODO: implement*/
     194        /* TODO: implement */
    195195        return ENOTSUP;
    196196}
     
    595595        }
    596596
    597         /*Init HCCA */
     597        /* Init HCCA */
    598598        instance->hcca = hcca_get();
    599599        if (instance->hcca == NULL)
  • uspace/drv/bus/usb/ohci/ohci_bus.h

    r1382446 rd1582b50  
    6363        dma_buffer_t dma_buffer;
    6464
    65         /** Link in endpoint_list*/
     65        /** Link in endpoint_list */
    6666        link_t eplist_link;
    6767        /** Link in pending_endpoints */
  • uspace/drv/bus/usb/ohci/ohci_regs.h

    r1382446 rd1582b50  
    261261/** Number of downstream ports, max 15 */
    262262#define RHDA_NDS_MASK  (0xff)
    263 /** Power switching mode: 0-global, 1-per port*/
     263/** Power switching mode: 0-global, 1-per port */
    264264#define RHDA_PSM_FLAG  (1 << 8)
    265 /** No power switch: 1-power on, 0-use PSM*/
     265/** No power switch: 1-power on, 0-use PSM */
    266266#define RHDA_NPS_FLAG  (1 << 9)
    267267/** 1-Compound device, must be 0 */
     
    317317#define RHS_LPSC_FLAG (1 << 16)
    318318#define RHS_SET_GLOBAL_POWER RHS_LPSC_FLAG /* synonym for the above */
    319 /** Over-current change indicator*/
     319/** Over-current change indicator */
    320320#define RHS_OCIC_FLAG (1 << 17)
    321321#define RHS_CLEAR_DRWE (1 << 31)
     
    327327 */
    328328
    329 /** r: current connect status, w: 1-clear port enable, 0-N/S*/
     329/** r: current connect status, w: 1-clear port enable, 0-N/S */
    330330#define RHPS_CCS_FLAG (1 << 0)
    331331#define RHPS_CLEAR_PORT_ENABLE RHPS_CCS_FLAG
  • uspace/drv/bus/usb/ohci/ohci_rh.c

    r1382446 rd1582b50  
    8787        instance->hub_descriptor.header.max_current = 0;
    8888
    89         /* Device Removable and some legacy 1.0 stuff*/
     89        /* Device Removable and some legacy 1.0 stuff */
    9090        instance->hub_descriptor.rempow[0] =
    9191            (port_desc >> RHDB_DR_SHIFT) & 0xff;
     
    139139        OHCI_CLR(regs->rh_desc_a, RHDA_PSM_FLAG);
    140140
    141         /* Turn off power (hub driver will turn this back on)*/
     141        /* Turn off power (hub driver will turn this back on) */
    142142        OHCI_WR(regs->rh_status, RHS_CLEAR_GLOBAL_POWER);
    143143
     
    348348        /* Enabled features to clear: see page 269 of USB specs */
    349349        switch (feature) {
    350         case USB_HUB_FEATURE_PORT_POWER:          /*8*/
     350        case USB_HUB_FEATURE_PORT_POWER:          /* 8 */
    351351                rhda = OHCI_RD(hub->registers->rh_desc_a);
    352352                /* No power switching */
     
    362362                    RHPS_CLEAR_PORT_POWER);
    363363                return EOK;
    364         case USB2_HUB_FEATURE_PORT_ENABLE:         /*1*/
     364        case USB2_HUB_FEATURE_PORT_ENABLE:         /* 1 */
    365365                OHCI_WR(hub->registers->rh_port_status[port],
    366366                    RHPS_CLEAR_PORT_ENABLE);
    367367                return EOK;
    368368
    369         case USB2_HUB_FEATURE_PORT_SUSPEND:        /*2*/
     369        case USB2_HUB_FEATURE_PORT_SUSPEND:        /* 2 */
    370370                OHCI_WR(hub->registers->rh_port_status[port],
    371371                    RHPS_CLEAR_PORT_SUSPEND);
    372372                return EOK;
    373373
    374         case USB_HUB_FEATURE_C_PORT_CONNECTION:   /*16*/
    375         case USB2_HUB_FEATURE_C_PORT_ENABLE:       /*17*/
    376         case USB2_HUB_FEATURE_C_PORT_SUSPEND:      /*18*/
    377         case USB_HUB_FEATURE_C_PORT_OVER_CURRENT: /*19*/
    378         case USB_HUB_FEATURE_C_PORT_RESET:        /*20*/
     374        case USB_HUB_FEATURE_C_PORT_CONNECTION:   /* 16 */
     375        case USB2_HUB_FEATURE_C_PORT_ENABLE:       /* 17 */
     376        case USB2_HUB_FEATURE_C_PORT_SUSPEND:      /* 18 */
     377        case USB_HUB_FEATURE_C_PORT_OVER_CURRENT: /* 19 */
     378        case USB_HUB_FEATURE_C_PORT_RESET:        /* 20 */
    379379                usb_log_debug2("Clearing port C_CONNECTION, C_ENABLE, "
    380380                    "C_SUSPEND, C_OC or C_RESET on port %u.", port);
     
    408408
    409409        switch (feature) {
    410         case USB_HUB_FEATURE_PORT_POWER:   /*8*/
     410        case USB_HUB_FEATURE_PORT_POWER:   /* 8 */
    411411                rhda = OHCI_RD(hub->registers->rh_desc_a);
    412412
     
    422422                /* Fall through, for per port power */
    423423                /* Fallthrough */
    424         case USB2_HUB_FEATURE_PORT_ENABLE:  /*1*/
    425         case USB2_HUB_FEATURE_PORT_SUSPEND: /*2*/
    426         case USB_HUB_FEATURE_PORT_RESET:   /*4*/
     424        case USB2_HUB_FEATURE_PORT_ENABLE:  /* 1 */
     425        case USB2_HUB_FEATURE_PORT_SUSPEND: /* 2 */
     426        case USB_HUB_FEATURE_PORT_RESET:   /* 4 */
    427427                usb_log_debug2("Setting port POWER, ENABLE, SUSPEND or RESET "
    428428                    "on port %u.", port);
  • uspace/drv/bus/usb/uhci/hc.c

    r1382446 rd1582b50  
    188188
    189189                if (instance->hw_failures < UHCI_ALLOWED_HW_FAIL) {
    190                         /* reinitialize hw, this triggers virtual disconnect*/
     190                        /* reinitialize hw, this triggers virtual disconnect */
    191191                        hc_init_hw(instance);
    192192                } else {
  • uspace/drv/bus/usb/usbhub/usbhub.h

    r1382446 rd1582b50  
    6161        /** Speed of the hub */
    6262        usb_speed_t speed;
    63         /** Generic usb device data*/
     63        /** Generic usb device data */
    6464        usb_device_t *usb_device;
    6565        /** Data polling handle. */
  • uspace/drv/bus/usb/xhci/hc.c

    r1382446 rd1582b50  
    886886        }
    887887
    888         /* Issue configure endpoint command (sec 4.3.5). */
     888        /* Issue configure endpoint command (sec 4.3.5).  */
    889889        dma_buffer_t ictx_dma_buf;
    890890        if ((err = create_configure_ep_input_ctx(dev, &ictx_dma_buf)))
     
    928928        xhci_cmd_t cmd;
    929929
    930         /* Issue configure endpoint command (sec 4.3.5). */
     930        /* Issue configure endpoint command (sec 4.3.5).  */
    931931        dma_buffer_t ictx_dma_buf;
    932932        errno_t err = create_configure_ep_input_ctx(dev, &ictx_dma_buf);
     
    957957                return EOK;
    958958
    959         /* Issue configure endpoint command (sec 4.3.5) with the DC flag. */
     959        /* Issue configure endpoint command (sec 4.3.5) with the DC flag.  */
    960960        xhci_cmd_init(&cmd, XHCI_CMD_CONFIGURE_ENDPOINT);
    961961        cmd.slot_id = dev->slot_id;
     
    981981        xhci_cmd_t cmd;
    982982
    983         /* Issue configure endpoint command (sec 4.3.5). */
     983        /* Issue configure endpoint command (sec 4.3.5).  */
    984984        dma_buffer_t ictx_dma_buf;
    985985        errno_t err = create_configure_ep_input_ctx(dev, &ictx_dma_buf);
     
    10201020                return EOK;
    10211021
    1022         /* Issue configure endpoint command (sec 4.3.5). */
     1022        /* Issue configure endpoint command (sec 4.3.5).  */
    10231023        dma_buffer_t ictx_dma_buf;
    10241024        errno_t err = create_configure_ep_input_ctx(dev, &ictx_dma_buf);
  • uspace/drv/char/i8042/i8042.h

    r1382446 rd1582b50  
    7777/** i8042 Controller. */
    7878typedef struct i8042 {
    79         /**< I/O registers. */
     79        /** I/O registers. */
    8080        i8042_regs_t *regs;
    8181        /** Keyboard port */
     
    8383        /** AUX port */
    8484        i8042_port_t *aux;
    85         /** Prevents simultanous port writes.*/
     85        /** Prevents simultanous port writes. */
    8686        fibril_mutex_t write_guard;
    8787} i8042_t;
  • uspace/drv/char/ns8250/ns8250.c

    r1382446 rd1582b50  
    157157        /** Parent session */
    158158        async_sess_t *parent_sess;
    159         /** I/O registers **/
     159        /** I/O registers */
    160160        ns8250_regs_t *regs;
    161161        /** Are there any clients connected to the device? */
  • uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c

    r1382446 rd1582b50  
    166166        regs->irqenable = 0;
    167167
    168         /* Pixel format specifics*/
     168        /* Pixel format specifics */
    169169        uint32_t attrib_pixel_format = 0;
    170170        uint32_t control_data_lanes = 0;
  • uspace/drv/hid/usbhid/generic/hiddev.c

    r1382446 rd1582b50  
    120120        }
    121121
    122         /*! @todo This should probably be somehow atomic. */
     122        /* TODO This should probably be somehow atomic. */
    123123        memcpy(buffer, hid_dev->input_report,
    124124            hid_dev->input_report_size);
  • uspace/drv/hid/usbhid/multimedia/keymap.c

    r1382446 rd1582b50  
    5252        [0xb7] = 0,       /* Stop */
    5353        [0xb8] = 0,       /* Eject */
    54         [0xcd] = 0/*KC_F2*/,   /* Play/Pause */
    55         [0xe2] = 0/*KC_F3*/,   /* Mute */
    56         [0xe9] = 0/*KC_F5*/,   /* Volume Increment */
    57         [0xea] = 0/*KC_F4*/,   /* Volume Decrement */
    58         [0x183] = 0/*KC_F1*/,      /* AL Consumer Control Configuration */
     54        [0xcd] = 0,       /* Play/Pause */
     55        [0xe2] = 0,       /* Mute */
     56        [0xe9] = 0,       /* Volume Increment */
     57        [0xea] = 0,       /* Volume Decrement */
     58        [0x183] = 0,      /* AL Consumer Control Configuration */
    5959        [0x18a] = 0,      /* AL Email Reader */
    6060        [0x192] = 0,      /* AL Calculator */
    6161        [0x221] = 0,      /* AC Search */
    62         [0x223] = 0/*KC_F6*/,      /* AC Home */
     62        [0x223] = 0,      /* AC Home */
    6363        [0x224] = 0,      /* AC Back */
    6464        [0x225] = 0,      /* AC Forward */
    6565        [0x226] = 0,      /* AC Stop */
    66         [0x227] = 0,  /* AC Refresh */
    67         [0x22a] = 0   /* AC Bookmarks */
     66        [0x227] = 0,      /* AC Refresh */
     67        [0x22a] = 0       /* AC Bookmarks */
    6868};
    6969
     
    8484                return -1;
    8585
    86         /*! @todo What if the usage is not in the table? */
     86        /* TODO What if the usage is not in the table? */
    8787        key = map[usage];
    8888
  • uspace/drv/hid/usbhid/usbhid.c

    r1382446 rd1582b50  
    342342
    343343        if (hid_dev->max_input_report_size >= buffer_size) {
    344                 /*! @todo This should probably be atomic. */
     344                /* TODO This should probably be atomic. */
    345345                memcpy(hid_dev->input_report, buffer, buffer_size);
    346346                hid_dev->input_report_size = buffer_size;
  • uspace/drv/nic/ar9271/ar9271.h

    r1382446 rd1582b50  
    234234        { 0x0000801c, 0x12e0002b },
    235235        { 0x00008318, 0x00003440 },
    236         { 0x00009804, 0x000003c0 },  /*< Note: overridden */
     236        { 0x00009804, 0x000003c0 },  /**< Note: overridden */
    237237        { 0x00009820, 0x02020200 },
    238238        { 0x00009824, 0x01000e0e },
    239         { 0x00009828, 0x0a020001 },  /*< Note: overridden */
     239        { 0x00009828, 0x0a020001 },  /**< Note: overridden */
    240240        { 0x00009834, 0x00000e0e },
    241241        { 0x00009838, 0x00000007 },
  • uspace/drv/nic/ne2k/dp8390.h

    r1382446 rd1582b50  
    230230        async_sess_t *parent_sess;
    231231        /* Device configuration */
    232         void *base_port; /**< Port assigned from ISA configuration **/
     232        void *base_port; /**< Port assigned from ISA configuration */
    233233        void *port;
    234234        void *data_port;
  • uspace/drv/nic/rtl8139/defs.h

    r1382446 rd1582b50  
    372372        BMCR_AN_ENABLE = (1 << 12),  /**< Autonegotion enable */
    373373
    374         /* 10,11 reserved*/
     374        /* 10,11 reserved */
    375375
    376376        BMCR_AN_RESTART = (1 << 9),  /**< Restart autonegotion */
  • uspace/drv/nic/rtl8139/driver.h

    r1382446 rd1582b50  
    145145} rtl8139_t;
    146146
    147 /* ***** Pointers casting - for both amd64 and ia32 ***** */
     147/*
     148 * Pointers casting - for both amd64 and ia32
     149 */
    148150
    149151/** Cast pointer to uint32_t
Note: See TracChangeset for help on using the changeset viewer.