PERFORCE change 105129 for review
Matt Jacob
mjacob at FreeBSD.org
Sat Aug 26 19:09:05 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=105129
Change 105129 by mjacob at newisp on 2006/08/26 18:50:32
Put lack of interrupts working hack in place for 24XX cards only.
Affected files ...
.. //depot/projects/newisp/dev/isp/isp_pci.c#3 edit
Differences ...
==== //depot/projects/newisp/dev/isp/isp_pci.c#3 (text+ko) ====
@@ -335,7 +335,7 @@
int16_t pci_poff[_NREG_BLKS];
bus_dma_tag_t dmat;
bus_dmamap_t *dmaps;
-struct callout_handle xx;
+ struct callout_handle xx;
};
static timeout_t isp_kick;
@@ -1097,7 +1097,8 @@
*/
ISP_UNLOCK(isp);
- pcs->xx = timeout(isp_kick, isp, hz/10);
+ if (IS_24XX(isp))
+ pcs->xx = timeout(isp_kick, isp, hz/10);
return (0);
@@ -1152,7 +1153,9 @@
}
isp = (ispsoftc_t *) pcs;
ISP_LOCK(isp);
- untimeout(isp_kick, isp, pcs->xx);
+ if (IS_24XX(isp)) {
+ untimeout(isp_kick, isp, pcs->xx);
+ }
DISABLE_INTS(isp);
ISP_UNLOCK(isp);
return (0);
More information about the p4-projects
mailing list