diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2010-02-18 01:50:31 +0100 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2010-02-24 20:36:54 +0100 |
commit | d54423c62c2f687919d4e5bdd4bb064234ff2d44 (patch) | |
tree | d5f32f6188e69c1bca388b92127cb0f26ac0f3aa /arch/m32r/include/asm/s1d13806.h | |
parent | 109d28152b6e9d5de64cd23e3bc08885ccb3d1ef (diff) |
firewire: core: fix "giving up on config rom" with Panasonic AG-DV2500
The Panasonic AG-DV2500 tape deck contains an invalid entry in its
configuration ROM root directory: A leaf pointer with the undefined key
ID 0 and an offset that points way out of the standard config ROM area.
This caused firewire-core to dismiss the device with the generic log
message "giving up on config rom for node id...", after which it was of
course impossible to access the tape deck with dvgrab or any other
program. https://bugzilla.redhat.com/show_bug.cgi?id=449252#c29
The fix is to simply ignore this invalid ROM entry and proceed to read
the valid rest of the ROM. There is a catch though: When the kernel
later iterates over the ROM, it would be nasty having to check again for
such too large ROM offsets. Therefore we manipulate the defective or
unsupported ROM entry to become a harmless immediate entry that won't
have any side effects later (an entry with the value 0x00000000).
Reported-by: George Chriss
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'arch/m32r/include/asm/s1d13806.h')
0 files changed, 0 insertions, 0 deletions