summaryrefslogtreecommitdiff
path: root/target/linux/ixp4xx/patches-2.6.38/201-npe_driver_print_license_location.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2011-03-22 15:04:17 +0000
committerImre Kaloz <kaloz@openwrt.org>2011-03-22 15:04:17 +0000
commit4ee90744336226051c4d72ffca7345c831b5ae38 (patch)
tree27829976b70489a7efe15a2de027dd66cf73096e /target/linux/ixp4xx/patches-2.6.38/201-npe_driver_print_license_location.patch
parent0a65ef965dbe0137224a60c12068564d0e8ee516 (diff)
downloadmtk-20170518-4ee90744336226051c4d72ffca7345c831b5ae38.zip
mtk-20170518-4ee90744336226051c4d72ffca7345c831b5ae38.tar.gz
mtk-20170518-4ee90744336226051c4d72ffca7345c831b5ae38.tar.bz2
add 2.6.38 support
SVN-Revision: 26268
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.38/201-npe_driver_print_license_location.patch')
-rw-r--r--target/linux/ixp4xx/patches-2.6.38/201-npe_driver_print_license_location.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.38/201-npe_driver_print_license_location.patch b/target/linux/ixp4xx/patches-2.6.38/201-npe_driver_print_license_location.patch
new file mode 100644
index 0000000..e6bbbc3
--- /dev/null
+++ b/target/linux/ixp4xx/patches-2.6.38/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);