Openwrt/target/linux/ixp4xx/patches-2.6.23/201-npe_driver_print_license_location.patch

14 lines
587 B
Diff
Raw Normal View History

Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/ixp4xx_npe.c
===================================================================
--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/ixp4xx_npe.c
+++ linux-2.6.23.17/arch/arm/mach-ixp4xx/ixp4xx_npe.c
@@ -588,6 +588,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);