commit | 97c44836cdec1ea713a15d84098a1a908157e68f | [log] [tgz] |
---|---|---|
author | Timothy S. Nelson <wayland@wayland.id.au> | Fri Jan 30 06:12:47 2009 +1100 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Wed Feb 04 16:58:41 2009 -0800 |
tree | bc544c64ed8eeb3feb2f0b210ae7db04a40e1bae | |
parent | 3419c75e15f82c3ab09bd944fddbde72c9e4b3ea [diff] |
PCI: return error on failure to read PCI ROMs This patch makes the ROM reading code return an error to user space if the size of the ROM read is equal to 0. The patch also emits a warnings if the contents of the ROM are invalid, and documents the effects of the "enable" file on ROM reading. Signed-off-by: Timothy S. Nelson <wayland@wayland.id.au> Acked-by: Alex Villacis-Lasso <a_villacis@palosanto.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>