swconfig: make it compatible with 3.7
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 21 Nov 2012 17:38:11 +0000 (17:38 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 21 Nov 2012 17:38:11 +0000 (17:38 +0000)
commitdef4db18869161bbd7c5b4203e164286a48c3398
treea4eaec74990fa43806480be615bd83439de7cc2f
parent50c442dbb82561c7bd2fc1087f8cdae0fc29e99c
swconfig: make it compatible with 3.7

swconfig does not compile with 3.7 because

struct netlink_notify->pid    has been renamed to
struct netlink_notify->portid

and

struct genl_info->snd_pid     has been renamed to
struct genl_info->snd_portid

Use the new names and add compatibility patches
to 3.3 and 3.6.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34288 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/swconfig.c
target/linux/generic/patches-3.3/a02-swconfig-revert-portid-snd_portid-usage.patch [new file with mode: 0644]
target/linux/generic/patches-3.6/a02-swconfig-revert-portid-snd_portid-usage.patch [new file with mode: 0644]