Ignore:
Timestamp:
2018-06-24T09:07:19Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8b3cb67
Parents:
4810acf
git-author:
Jakub Jermar <jakub@…> (2018-06-24 09:07:12)
git-committer:
Jakub Jermar <jakub@…> (2018-06-24 09:07:19)
Message:

Use macros for working with MAC addresses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/virtio-net/virtio-net.h

    r4810acf r6a0f1309  
    3232#include <virtio-pci.h>
    3333#include <abi/cap.h>
     34#include <nic/nic.h>
    3435
    3536#define RX_BUFFERS      8
     
    5960
    6061typedef struct {
    61         uint8_t mac[6];
     62        uint8_t mac[ETH_ADDR];
    6263} virtio_net_cfg_t;
    6364
Note: See TracChangeset for help on using the changeset viewer.