diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-10-20 11:42:23 (GMT) |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-11-11 16:55:55 (GMT) |
commit | 0e0d13364b417a40266999c61671db0ef8690ad3 (patch) | |
tree | 51924743f301a186b4ac9e46eb0bc99b42a7413e /drivers/video/dnfb.c | |
parent | 38eb6863ed21de9beab792f66cd282c21e0dc10b (diff) | |
download | linux-fsl-qoriq-0e0d13364b417a40266999c61671db0ef8690ad3.tar.xz |
fbdev/cirrusfb: Rewrite Zorro graphics card probing
As indicated by commit a7f4d00a82feb5b311f765bf9522bc55bee0684f ("zorro:
Defer device_register() until all devices have been identified"), cirrusfb
crashes if zorro_find_device() cannot find an expected device.
Rewrite the Zorro device probe code to make it more robust, easier to
understand, and more extensible.
Other logical changes:
- For cards that show up as 2 Zorro devices, autoprobe graphics memory
sizes based on the size of the Zorro device containing the graphics
memory.
Acording to the NetBSD sources, this is safe.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/dnfb.c')
0 files changed, 0 insertions, 0 deletions