/* ATA reset will clear the 16 bits mode in the control register, we need to reprogram it  */
static void sl82c105_resetproc(ide_drive_t *drive)
/* ATA reset will clear the 16 bits mode in the control register, we need to reprogram it  */
static void sl82c105_resetproc(ide_drive_t *drive)
{
	struct pci_dev *dev = to_pci_dev(drive->hwif->dev);
	u32 val;
	pci_read_config_dword(dev, 0x40, &val);
	val |= (CTRL_P1F16 | CTRL_P0F16);
	pci_write_config_dword(dev, 0x40, val);
}