• Home
  • Raw
  • Download

Lines Matching +full:conf +full:- +full:ds

3     A driver for Adaptec AHA152X-compatible PCMCIA SCSI cards.
5 This driver supports the Adaptec AHA-1460, the New Media Bus
53 #include <pcmcia/ds.h>
92 dev_dbg(&link->dev, "aha152x_attach()\n"); in aha152x_probe()
96 if (!info) return -ENOMEM; in aha152x_probe()
97 info->p_dev = link; in aha152x_probe()
98 link->priv = info; in aha152x_probe()
100 link->config_flags |= CONF_ENABLE_IRQ | CONF_AUTO_SET_IO; in aha152x_probe()
101 link->config_regs = PRESENT_OPTION; in aha152x_probe()
110 dev_dbg(&link->dev, "aha152x_detach\n"); in aha152x_detach()
115 kfree(link->priv); in aha152x_detach()
122 p_dev->io_lines = 10; in aha152x_config_check()
125 if ((p_dev->resource[0]->end < 0x20) && in aha152x_config_check()
126 (p_dev->resource[1]->end >= 0x20)) in aha152x_config_check()
127 p_dev->resource[0]->start = p_dev->resource[1]->start; in aha152x_config_check()
129 if (p_dev->resource[0]->start >= 0xffff) in aha152x_config_check()
130 return -EINVAL; in aha152x_config_check()
132 p_dev->resource[1]->start = p_dev->resource[1]->end = 0; in aha152x_config_check()
133 p_dev->resource[0]->end = 0x20; in aha152x_config_check()
134 p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH; in aha152x_config_check()
135 p_dev->resource[0]->flags |= IO_DATA_PATH_WIDTH_AUTO; in aha152x_config_check()
142 scsi_info_t *info = link->priv; in aha152x_config_cs()
147 dev_dbg(&link->dev, "aha152x_config\n"); in aha152x_config_cs()
153 if (!link->irq) in aha152x_config_cs()
162 s.conf = "PCMCIA setup"; in aha152x_config_cs()
163 s.io_port = link->resource[0]->start; in aha152x_config_cs()
164 s.irq = link->irq; in aha152x_config_cs()
179 info->host = host; in aha152x_config_cs()
185 return -ENODEV; in aha152x_config_cs()
190 scsi_info_t *info = link->priv; in aha152x_release_cs()
192 aha152x_release(info->host); in aha152x_release_cs()
198 scsi_info_t *info = link->priv; in aha152x_resume()
200 aha152x_host_reset_host(info->host); in aha152x_resume()
208 PCMCIA_DEVICE_PROD_ID12("Adaptec, Inc.", "APA-1460 SCSI Host Adapter", 0x24ba9738, 0x3a3c3d20),