openwrtv3/target/linux/ixp4xx/patches-3.10/201-npe_driver_print_license_location.patch
Jonas Gorski 87c0c2d81d ixp4xx: add support for linux 3.10
Run tested on a NSLU2.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37124
2013-07-01 18:42:49 +00:00

11 lines
429 B
Diff

--- a/arch/arm/mach-ixp4xx/ixp4xx_npe.c
+++ b/arch/arm/mach-ixp4xx/ixp4xx_npe.c
@@ -586,6 +586,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);