blob: 3d694863b12434f509a60d9d1a21b9d2b9f9cc7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
Some misc utils and files from the XiVO IPBX Open Hardware project
==================================================================
architecture_driver_xhfc.dia
An old architecture diagram for the interactions surrounding the XHFC
driver. Prolly obsolete.
convert.rb
Writes C preprocessor definitions for bit offsets in a register, from
text copypasted from an Intel datasheet from xpdf.
Paste the definition in stdin and press enter. ::
no@yorceev ~/misc (master) % ruby1.9.1 convert.rb STATUS
31 : 10 Rsvd
09 : 08 Reserved
07 : 06 SPEED
05 LINKMODE
04 TXOFF
03 : 02 Rsvd
01 RSVD
00 FD
#define STATUS_SPEED 6
#define STATUS_LINKMODE 5
#define STATUS_TXOFF 4
#define STATUS_FD 0
convert2.rb
Analyses the content of a register which value is passed on the command
line and definition is pasted from an Intel datasheet in xpdf. End the
definition with Control+D. ::
no@yorceev ~/misc (master) % ruby1.9.1 convert2.rb 0x000440b0
31 : 10 Rsvd
09 : 08 Reserved
07 : 06 SPEED
05 LINKMODE
04 TXOFF
03 : 02 Rsvd
01 RSVD
00 FD
31:10 0000000000000100010000b 110h 420o
9:8 00b 0h 0o
7:6 SPEED 10b 2h 2o
5:5 LINKMODE 1b 1h 1o
4:4 TXOFF 1b 1h 1o
3:2 00b 0h 0o
1:1 0b 0h 0o
0:0 FD 0b 0h 0o
dump_stuff
A Linux kernel module which, on load, dumps the content of the PCI
config and MMIO regions for the EP80579 IMCH.
find_nitpicking.rb
Filters a patch by remothing hunks consisting only of whitespace
change.
fix_linux_indent.rb
Intended to be called from VIM by selecting a region and starting the
script as a filtering command on the regions; it reindents the region
while keeping it at the right indentation.
git_checkpatch.sh
Obsolete; exemple of using git and checkpatch.pl to check if a patch
follows Linux coding guidelines.
bin.c
Prints an integer in decimal, hexadecimal and binary.
replace_dowhile.rb
Et Coccinelle, c'est pour les chiens?
|