[OpenWrt-Devel] [PATCH 0/2] kernel: make ar8216 driver selectable as a package
Mathieu Olivari
mathieu at codeaurora.org
Wed Feb 18 20:25:03 EST 2015
The two changes below aims at making the (currently called) ar8216 driver
selectable as an OpenWrt package. Currently, and unlike some other switches,
this driver must be built-in the kernel if we want to enable it.
This is currently impossible for 2 reasons:
*there is no openwrt package to select it
*even if there was one, the 2 objects built by the kernel (ar8216.o and
ar8327.o) are interdependent, therefore build fails at the end of the kernel
build.
The 2 changes below fix this issue by renaming the module into ar8xxx.ko, and
marking ar8216.o and ar8327.o as dependencies of this .ko. The name ar8xxx is
also more inline with the current driver structure and where the implementation
seems to be going.
Mathieu Olivari (2):
kernel: rename ar8216.ko into ar8xxx.ko
kernel: Add a selectable option for ar8xxx
package/kernel/linux/modules/netdevices.mk | 16 ++++++++++++
target/linux/ar71xx/config-3.14 | 2 +-
target/linux/atheros/config-3.14 | 2 +-
target/linux/generic/config-3.10 | 4 +--
target/linux/generic/config-3.13 | 4 +--
target/linux/generic/config-3.14 | 4 +--
target/linux/generic/config-3.18 | 4 +--
target/linux/generic/config-3.19 | 4 +--
target/linux/generic/config-3.8 | 2 +-
.../linux/generic/files/drivers/net/phy/ar8327.c | 6 ++---
.../generic/patches-3.10/724-phy_ar8216.patch | 24 -----------------
.../generic/patches-3.10/724-phy_ar8xxx.patch | 30 ++++++++++++++++++++++
.../generic/patches-3.10/725-phy_rtl8306.patch | 2 +-
.../generic/patches-3.10/726-phy_rtl8366.patch | 2 +-
.../generic/patches-3.13/724-phy_ar8216.patch | 24 -----------------
.../generic/patches-3.13/724-phy_ar8xxx.patch | 30 ++++++++++++++++++++++
.../generic/patches-3.13/725-phy_rtl8306.patch | 2 +-
.../generic/patches-3.13/726-phy_rtl8366.patch | 2 +-
.../generic/patches-3.14/724-phy_ar8216.patch | 24 -----------------
.../generic/patches-3.14/724-phy_ar8xxx.patch | 30 ++++++++++++++++++++++
.../generic/patches-3.14/725-phy_rtl8306.patch | 2 +-
.../generic/patches-3.14/726-phy_rtl8366.patch | 2 +-
.../generic/patches-3.14/733-phy_mvsw61xx.patch | 2 +-
.../generic/patches-3.18/724-phy_ar8216.patch | 24 -----------------
.../generic/patches-3.18/724-phy_ar8xxx.patch | 30 ++++++++++++++++++++++
.../generic/patches-3.18/725-phy_rtl8306.patch | 4 +--
.../generic/patches-3.18/726-phy_rtl8366.patch | 2 +-
.../patches-3.18/732-phy-ar8216-led-support.patch | 13 ----------
.../patches-3.18/732-phy-ar8xxx-led-support.patch | 13 ++++++++++
.../generic/patches-3.18/733-phy_mvsw61xx.patch | 2 +-
.../generic/patches-3.19/724-phy_ar8216.patch | 24 -----------------
.../generic/patches-3.19/724-phy_ar8xxx.patch | 30 ++++++++++++++++++++++
.../generic/patches-3.19/725-phy_rtl8306.patch | 2 +-
.../generic/patches-3.19/726-phy_rtl8366.patch | 2 +-
.../generic/patches-3.19/733-phy_mvsw61xx.patch | 2 +-
.../linux/generic/patches-3.8/724-phy_ar8216.patch | 24 -----------------
.../linux/generic/patches-3.8/724-phy_ar8xxx.patch | 30 ++++++++++++++++++++++
.../generic/patches-3.8/725-phy_rtl8306.patch | 2 +-
.../generic/patches-3.8/726-phy_rtl8366.patch | 2 +-
target/linux/lantiq/xrx200/config-3.14 | 2 +-
target/linux/lantiq/xrx200/config-default | 2 +-
target/linux/lantiq/xway/config-3.14 | 2 +-
target/linux/lantiq/xway/config-default | 2 +-
target/linux/mpc85xx/config-3.14 | 4 +--
target/linux/ramips/rt3883/config-3.18 | 2 +-
45 files changed, 248 insertions(+), 196 deletions(-)
delete mode 100644 target/linux/generic/patches-3.10/724-phy_ar8216.patch
create mode 100644 target/linux/generic/patches-3.10/724-phy_ar8xxx.patch
delete mode 100644 target/linux/generic/patches-3.13/724-phy_ar8216.patch
create mode 100644 target/linux/generic/patches-3.13/724-phy_ar8xxx.patch
delete mode 100644 target/linux/generic/patches-3.14/724-phy_ar8216.patch
create mode 100644 target/linux/generic/patches-3.14/724-phy_ar8xxx.patch
delete mode 100644 target/linux/generic/patches-3.18/724-phy_ar8216.patch
create mode 100644 target/linux/generic/patches-3.18/724-phy_ar8xxx.patch
delete mode 100644 target/linux/generic/patches-3.18/732-phy-ar8216-led-support.patch
create mode 100644 target/linux/generic/patches-3.18/732-phy-ar8xxx-led-support.patch
delete mode 100644 target/linux/generic/patches-3.19/724-phy_ar8216.patch
create mode 100644 target/linux/generic/patches-3.19/724-phy_ar8xxx.patch
delete mode 100644 target/linux/generic/patches-3.8/724-phy_ar8216.patch
create mode 100644 target/linux/generic/patches-3.8/724-phy_ar8xxx.patch
--
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list