diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-08-23 00:47:03 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:52:01 -0400 |
commit | c676504ef5fe682bd343149de0e5c57bbf793ff9 (patch) | |
tree | 31e051a26b4bca8eea118259246b8d1f6ff72b98 /drivers/net/ixgb/ixgb_hw.h | |
parent | 3e33545ba6f8ca04b28a015e095662a35a4e2670 (diff) |
ixgb: endianness
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ixgb/ixgb_hw.h')
-rw-r--r-- | drivers/net/ixgb/ixgb_hw.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ixgb/ixgb_hw.h b/drivers/net/ixgb/ixgb_hw.h index 40ef5ca88717..af5643324ee3 100644 --- a/drivers/net/ixgb/ixgb_hw.h +++ b/drivers/net/ixgb/ixgb_hw.h | |||
@@ -711,7 +711,7 @@ struct ixgb_hw { | |||
711 | uint32_t bar2; | 711 | uint32_t bar2; |
712 | uint32_t bar3; | 712 | uint32_t bar3; |
713 | uint16_t pci_cmd_word; /* PCI command register id from PCI configuration space */ | 713 | uint16_t pci_cmd_word; /* PCI command register id from PCI configuration space */ |
714 | uint16_t eeprom[IXGB_EEPROM_SIZE]; /* EEPROM contents read at init time */ | 714 | __le16 eeprom[IXGB_EEPROM_SIZE]; /* EEPROM contents read at init time */ |
715 | unsigned long io_base; /* Our I/O mapped location */ | 715 | unsigned long io_base; /* Our I/O mapped location */ |
716 | uint32_t lastLFC; | 716 | uint32_t lastLFC; |
717 | uint32_t lastRFC; | 717 | uint32_t lastRFC; |
@@ -809,7 +809,7 @@ void ixgb_get_ee_mac_addr(struct ixgb_hw *hw, uint8_t *mac_addr); | |||
809 | uint32_t ixgb_get_ee_pba_number(struct ixgb_hw *hw); | 809 | uint32_t ixgb_get_ee_pba_number(struct ixgb_hw *hw); |
810 | uint16_t ixgb_get_ee_device_id(struct ixgb_hw *hw); | 810 | uint16_t ixgb_get_ee_device_id(struct ixgb_hw *hw); |
811 | boolean_t ixgb_get_eeprom_data(struct ixgb_hw *hw); | 811 | boolean_t ixgb_get_eeprom_data(struct ixgb_hw *hw); |
812 | uint16_t ixgb_get_eeprom_word(struct ixgb_hw *hw, uint16_t index); | 812 | __le16 ixgb_get_eeprom_word(struct ixgb_hw *hw, uint16_t index); |
813 | 813 | ||
814 | /* Everything else */ | 814 | /* Everything else */ |
815 | void ixgb_led_on(struct ixgb_hw *hw); | 815 | void ixgb_led_on(struct ixgb_hw *hw); |