Messages in this thread |  | | Date | Fri, 06 Feb 2009 02:58:01 +0300 | | From | Sergei Shtylyov <> | | Subject | Re: [PATCH 01/15] ide: include <asm/ide.h> only when needed |
| |
Hello.
Bartlomiej Zolnierkiewicz wrote:
>>>>> +#include <asm/ide.h> >>>>> >>>> Did you try checkpatch.pl? >>>> >>> Sure. >>> >>> This driver uses stuff from <asm-mips/ide.h>. >>> >>> [ I guess I could put '-mips' there to silence warnings on tx493{8,9}.c, >>> however I don't know of the way to get rid of ide-io-std.c's one... ] >>> >> BTW, tx4939ide_{in,out}put_data_swap and >> tx4939ide_{in,out}put_data_swap do exactly same thing. >> >> If byte-swapped version of ide_{in,out}put_data() were available by >> ide core, they can be used instead. The byte-swapped version of >> default_tp_ops would much helps such queer big-endian platforms. Is >> it worth to bloat ide core? ;-) >> > > Seems to be a good idea and it may also help some other host drivers > (ide-h8300.c?). >
I'm not sure we need to carry the extra little used code just to help some exotic driver.
> Thanks, > Bart
MBR, Sergei
|  |