Skip to contentSkip to conversation

Reasons behind HAVE_TX_TIMEOUT

DISCUSSION Daniel Drake 2 participants 2 messages Aug 18, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

Just curious, why do we have an unconditional #define in netdevice.h for HAVE_TX_TIMEOUT, and some drivers (e.g. xirc2ps_cs) using it conditionally as if it might be disabled on some builds?

There are other similar defines in netdevice.h too.

Thanks,
Daniel

#1 lore raw
Quoted 5 lines · Daniel Drake

Hi,

Just curious, why do we have an unconditional #define in netdevice.h for HAVE_TX_TIMEOUT, and some drivers (e.g. xirc2ps_cs) using it conditionally as if it might be disabled on some builds?

There are other similar defines in netdevice.h too.

Ancient back-compat defines, for 2.2-era, pre-softnet code where tx_timeout did not exist.

Jeff