Re: NULL s->async problem

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 12 July 2004 05:59 pm, Bob Apodaca wrote:
> I have written a driver for an analog input card and I'm trying to add
> another PCI card (a digital input card) to the driver.  Everything is
> going fine, except when there's an interrupt.  My interrupt handler
> does:
>
> async = s->async;
> async->events = 0;

You can check if dev->attached is nonzero in your interrupt handler (at 
which point async will have been initialized properly).

- -- 
Frank

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA80Mf5vihyNWuA4URAnJbAKCcgqeunhxy9csarunJxw2vmhwr2wCfW6mm
QpB/TEzYEI/Irn/aXpq1OFI=
=vkpP
-----END PGP SIGNATURE-----

Received on 2004-07-13Z01:04:10