public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [IDE] meaningless #ifndef?
@ 2001-02-19 21:57 Pozsar Balazs
  2001-02-19 22:31 ` Andre Hedrick
  2001-02-20  9:47 ` Andrzej Krzysztofowicz
  0 siblings, 2 replies; 10+ messages in thread
From: Pozsar Balazs @ 2001-02-19 21:57 UTC (permalink / raw)
  To: linux-kernel

from drivers/ide/ide-features.c:

/*
 *  All hosts that use the 80c ribbon mus use!
 */
byte eighty_ninty_three (ide_drive_t *drive)
{
        return ((byte) ((HWIF(drive)->udma_four) &&
#ifndef CONFIG_IDEDMA_IVB
                        (drive->id->hw_config & 0x4000) &&
#endif /* CONFIG_IDEDMA_IVB */
                        (drive->id->hw_config & 0x6000)) ? 1 : 0);
}

If i see well, then this is always same whether CONFIG_IDEDMA_IVB is
defined or not.
What's the clue?

-- 
pozsy.


^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <Pine.LNX.4.21.0102201705280.11260-100000@alloc>]

end of thread, other threads:[~2001-02-20 19:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-19 21:57 [IDE] meaningless #ifndef? Pozsar Balazs
2001-02-19 22:31 ` Andre Hedrick
2001-02-19 23:31   ` Bill Wendling
2001-02-19 23:34     ` Andre Hedrick
2001-02-20  4:45     ` Tom Leete
2001-02-20  5:10     ` Tom Leete
2001-02-20  9:47 ` Andrzej Krzysztofowicz
     [not found] <Pine.LNX.4.21.0102201705280.11260-100000@alloc>
2001-02-20 17:45 ` Hugh Dickins
2001-02-20 18:20   ` Vojtech Pavlik
2001-02-20 19:08     ` Hugh Dickins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox