/* Perform the setup required at boot and on resume.  */
static void hpt3x3_init_chipset(struct pci_dev *dev)
/* Perform the setup required at boot and on resume.  */
static void hpt3x3_init_chipset(struct pci_dev *dev)
{
	u16 cmd;
	pci_write_config_word(dev, 0x80, 0x00);
	pci_read_config_word(dev, PCI_COMMAND, &cmd);
	if (cmd & PCI_COMMAND_MEMORY)
		pci_write_config_byte(dev, PCI_LATENCY_TIMER, 0xF0);
	else
		pci_write_config_byte(dev, PCI_LATENCY_TIMER, 0x20);
}