Ok. I didn't make 2.4.0 in 2000. Tough. I tried, but we had some
[davej-history.git] / drivers / isdn / hisax / cert.c
blob64f3bccc8c577946c6e0b7a3cb1ee9337b24adff
1 /* $Id: cert.c,v 2.3 2000/06/26 08:59:12 keil Exp $
3 * Author Karsten Keil (keil@isdn4linux.de)
5 * This file is (c) under GNU PUBLIC LICENSE
6 * For changes and modifications please read
7 * ../../../Documentation/isdn/HiSax.cert
9 */
11 #include <linux/kernel.h>
13 int
14 certification_check(int output) {
16 #ifdef CERTIFICATION
17 #if CERTIFICATION == 0
18 if (output) {
19 printk(KERN_INFO "HiSax: Approval certification valid\n");
20 printk(KERN_INFO "HiSax: Approved with ELSA Microlink PCI cards\n");
21 printk(KERN_INFO "HiSax: Approved with Eicon Technology Diva 2.01 PCI cards\n");
22 printk(KERN_INFO "HiSax: Approved with Sedlbauer Speedfax + cards\n");
24 return(0);
25 #endif
26 #if CERTIFICATION == 1
27 if (output) {
28 printk(KERN_INFO "HiSax: Approval certification failed because of\n");
29 printk(KERN_INFO "HiSax: unauthorized source code changes\n");
31 return(1);
32 #endif
33 #if CERTIFICATION == 127
34 if (output) {
35 printk(KERN_INFO "HiSax: Approval certification not possible\n");
36 printk(KERN_INFO "HiSax: because \"md5sum\" is not available\n");
38 return(2);
39 #endif
40 #else
41 if (output) {
42 printk(KERN_INFO "HiSax: Certification not verified\n");
44 return(3);
45 #endif