Commit 9854d577 authored by Dan Williams's avatar Dan Williams Committed by Greg Kroah-Hartman
Browse files

atm: expose ATM device index in sysfs



commit e7a46b4d upstream.

It's currently exposed only through /proc which, besides requiring
screen-scraping, doesn't allow userspace to distinguish between two
identical ATM adapters with different ATM indexes.  The ATM device index
is required when using PPPoATM on a system with multiple ATM adapters.

Signed-off-by: default avatarDan Williams <dcbw@redhat.com>
Reviewed-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Tested-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 213c900d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment