Skip to contentSkip to conversation

#undef ATA_ENABLE_PATA

DISCUSSION Horms 3 participants 5 messages Aug 26, 2005 8 messages not in the archive libata

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Horms

author
#7 lore raw

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

Signature · 1 line
Horms

A message that is not in the archive (sent off-list or not yet received): [email protected]

#9 lore raw
Quoted 12 lines · Horms

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.

Quoted 7 lines

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).

Quoted 6 lines
#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

author
#10 lore raw
Quoted 32 lines · Jeff Garzik
Quoted 12 lines · Horms

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.

Quoted 7 lines

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).

Quoted 7 lines

#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 */

Quoted 6 lines

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.

Signature · 1 line
Horms
#12 lore raw
Quoted 8 lines · Erik Slagter
Quoted 2 lines · Horms

#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