Reasons behind HAVE_TX_TIMEOUT
Subsystems (2)
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
Quoted 5 lines · Daniel Drake
Hi,
Just curious, why do we have an unconditional #define in
netdevice.hforHAVE_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.htoo.
Ancient back-compat defines, for 2.2-era, pre-softnet code where tx_timeout did not exist.
Jeff