Search Linux Wireless

Re: [PATCH 2/3] p54: more SoftLED updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 14 April 2009 17:12:33 Fabio Rossi wrote:
> On Wednesday 25 March 2009, Christian Lamparter wrote:
> 
> > This patch hopefully finishes the SoftLED code:
> > - It adds two more LEDs (rx and radio).
> >   (the FW claims it can support up to 16 LEDs,
> >    but I doubt that any vendor put more than 4 on a board)
> > - update the LEDs in a _delayed_ workqueue.
> >   No one reported any more crashes.
> >   (see: "PATCH] p54: fix race condition in memory management")
> >   So we can stop burning the mm code.
> 
> My device has 2 LEDs and I can see 4 registrations (assoc, tx, rx and radio). 
> Does it make sense to register LEDs which are not available?
Well, trouble is that you can look (with your eyes) at your device and see the
number of LEDs... This is something we cannot do with the driver. 
(Unless we find a EEPROM field which stores the # of LEDs and 
maybe even what they are used for?)

4 is just a "save" guess which should cover most - if not all - customer devices.

Regards,
	Chr
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux