Message ID | 20161209033141.5216-1-f.fainelli@gmail.com |
---|---|
State | Accepted |
Headers | show |
On 09/12/2016 04:31, Florian Fainelli wrote: > Add the kernel module package for the Opencores.org Ethernet MAC, > depends on PHYLIB. > > Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> > --- > package/kernel/linux/modules/netdevices.mk | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk > index 787dd40efc9a..e8d80aeefc2c 100644 > --- a/package/kernel/linux/modules/netdevices.mk > +++ b/package/kernel/linux/modules/netdevices.mk > @@ -886,3 +886,18 @@ define KernelPackage/spi-ks8995/description > endef > > $(eval $(call KernelPackage,spi-ks8995)) minor nitpick, all the *.mk files have 2 blank lines between KernelPackage templates. i've added the missing blank line and merged the patch to my staging tree John > + > +define KernelPackage/ethoc > + SUBMENU:=$(NETWORK_DEVICES_MENU) > + TITLE:=Opencore.org ethoc driver > + DEPENDS:=+kmod-libphy > + FILES:=$(LINUX_DIR)/drivers/net/ethernet/ethoc.ko > + KCONFIG:=CONFIG_ETHOC > + AUTOLOAD:=$(call AutoProbe,ethoc) > +endef > + > +define KernelPackage/ethoc/description > + Kernel module for the Opencores.org ethernet adapter > +endef > + > +$(eval $(call KernelPackage,ethoc)) >
Le 12/08/16 à 23:05, John Crispin a écrit : > > > On 09/12/2016 04:31, Florian Fainelli wrote: >> Add the kernel module package for the Opencores.org Ethernet MAC, >> depends on PHYLIB. >> >> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> >> --- >> package/kernel/linux/modules/netdevices.mk | 15 +++++++++++++++ >> 1 file changed, 15 insertions(+) >> >> diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk >> index 787dd40efc9a..e8d80aeefc2c 100644 >> --- a/package/kernel/linux/modules/netdevices.mk >> +++ b/package/kernel/linux/modules/netdevices.mk >> @@ -886,3 +886,18 @@ define KernelPackage/spi-ks8995/description >> endef >> >> $(eval $(call KernelPackage,spi-ks8995)) > > minor nitpick, all the *.mk files have 2 blank lines between > KernelPackage templates. i've added the missing blank line and merged > the patch to my staging tree Did you? Can't find it: git log blogic/master --grep="ethoc"
On 23/12/2016 03:47, Florian Fainelli wrote: > Le 12/08/16 à 23:05, John Crispin a écrit : >> >> >> On 09/12/2016 04:31, Florian Fainelli wrote: >>> Add the kernel module package for the Opencores.org Ethernet MAC, >>> depends on PHYLIB. >>> >>> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> >>> --- >>> package/kernel/linux/modules/netdevices.mk | 15 +++++++++++++++ >>> 1 file changed, 15 insertions(+) >>> >>> diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk >>> index 787dd40efc9a..e8d80aeefc2c 100644 >>> --- a/package/kernel/linux/modules/netdevices.mk >>> +++ b/package/kernel/linux/modules/netdevices.mk >>> @@ -886,3 +886,18 @@ define KernelPackage/spi-ks8995/description >>> endef >>> >>> $(eval $(call KernelPackage,spi-ks8995)) >> >> minor nitpick, all the *.mk files have 2 blank lines between >> KernelPackage templates. i've added the missing blank line and merged >> the patch to my staging tree > > Did you? Can't find it: > > git log blogic/master --grep="ethoc" > apparently i forgot, will merge it just now, sorry about that. John
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 787dd40efc9a..e8d80aeefc2c 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -886,3 +886,18 @@ define KernelPackage/spi-ks8995/description endef $(eval $(call KernelPackage,spi-ks8995)) + +define KernelPackage/ethoc + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Opencore.org ethoc driver + DEPENDS:=+kmod-libphy + FILES:=$(LINUX_DIR)/drivers/net/ethernet/ethoc.ko + KCONFIG:=CONFIG_ETHOC + AUTOLOAD:=$(call AutoProbe,ethoc) +endef + +define KernelPackage/ethoc/description + Kernel module for the Opencores.org ethernet adapter +endef + +$(eval $(call KernelPackage,ethoc))
Add the kernel module package for the Opencores.org Ethernet MAC, depends on PHYLIB. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> --- package/kernel/linux/modules/netdevices.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+)