Lines Matching +full:0 +full:x168

24 module_param(probe_mask, int, 0);
33 static const u16 legacy_bases[] = { 0x1f0 };
36 static const u16 legacy_bases[] = { 0x1f0, 0x170, 0x1e8, 0x168 };
39 static const u16 legacy_bases[] = { 0x1f0, 0x170, 0x1e8, 0x168, 0x1e0, 0x160 };
50 if (pci_resource_start(p, 0) == 0x1f0) in ide_generic_check_pci_legacy_iobases()
52 if (pci_resource_start(p, 2) == 0x170) in ide_generic_check_pci_legacy_iobases()
55 /* Cyrix CS55{1,2}0 pre SFF MWDMA ATA on the bridge */ in ide_generic_check_pci_legacy_iobases()
64 pci_read_config_word(p, 0x6C, &val); in ide_generic_check_pci_legacy_iobases()
65 if (val & 0x8000) { in ide_generic_check_pci_legacy_iobases()
67 if (val & 0x4000) in ide_generic_check_pci_legacy_iobases()
81 int i, rc = 0, primary = 0, secondary = 0; in ide_generic_init()
86 printk(KERN_INFO DRV_NAME ": please use \"probe_mask=0x3f\" " in ide_generic_init()
89 if (primary == 0) in ide_generic_init()
90 probe_mask |= 0x1; in ide_generic_init()
92 if (secondary == 0) in ide_generic_init()
93 probe_mask |= 0x2; in ide_generic_init()
98 for (i = 0; i < ARRAY_SIZE(legacy_bases); i++) { in ide_generic_init()
103 printk(KERN_ERR "%s: I/O resource 0x%lX-0x%lX " in ide_generic_init()
110 if (!request_region(io_addr + 0x206, 1, DRV_NAME)) { in ide_generic_init()
111 printk(KERN_ERR "%s: I/O resource 0x%lX " in ide_generic_init()
113 DRV_NAME, io_addr + 0x206); in ide_generic_init()
119 memset(&hw, 0, sizeof(hw)); in ide_generic_init()
120 ide_std_init_ports(&hw, io_addr, io_addr + 0x206); in ide_generic_init()
128 release_region(io_addr + 0x206, 1); in ide_generic_init()