devtab.c (949B)
1 #include "u.h" 2 #include "mem.h" 3 #include "lib.h" 4 #include "dat.h" 5 #include "fns.h" 6 #include "error.h" 7 8 extern Dev aoedevtab; 9 extern Dev consdevtab; 10 extern Dev rootdevtab; 11 extern Dev pipedevtab; 12 extern Dev ramdevtab; 13 extern Dev ssldevtab; 14 extern Dev tlsdevtab; 15 extern Dev mousedevtab; 16 extern Dev drawdevtab; 17 extern Dev ipdevtab; 18 extern Dev fsdevtab; 19 extern Dev mntdevtab; 20 extern Dev audiodevtab; 21 extern Dev envdevtab; 22 extern Dev srvdevtab; 23 extern Dev procdevtab; 24 extern Dev mntloopdevtab; 25 extern Dev dupdevtab; 26 extern Dev sddevtab; 27 extern Dev capdevtab; 28 extern Dev etherdevtab; 29 30 Dev *devtab[] = { 31 &rootdevtab, /* must be first */ 32 &aoedevtab, 33 &audiodevtab, 34 &capdevtab, 35 &consdevtab, 36 &drawdevtab, 37 &dupdevtab, 38 &envdevtab, 39 ðerdevtab, 40 &ipdevtab, 41 &mntdevtab, 42 &mntloopdevtab, 43 &mousedevtab, 44 &pipedevtab, 45 &procdevtab, 46 &ramdevtab, 47 &sddevtab, 48 &srvdevtab, 49 &ssldevtab, 50 &tlsdevtab, 51 // must be the last one, can change to 0 52 &fsdevtab, 53 0 54 };