Lines Matching +full:use +full:- +full:parity
3 A driver for Adaptec AHA152X-compatible PCMCIA SCSI cards.
5 This driver supports the Adaptec AHA-1460, the New Media Bus
11 License Version 1.1 (the "License"); you may not use this file
27 above. If you wish to allow the use of your version of this file
28 only under the terms of the GPL and not to allow others to use
32 the provisions above, a recipient may use your version of this
66 static int parity = 1; variable
73 module_param(parity, int, 0);
78 MODULE_DESCRIPTION("Adaptec AHA152X-compatible PCMCIA SCSI card driver");
96 dev_dbg(&link->dev, "aha152x_attach()\n"); in aha152x_probe()
100 if (!info) return -ENOMEM; in aha152x_probe()
101 info->p_dev = link; in aha152x_probe()
102 link->priv = info; in aha152x_probe()
104 link->config_flags |= CONF_ENABLE_IRQ | CONF_AUTO_SET_IO; in aha152x_probe()
105 link->config_regs = PRESENT_OPTION; in aha152x_probe()
114 dev_dbg(&link->dev, "aha152x_detach\n"); in aha152x_detach()
119 kfree(link->priv); in aha152x_detach()
126 p_dev->io_lines = 10; in aha152x_config_check()
129 if ((p_dev->resource[0]->end < 0x20) && in aha152x_config_check()
130 (p_dev->resource[1]->end >= 0x20)) in aha152x_config_check()
131 p_dev->resource[0]->start = p_dev->resource[1]->start; in aha152x_config_check()
133 if (p_dev->resource[0]->start >= 0xffff) in aha152x_config_check()
134 return -EINVAL; in aha152x_config_check()
136 p_dev->resource[1]->start = p_dev->resource[1]->end = 0; in aha152x_config_check()
137 p_dev->resource[0]->end = 0x20; in aha152x_config_check()
138 p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH; in aha152x_config_check()
139 p_dev->resource[0]->flags |= IO_DATA_PATH_WIDTH_AUTO; in aha152x_config_check()
146 scsi_info_t *info = link->priv; in aha152x_config_cs()
151 dev_dbg(&link->dev, "aha152x_config\n"); in aha152x_config_cs()
157 if (!link->irq) in aha152x_config_cs()
167 s.io_port = link->resource[0]->start; in aha152x_config_cs()
168 s.irq = link->irq; in aha152x_config_cs()
171 s.parity = parity; in aha152x_config_cs()
183 info->host = host; in aha152x_config_cs()
189 return -ENODEV; in aha152x_config_cs()
194 scsi_info_t *info = link->priv; in aha152x_release_cs()
196 aha152x_release(info->host); in aha152x_release_cs()
202 scsi_info_t *info = link->priv; in aha152x_resume()
204 aha152x_host_reset_host(info->host); in aha152x_resume()
212 PCMCIA_DEVICE_PROD_ID12("Adaptec, Inc.", "APA-1460 SCSI Host Adapter", 0x24ba9738, 0x3a3c3d20),