From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Date: Sat, 17 Dec 2011 01:12:16 +0000 Subject: Re: [PATCH v4] Resurrect Intel740 driver: i740fb Message-Id: <20111216171216.f307b3fe.akpm@linux-foundation.org> List-Id: References: <201112080024.24383.linux@rainbow-software.org> In-Reply-To: <201112080024.24383.linux@rainbow-software.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Ondrej Zary Cc: linux-fbdev@vger.kernel.org, Florian Tobias Schandinat , Paul Mundt , Kernel development list On Thu, 8 Dec 2011 00:24:18 +0100 Ondrej Zary wrote: > This is a resurrection of an old (like 2.4.19) out-of-tree driver for > Intel740 graphics cards and modify it for recent kernels. The old driver is > located at: http://sourceforge.net/projects/i740fbdev/files/ > > This is a new driver based on skeletonfb, using most of the low level HW code > from the old driver. The DDC code is completely new. > > The driver was tested on two 8MB cards: Protac AG240D and Diamond Stealth II > G460. > > Signed-off-by: Ondrej Zary The original driver appears to have been written by Andrey Ulanov. It would be nice to mention that in the changelog and it is desirable that you seek his Signed-off-by:, please. > Changes in v4: > - shortened many lines to fit 80-char limit > - removed useless inb_p and outb_p functions > - converted DDC (and some other) code to i740outreg_mask > - removed useless wm initialization in i740_calc_fifo() > - ALIGN macro is used instead of manual alignment > - removed inactive code > - simplified i740_setcolreg() > - info->var used for panning > - fixed out-of-video-memory checking It still generates a large number of checkpatch errors. If you've reviewed those and made the decision to ignore them then OK(ish). Otherwise, please check. > > ... > > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include Should there have been a dependency on i2c in the Kconfig entry? If not, has the driver been tested with is2 disabled? > +#include > +#include