[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5d9b736f0809221334i773a500eu5ff61884729a4367@mail.gmail.com>
Date: Mon, 22 Sep 2008 22:34:14 +0200
From: "Michal Januszewski" <michalj@...il.com>
To: "Krzysztof Helt" <krzysztof.h1@...zta.fm>
Cc: linux-kernel@...r.kernel.org,
linux-fbdev-devel@...ts.sourceforge.net
Subject: Re: [PATCH] fbdev: don't allow to set a video mode via vga= if FB doesn't support it
On Mon, Sep 22, 2008 at 21:47, Krzysztof Helt <krzysztof.h1@...zta.fm> wrote:
> This one could be simpler:
>
> /* It's a supported text mode */
> is_graphic = 0;
> +#if FB_SUPPORTS_BOOT_VESA
> } else if ((vminfo.mode_attr & 0x99) == 0x99) {
> /* It's a graphics mode with linear frame buffer */
> is_graphic = 1;
> vesa_mode |= 0x4000; /* Request linear frame buffer */
> +#endif
> } else {
> return -1; /* Invalid mode */
> }
Agreed.
I'll wait at least one more day for any additional comments and repost
a fixed version.
Thanks for doing the code review.
--
Michal Januszewski, Gentoo Linux Developer
http://people.gentoo.org/spock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists