* adds profiles to the kernel * fixes 2 compile errors in the usb driver * ioports were not allocated properly

SVN-Revision: 25278
This commit is contained in:
John Crispin
2011-02-01 14:37:35 +00:00
parent e919bd002a
commit 1e89df511a
12 changed files with 276 additions and 47 deletions

9
target/linux/lantiq/extract.py Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/python
from sys import stdin, stdout
while True:
c = stdin.read(2)
if len(c) < 2:
break
n1, n2 = ord(c[0]), ord(c[1])
stdout.write(chr(((n2 & 15) << 4) + ((n2 & 240) >> 4)))
stdout.write(chr(((n1 & 15) << 4) + ((n1 & 240) >> 4)))