Changeset 850fd32 in mainline for uspace/drv/nic


Ignore:
Timestamp:
2018-03-11T01:21:19Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
84239b1, f0e825d
Parents:
338d54a7
Message:

Fix mischievious semicolons.

Location:
uspace/drv/nic
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/e1k/e1k.c

    r338d54a7 r850fd32  
    511511
    512512        return EOK;
    513 };
     513}
    514514
    515515/** Set acceptance of weird frames
  • uspace/drv/nic/rtl8139/driver.c

    r338d54a7 r850fd32  
    231231        *mac0_dest = pio_read_32(rtl8139->io_port + MAC0);
    232232        *mac4_dest = pio_read_16(rtl8139->io_port + MAC0 + 4);
    233 };
     233}
    234234
    235235/** Set MAC address to the device
     
    423423err_size:
    424424        return;
    425 };
     425}
    426426
    427427
     
    612612        rtl8139_rx_reset(rtl8139);
    613613        return frames;
    614 };
     614}
    615615
    616616
     
    833833        /* Turn the interrupts on again */
    834834        rtl8139_hw_int_set(rtl8139);
    835 };
     835}
    836836
    837837/** Register interrupt handler for the card in the system
     
    10391039                ddf_msg(LVL_ERROR, "%s device: unexpected irq count", ddf_dev_get_name(dev));
    10401040                return EINVAL;
    1041         };
     1041        }
    10421042        if (hw_resources->io_ranges.count != 1) {
    10431043                ddf_msg(LVL_ERROR, "%s device: unexpected io ranges count", ddf_dev_get_name(dev));
     
    13311331        rtl8139_dev_cleanup(dev);
    13321332        return rc;
    1333 };
     1333}
    13341334
    13351335/** Set card MAC address
     
    15261526
    15271527        return EOK;
    1528 };
     1528}
    15291529
    15301530/** Set current pause frame configuration
     
    15621562        }
    15631563        return EOK;
    1564 };
     1564}
    15651565
    15661566/** Set operation mode of the device
     
    19371937
    19381938        return EOK;
    1939 };
     1939}
    19401940
    19411941/** Set acceptance of weird frames
     
    19671967        fibril_mutex_unlock(&rtl8139->rx_lock);
    19681968        return EOK;
    1969 };
     1969}
    19701970
    19711971
     
    20062006        default:
    20072007                return EINVAL;
    2008         };
     2008        }
    20092009        if(rtl8139->pm.active++ == 0)
    20102010                rtl8139_hw_pmen_set(rtl8139, 1);
     
    20422042        default:
    20432043                return;
    2044         };
     2044        }
    20452045        rtl8139->pm.active--;
    20462046        if (rtl8139->pm.active == 0)
  • uspace/drv/nic/rtl8139/general.c

    r338d54a7 r850fd32  
    114114        ta->last_run = 1;
    115115        return EOK;
    116 };
     116}
    117117
    118118
     
    147147
    148148        return expired;
    149 };
     149}
    150150
  • uspace/drv/nic/rtl8169/driver.c

    r338d54a7 r850fd32  
    208208                ddf_msg(LVL_ERROR, "%s device: unexpected irq count", ddf_dev_get_name(dev));
    209209                return EINVAL;
    210         };
     210        }
    211211
    212212        if (hw_resources->io_ranges.count != 1) {
Note: See TracChangeset for help on using the changeset viewer.