Lines Matching +full:0 +full:xf8
35 ATA_GEN_CLASS_MATCH = (1 << 0),
55 int dma_enabled = 0; in generic_set_mode()
59 dma_enabled = 0xff; in generic_set_mode()
95 return 0; in generic_set_mode()
119 * IDE-R devices have PCI offset 0xF8.L as zero, later Intel ATA has
120 * it non zero. All Intel ATA has 0x40 writable (timing), but it is
126 /* For Intel IDE the value at 0xF8 is only zero on IDE-R in is_intel_ider()
132 pci_read_config_dword(dev, 0xF8, &r); in is_intel_ider()
134 if (r != 0) in is_intel_ider()
135 return 0; in is_intel_ider()
136 /* 0xF8 will also be zero on some early Intel IDE devices in is_intel_ider()
138 pci_read_config_word(dev, 0x40, &t); in is_intel_ider()
139 if (t != 0) in is_intel_ider()
140 return 0; in is_intel_ider()
144 pci_write_config_word(dev, 0x40, 1); in is_intel_ider()
145 pci_read_config_word(dev, 0x40, &t); in is_intel_ider()
147 pci_write_config_word(dev, 0x40, 0); in is_intel_ider()
148 return 0; in is_intel_ider()
176 if ((id->driver_data & ATA_GEN_CLASS_MATCH) && all_generic_ide == 0) in ata_generic_init_one()
205 if (rc < 0) in ata_generic_init_one()
209 return ata_pci_bmdma_init_one(dev, ppi, &generic_sht, (void *)id, 0); in ata_generic_init_one()
231 PCI_CLASS_STORAGE_IDE << 8, 0xFFFFFF00UL,
234 { PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_IDE << 8, 0xFFFFFF00UL),
236 { 0, },
258 module_param(all_generic_ide, int, 0);