Revision 457044d1 hw/e1000_hw.h

b/hw/e1000_hw.h
514 514
#define E1000_EEPROM_SWDPIN0   0x0001   /* SWDPIN 0 EEPROM Value */
515 515
#define E1000_EEPROM_LED_LOGIC 0x0020   /* Led Logic Word */
516 516
#define E1000_EEPROM_RW_REG_DATA   16   /* Offset to data in EEPROM read/write registers */
517
#define E1000_EEPROM_RW_REG_DONE   2    /* Offset to READ/WRITE done bit */
517
#define E1000_EEPROM_RW_REG_DONE   0x10 /* Offset to READ/WRITE done bit */
518 518
#define E1000_EEPROM_RW_REG_START  1    /* First bit for telling part to start operation */
519
#define E1000_EEPROM_RW_ADDR_SHIFT 2    /* Shift to the address bits */
519
#define E1000_EEPROM_RW_ADDR_SHIFT 8    /* Shift to the address bits */
520 520
#define E1000_EEPROM_POLL_WRITE    1    /* Flag for polling for write complete */
521 521
#define E1000_EEPROM_POLL_READ     0    /* Flag for polling for read complete */
522 522
/* Register Bit Masks */

Also available in: Unified diff