rt2570 status

Ben Hutchings ben at decadent.org.uk
Sun Dec 2 20:00:28 UTC 2007


rt2570 seems to be broken at the moment (see bugs #453148, #451863).  I
will be away for the coming week and will not be able to work on it.

There are two volunteers to test new packages of rt2570 (at #411790):
- Jon Dowland <jon at alcopop.org> who reported #451863
- steef <steefvanduin at zonnet.nl>

Before I fixed the probe routine to reject devices that should be
handled by rt73, I found that the driver would spin for long periods in
some error cases.  This is due to a wrong definition of NdisMSleep,
which in a real NDIS implementation is equivalent to usleep in Linux but
here has been #define'd to mdelay - i.e. it would spin, rather than
sleep, for 1000 times too long.

I originally attempted to fix this with the patch 005_fix_delays.diff,
but this may not be correct and might have contributed to these bugs.
Ideally NdisMSleep should be #defined'd as usleep and the calls to it
from atomic context should be changed to use udelay (or mdelay if the
given duration really should be in milliseconds).  It may be safest for
now just to define it as udelay.

It's also possible that 004_fix_mlme_queue_locking.diff is wrong, though
it's basically the same as a change I made to rt2500 which was accepted
upstream.

There have also been some changes in the CVS repository since the
snapshot I took:

       * Bit flip register fields for endianess.
       * Forward compatibility for 2.6.24.
       * Fix big endian compiler variable propagation. Thanks to Adam Sjøgren.
       * Propagate incomplete queue element, multi- context service drop fixes.
         Patch by Ben Hutchings.

The last change should be similar to 004_fix_mlme_queue_locking.diff.

Ben.

-- 
Ben Hutchings
The most exhausting thing in life is being insincere. - Anne Morrow Lindberg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-ralink-maintainers/attachments/20071202/ba2c2657/attachment.pgp 


More information about the Pkg-ralink-maintainers mailing list