2 # ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
4 # Copyright (c) 2004, Haiku
6 # This software is part of the Haiku distribution and is covered
7 # by the Haiku license.
11 # Author: Jérôme Duval
12 # Description: Devices Preferences
13 # Created : July 8, 2004
15 # ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
21 printf("/*\tHaiku" "$\t*/\n\n")
23 printf(" This file is generated automatically. Don't edit. \n")
37 printf("typedef struct { char* id; char* devname; } idTable;\n")
38 printf("idTable isapnp_devids [] = {\n")
39 for (i =
1; i
<= n
; i
++) {
41 printf("\t\t\"%s\", \"%s\"\n", ids
[i
,1], ids
[i
,2])
45 printf("// Use this value for loop control during searching:\n")
46 printf("#define ISA_DEVTABLE_LEN %i\n", n
)