summaryrefslogtreecommitdiff
path: root/target/linux/ixp4xx/patches-3.0/201-npe_driver_print_license_location.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2011-07-06 13:03:38 +0000
committerImre Kaloz <kaloz@openwrt.org>2011-07-06 13:03:38 +0000
commita832965eff3fd8d6540f2c3f12dbd969a55eb8ba (patch)
tree218807ac42818c850dfb82de2f9757d64099087a /target/linux/ixp4xx/patches-3.0/201-npe_driver_print_license_location.patch
parenta00596924bdb47bac223851e79208e4f051677f5 (diff)
downloadmtk-20170518-a832965eff3fd8d6540f2c3f12dbd969a55eb8ba.zip
mtk-20170518-a832965eff3fd8d6540f2c3f12dbd969a55eb8ba.tar.gz
mtk-20170518-a832965eff3fd8d6540f2c3f12dbd969a55eb8ba.tar.bz2
add 3.0 support
SVN-Revision: 27493
Diffstat (limited to 'target/linux/ixp4xx/patches-3.0/201-npe_driver_print_license_location.patch')
-rw-r--r--target/linux/ixp4xx/patches-3.0/201-npe_driver_print_license_location.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ixp4xx/patches-3.0/201-npe_driver_print_license_location.patch b/target/linux/ixp4xx/patches-3.0/201-npe_driver_print_license_location.patch
new file mode 100644
index 0000000..e6bbbc3
--- /dev/null
+++ b/target/linux/ixp4xx/patches-3.0/201-npe_driver_print_license_location.patch
@@ -0,0 +1,11 @@
+--- a/arch/arm/mach-ixp4xx/ixp4xx_npe.c
++++ b/arch/arm/mach-ixp4xx/ixp4xx_npe.c
+@@ -582,6 +582,8 @@ int npe_load_firmware(struct npe *npe, c
+ npe_reset(npe);
+ #endif
+
++ print_npe(KERN_INFO, npe, "firmware's license can be found in /usr/share/doc/LICENSE.IPL\n");
++
+ print_npe(KERN_INFO, npe, "firmware functionality 0x%X, "
+ "revision 0x%X:%X\n", (image->id >> 16) & 0xFF,
+ (image->id >> 8) & 0xFF, image->id & 0xFF);