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);
95 dev_dbg(&link->dev, "aha152x_attach()\n"); in aha152x_probe()
99 if (!info) return -ENOMEM; in aha152x_probe()
100 info->p_dev = link; in aha152x_probe()
101 link->priv = info; in aha152x_probe()
103 link->config_flags |= CONF_ENABLE_IRQ | CONF_AUTO_SET_IO; in aha152x_probe()
104 link->config_regs = PRESENT_OPTION; in aha152x_probe()
113 dev_dbg(&link->dev, "aha152x_detach\n"); in aha152x_detach()
118 kfree(link->priv); in aha152x_detach()
125 p_dev->io_lines = 10; in aha152x_config_check()
128 if ((p_dev->resource[0]->end < 0x20) && in aha152x_config_check()
129 (p_dev->resource[1]->end >= 0x20)) in aha152x_config_check()
130 p_dev->resource[0]->start = p_dev->resource[1]->start; in aha152x_config_check()
132 if (p_dev->resource[0]->start >= 0xffff) in aha152x_config_check()
133 return -EINVAL; in aha152x_config_check()
135 p_dev->resource[1]->start = p_dev->resource[1]->end = 0; in aha152x_config_check()
136 p_dev->resource[0]->end = 0x20; in aha152x_config_check()
137 p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH; in aha152x_config_check()
138 p_dev->resource[0]->flags |= IO_DATA_PATH_WIDTH_AUTO; in aha152x_config_check()
145 scsi_info_t *info = link->priv; in aha152x_config_cs()
150 dev_dbg(&link->dev, "aha152x_config\n"); in aha152x_config_cs()
156 if (!link->irq) in aha152x_config_cs()
166 s.io_port = link->resource[0]->start; in aha152x_config_cs()
167 s.irq = link->irq; in aha152x_config_cs()
170 s.parity = parity; in aha152x_config_cs()
182 info->host = host; in aha152x_config_cs()
188 return -ENODEV; in aha152x_config_cs()
193 scsi_info_t *info = link->priv; in aha152x_release_cs()
195 aha152x_release(info->host); in aha152x_release_cs()
201 scsi_info_t *info = link->priv; in aha152x_resume()
203 aha152x_host_reset_host(info->host); in aha152x_resume()
211 PCMCIA_DEVICE_PROD_ID12("Adaptec, Inc.", "APA-1460 SCSI Host Adapter", 0x24ba9738, 0x3a3c3d20),