/* This function will read the eeprom data as host-endian word into the given data pointer.  */
void eeprom_93cx6_read(struct eeprom_93cx6 *eeprom, const u8 word, u16 *data)
/* This function will read the eeprom data as host-endian word into the given data pointer.  */
void eeprom_93cx6_read(struct eeprom_93cx6 *eeprom, const u8 word, u16 *data)
{
	u16 command;
	eeprom_93cx6_startup(eeprom);
	command = (PCI_EEPROM_READ_OPCODE << eeprom->width) | word;
	eeprom_93cx6_write_bits(eeprom, command,
		PCI_EEPROM_WIDTH_OPCODE + eeprom->width);
	eeprom_93cx6_read_bits(eeprom, data, 16);
	eeprom_93cx6_cleanup(eeprom);
}