On Thu, 2007-03-01 at 18:54 +0000, Andy Green wrote: > Gah I was using /sys/class/ieee80211/phy<n>/device/net:<ifname> to > discover which physical device owns which interfaces... if there isn't a > better/official way from userspace can this maybe stay in /sys? That's already gone anyway in recent kernels anyway and the net: stuff is broken currently. When Greg fixes sysfs, the real way would be to follow the symlink in /sys/class/net/ieee80211/ which links to (for example) /sys/devices/pci0001:10/0001:10:12.0/ssb06:01/phy6, then go back up one level and enumerate all net: objects in it. Or, if you start from a netdev, you can see the phy80211 symlink. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part