Revision 949fc823 hw/net/eepro100.c

b/hw/net/eepro100.c
47 47
#include "hw/nvram/eeprom93xx.h"
48 48
#include "sysemu/sysemu.h"
49 49
#include "sysemu/dma.h"
50
#include "qemu/bitops.h"
50 51

  
51 52
/* QEMU sends frames smaller than 60 bytes to ethernet nics.
52 53
 * Such frames are rejected by real nics and their emulations.
......
105 106
#define PCI_IO_SIZE             64
106 107
#define PCI_FLASH_SIZE          (128 * KiB)
107 108

  
108
#define BIT(n) (1 << (n))
109 109
#define BITS(n, m) (((0xffffffffU << (31 - n)) >> (31 - n + m)) << m)
110 110

  
111 111
/* The SCB accepts the following controls for the Tx and Rx units: */

Also available in: Unified diff