commit | f7d110c68c7d0fe1de567ea86194fb405d6a43a6 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@redhat.com> | Thu Mar 11 10:26:45 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue May 18 00:47:10 2010 -0300 |
tree | a96926aec6febf412a028fcfd0b49b377201b246 | |
parent | 9afec493e2fe1a477305a09f933267d805fe4c8c [diff] |
V4L/DVB: tm6000: Replace naming convention for registers of req 05 group After looking at the "magic" registers, it is clear that usb registers belong to request 5. Replace them with this script: cat /tmp/reg3 |perl -ne 'if (m/define (TM6000_U_)([^\s]+)\s+0x([A-F0-9].)/) { \ $name=$2; $val=$3; printf "s,$1$2,TM6010_REQ05_R%s_%s,g\n", $val, $name; }' >a; sed -f a tm6000-regs.h >b; mv b tm6000-regs.h Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>