crashes on pci-das6402/16 attach seem to be due to interrupt handler
authorFrank Mori Hess <fmhess@speakeasy.net>
Thu, 22 Apr 2004 21:58:33 +0000 (21:58 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Thu, 22 Apr 2004 21:58:33 +0000 (21:58 +0000)
commitc3efe3c77a6f68d19735474320fe369ef9054de1
tree4905e2c25b9463653ff7ce1d1e49fae477d8ab5f
parent7ab9e6e71ebae0a308adebc4f4a7a6f88312771e
crashes on pci-das6402/16 attach seem to be due to interrupt handler
running before postconfig() in drivers.c has finished initializing
everything.  So I added check for dev->attached in handler, and
put a barrier() before dev->attached is set in drivers.c.
comedi/drivers.c
comedi/drivers/cb_pcidas64.c