URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [drivers/] [isdn/] [hisax/] [cert.c] - Rev 1772
Go to most recent revision | Compare with Previous | Blame | View Log
/* $Id: cert.c,v 1.1 2005-12-20 10:17:01 jcastillo Exp $ * Author Karsten Keil (keil@isdn4linux.de) * * This file is (c) under GNU PUBLIC LICENSE * For changes and modifications please read * ../../../Documentation/isdn/HiSax.cert * * $Log: not supported by cvs2svn $ * Revision 1.1.1.1 2001/09/10 07:44:18 simons * Initial import * * Revision 1.1.1.1 2001/07/02 17:58:32 simons * Initial revision * * Revision 1.2.2.1 1998/11/03 21:46:37 keil * first version * * */ #include <linux/kernel.h> int certification_check(int output) { #ifdef CERTIFICATION #if CERTIFICATION == 0 if (output) { printk(KERN_INFO "HiSax: Approval certification valid\n"); printk(KERN_INFO "HiSax: Approved with ELSA Quickstep series cards\n"); printk(KERN_INFO "HiSax: Approval registration numbers:\n"); printk(KERN_INFO "HiSax: German D133361J CETECOM ICT Services GmbH\n"); printk(KERN_INFO "HiSax: EU (D133362J) CETECOM ICT Services GmbH\n"); } return(0); #endif #if CERTIFICATION == 1 if (output) { printk(KERN_INFO "HiSax: Approval certification failed because of\n"); printk(KERN_INFO "HiSax: unauthorized source code changes\n"); } return(1); #endif #if CERTIFICATION == 127 if (output) { printk(KERN_INFO "HiSax: Approval certification not possible\n"); printk(KERN_INFO "HiSax: because \"md5sum\" is not available\n"); } return(2); #endif #else if (output) { printk(KERN_INFO "HiSax: Certification not verified\n"); } return(3); #endif }
Go to most recent revision | Compare with Previous | Blame | View Log