AIC7xxx driver in 2.0.23

Benjamin C R LaHaise (blah@dot.superaje.com)
Mon, 21 Oct 1996 16:27:53 -0400 (EDT)


For those of us not blessed with PCI, the AIC 7xxx driver won't compile
in 2.0.23 without the following patch...

-b

--- dist/drivers/scsi/aic7xxx.c Mon Oct 21 14:34:02 1996
+++ linux/drivers/scsi/aic7xxx.c Mon Oct 21 16:23:55 1996
@@ -4314,12 +4314,14 @@
p->flags = config->flags;
p->chan_num = config->chan_num;
p->scb_link = &(p->scb_usage);
+#ifdef CONFIG_PCI
#ifdef AIC7XXX_SHARE_SCBS
if ((p->chan_num == 0) && ((p->type == AIC_7873) | (p->type == AIC_7883)))
{
shared_3985_scbs = &(p->scb_usage);
p->scb_link = &(p->scb_usage);
}
+#endif
#endif
p->scb_link->numscbs = 0;
p->bus_type = config->bus_type;