* #undef ATA_ENABLE_PATA [not found] ` <20050826032417.GA6065@canonical.org> @ 2005-08-26 4:36 ` Horms [not found] ` <20050826043601.GY6418@verge.net.au> 1 sibling, 0 replies; 5+ messages in thread From: Horms @ 2005-08-26 4:36 UTC (permalink / raw) To: jgarzik, linux-ide; +Cc: Brett Smith, 319659 Hi Jeff, Hi All, In the cause of debuging a problem with a DVD burner[1] Brett Smith brought to my attention that there are several variables in ./include/linux/libata.h, that when changed from #undef to #define, enable features in the ATA subsystem. Is there any interest in a patch to make any/all of these configurable through Kconfig, or are they too hackish/dangerous/whatever to consider. I'm more than happy to make a patch if there is interest, please let me know wither way. Specifically, I am refering to: /* * compile-time options */ #undef ATA_DEBUG /* debugging output */ #undef ATA_VERBOSE_DEBUG /* yet more debugging output */ #undef ATA_IRQ_TRAP /* define to ack screaming irqs */ #undef ATA_NDEBUG /* define to disable quick runtime checks */ #undef ATA_ENABLE_ATAPI /* define to enable ATAPI support */ #undef ATA_ENABLE_PATA /* define to enable PATA support in some * low-level drivers */ #undef ATAPI_ENABLE_DMADIR /* enables ATAPI DMADIR bridge support */ [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=319659 -- Horms ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <20050826043601.GY6418@verge.net.au>]
* Re: #undef ATA_ENABLE_PATA [not found] ` <20050826043601.GY6418@verge.net.au> @ 2005-08-26 4:55 ` Jeff Garzik 2005-08-26 5:44 ` Horms 2005-08-26 8:49 ` Erik Slagter 1 sibling, 1 reply; 5+ messages in thread From: Jeff Garzik @ 2005-08-26 4:55 UTC (permalink / raw) To: Horms; +Cc: linux-ide, Brett Smith, 319659 Horms wrote: > Hi Jeff, Hi All, > > In the cause of debuging a problem with a DVD burner[1] > Brett Smith brought to my attention that there are several > variables in ./include/linux/libata.h, that when changed > from #undef to #define, enable features in the ATA subsystem. > > Is there any interest in a patch to make any/all of these configurable > through Kconfig, or are they too hackish/dangerous/whatever to consider. > I'm more than happy to make a patch if there is interest, please let me > know wither way. > > Specifically, I am refering to: > > /* > * compile-time options > */ > #undef ATA_DEBUG /* debugging output */ > #undef ATA_VERBOSE_DEBUG /* yet more debugging output */ These should go away, once ATA_MSG_xxx is implemented (a la NETIF_MSG_xxx). > #undef ATA_IRQ_TRAP /* define to ack screaming irqs */ > #undef ATA_NDEBUG /* define to disable quick runtime checks */ > #undef ATA_ENABLE_ATAPI /* define to enable ATAPI support */ > #undef ATA_ENABLE_PATA /* define to enable PATA support in some > * low-level drivers */ > #undef ATAPI_ENABLE_DMADIR /* enables ATAPI DMADIR bridge support */ These are all things that are either incomplete, or should not be configured by non-developers. When something is safe to turn on in the upstream kernel, it gets turned on :) This is why ATAPI defaults to off, even though some silly distros turn it on. Jeff ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: #undef ATA_ENABLE_PATA 2005-08-26 4:55 ` Jeff Garzik @ 2005-08-26 5:44 ` Horms 0 siblings, 0 replies; 5+ messages in thread From: Horms @ 2005-08-26 5:44 UTC (permalink / raw) To: Jeff Garzik; +Cc: linux-ide, Brett Smith, 319659 On Fri, Aug 26, 2005 at 12:55:23AM -0400, Jeff Garzik wrote: > Horms wrote: > >Hi Jeff, Hi All, > > > >In the cause of debuging a problem with a DVD burner[1] > >Brett Smith brought to my attention that there are several > >variables in ./include/linux/libata.h, that when changed > >from #undef to #define, enable features in the ATA subsystem. > > > >Is there any interest in a patch to make any/all of these configurable > >through Kconfig, or are they too hackish/dangerous/whatever to consider. > >I'm more than happy to make a patch if there is interest, please let me > >know wither way. > > > >Specifically, I am refering to: > > > >/* > > * compile-time options > > */ > >#undef ATA_DEBUG /* debugging output */ > >#undef ATA_VERBOSE_DEBUG /* yet more debugging output */ > > These should go away, once ATA_MSG_xxx is implemented (a la NETIF_MSG_xxx). > > > >#undef ATA_IRQ_TRAP /* define to ack screaming irqs */ > >#undef ATA_NDEBUG /* define to disable quick runtime checks > >*/ > >#undef ATA_ENABLE_ATAPI /* define to enable ATAPI support */ > >#undef ATA_ENABLE_PATA /* define to enable PATA support in some > > * low-level drivers */ > >#undef ATAPI_ENABLE_DMADIR /* enables ATAPI DMADIR bridge support */ > > These are all things that are either incomplete, or should not be > configured by non-developers. > > When something is safe to turn on in the upstream kernel, it gets turned > on :) This is why ATAPI defaults to off, even though some silly distros > turn it on. Thanks Jeff, I suspected something along those lines. -- Horms ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: #undef ATA_ENABLE_PATA [not found] ` <20050826043601.GY6418@verge.net.au> 2005-08-26 4:55 ` Jeff Garzik @ 2005-08-26 8:49 ` Erik Slagter 2005-08-26 9:30 ` Jeff Garzik 1 sibling, 1 reply; 5+ messages in thread From: Erik Slagter @ 2005-08-26 8:49 UTC (permalink / raw) To: Horms; +Cc: 319659, Brett Smith, linux-ide, jgarzik [-- Attachment #1: Type: text/plain, Size: 268 bytes --] On Fri, 2005-08-26 at 13:36 +0900, Horms wrote: > #undef ATA_ENABLE_ATAPI /* define to enable ATAPI support */ > #undef ATA_ENABLE_PATA /* define to enable PATA support in some These two would very interesting to me to be included in Kconfig. [-- Attachment #2: smime.p7s --] [-- Type: application/x-pkcs7-signature, Size: 2115 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: #undef ATA_ENABLE_PATA 2005-08-26 8:49 ` Erik Slagter @ 2005-08-26 9:30 ` Jeff Garzik 0 siblings, 0 replies; 5+ messages in thread From: Jeff Garzik @ 2005-08-26 9:30 UTC (permalink / raw) To: Erik Slagter; +Cc: Horms, 319659, Brett Smith, linux-ide Erik Slagter wrote: > On Fri, 2005-08-26 at 13:36 +0900, Horms wrote: > > >>#undef ATA_ENABLE_ATAPI /* define to enable ATAPI support */ >>#undef ATA_ENABLE_PATA /* define to enable PATA support in some > > > These two would very interesting to me to be included in Kconfig. Neither of these are ready for prime time, with known problems. Move them to Kconfig, and I have to deal with the bug reports. No thanks... Jeff ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-08-26 9:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20050723192433.GA25240@canonical.org>
[not found] ` <20050723201010.GE6913@bugs.debian.org>
[not found] ` <20050723223744.GA18882@canonical.org>
[not found] ` <20050724091729.GF6913@bugs.debian.org>
[not found] ` <20050724140705.GA6942@canonical.org>
[not found] ` <20050725035430.GJ10254@verge.net.au>
[not found] ` <20050826032417.GA6065@canonical.org>
2005-08-26 4:36 ` #undef ATA_ENABLE_PATA Horms
[not found] ` <20050826043601.GY6418@verge.net.au>
2005-08-26 4:55 ` Jeff Garzik
2005-08-26 5:44 ` Horms
2005-08-26 8:49 ` Erik Slagter
2005-08-26 9:30 ` Jeff Garzik
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).