4 #include <linux/config.h>
8 static u8 it8172_ratemask(ide_drive_t *drive);
9 static u8 it8172_ratefilter(ide_drive_t *drive, u8 speed);
10 static void it8172_tune_drive(ide_drive_t *drive, u8 pio);
11 static u8 it8172_dma_2_pio(u8 xfer_rate);
12 static int it8172_tune_chipset(ide_drive_t *drive, u8 xferspeed);
13 #ifdef CONFIG_BLK_DEV_IDEDMA
14 static int it8172_config_chipset_for_dma(ide_drive_t *drive);
17 static void init_setup_it8172(struct pci_dev *, ide_pci_device_t *);
18 static unsigned int init_chipset_it8172(struct pci_dev *, const char *);
19 static void init_hwif_it8172(ide_hwif_t *);
21 static ide_pci_device_t it8172_chipsets[] __devinitdata = {
24 .init_setup = init_setup_it8172,
25 .init_chipset = init_chipset_it8172,
26 .init_hwif = init_hwif_it8172,
29 .enablebits = {{0x00,0x00,0x00}, {0x40,0x00,0x01}},
34 #endif /* ITE8172G_H */