lkml.org 
[lkml]   [2007]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] linux/io.h: forward declare struct pci_dev
On Sun, Feb 11, 2007 at 07:10:47AM +0000, Christoph Hellwig wrote:
> On Sun, Feb 11, 2007 at 06:34:31AM +0000, Al Viro wrote:
> > +config NO_IOPORT
> > + bool
> > + default n
>
> please make this IOPORT. config symbols with an implicit negation
> are quite horrible for the brain to understand.

Take a look at lib/Kconfig. And see HAS_IOPORT there.

The reason for doing it that way: majority of targets has that stuff
already. Even more should have it eventually. IOW, the default should
be positive. Modified in arch/*/Kconfig of targets where it doesn't
work. Which is exactly what's done here.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-02-11 09:25    [W:0.116 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site