Subject: Re: or DELAY() ?
To: None <tech-kern@NetBSD.org>
From: Reinoud Zandijk <reinoud@netbsd.org>
List: tech-kern
Date: 09/09/2006 15:28:15
--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Dear folks,
On Fri, Sep 08, 2006 at 10:23:39PM +0200, Reinoud Zandijk wrote:
> i'm having a curious problem with my auixp driver (PCI). Using a clean
> sourcetree dated 20060907 it all works fine but when updating the
> sourcetree to 20060908 it gets into trouble communicating with its codecs.
> The codecs detect fine but it times out all the times when reading in the
> function auixp.c:auixp_read_codec(). I noticed christos (?) changed some
> PCI reset functions that might be the cause though when i reverse that
> patch it still doesn't work anymore so i dont think thats the cause.
>
> Running a GENERIC or a GENERIC.MPACPI doesn't matter and the problem
> resolves itself when i disable the auixp driver.
>
> Did something change in the PCI framework that could cause it ? Could any
> of you PCI guru's have a look at the driver to see what it does wrong?
Greg Oster pointed to me that it could also be due to the
timecounter/DELAY() changes... has that interface/resolution changed? The
code uses DELAY(2) a few times to wait for the obliged few microsecs to
give the device time to respond.
Any ideas?
Thanks in advance,
Reinoud
--G4iJoqBmSsgzjUCe
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (NetBSD)
iQEVAwUBRQLBZ4KcNwBDyKpoAQIaBggAu0RrTcHEgtTmI7sFn+kggIxuP6XLi20/
q+/00/XbN5WP11LsiCtf/WSPrjZUNOv9os1fYsUoVqV2l2TaAZzZh7BQ7iV8a1NN
zOC/5qtfkX2Ii8ifSFgRW8FnXYtEbXvgRY8iLh+3P/nLtTeQbNNYVEd5PBvuy7JZ
fElrPhH2K7pyX2QIhYe0atXjb2nVK1hI1vHwIzpS47Qxd3v4Gt9jd5HXYREELa+z
sDSXJoiUZwa/EcxLWcXP6fmTztWKHoAxNK6+1gFjA07a03zamDbkayXHbmxmxzC+
KTbIvbUNixcDULD6Yw/dZjQbj3WSl+JfKpEyaWvdGvbvPOu+NAIK4A==
=Ghau
-----END PGP SIGNATURE-----
--G4iJoqBmSsgzjUCe--