Hi,
Matthew Garrett writes:
On Sun, Nov 15, 2009 at 04:14:58PM +0000, Matthew Garrett wrote:
On Sun, Nov 15, 2009 at 04:11:40PM +0000, Alan Jenkins wrote:
> We don't really look at the device though. What we look at is the value
> of WLDG.
>
> Stray notifications on either of the _other_ 2 pcie ports would then
> cause us to toggle them based on WLDG.
>
> I see a _Lxx handler in my DSDT which looks like it notifies on _all_
> the pcie ports. So I think it's a bit tricky.
We could be smarter about that. WLDG is handy but not required - at the
most basic level we could do a pci configuration space access and see if
we get back 0xff or a value.
Though, thinking about it, you're right - we still need to know whether
it was a wifi device so we know whether to update the rfkill status. Do
Atheros devices still have their PCI class set to ethernet rather than
wireless?
cat /sys/bus/pci/devices/0000\:02\:00.0/class
0x028000
--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html