[realtek-bug] rtl8139.c:v1.16 11/7/2001

Glenn Burkhardt glenn@vtecus.com
Mon Nov 12 08:53:01 2001


It doesn't compile.  I get:

gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c rtl8139.c
rtl8139.c:197: nondigits in number and not hexadecimal
rtl8139.c:197: nondigits in number and not hexadecimal
rtl8139.c:198: `HAS_DESC' undeclared here (not in a function)
rtl8139.c:198: initializer element is not constant
rtl8139.c:198: (near initialization for `pci_tbl[0].drv_flags')

On line 197, a initializer is written 0ff, instead of 0xff (I can fix that!).

But on line 198, the macro RTL8139D_CAPS has an undefined constant (HAS_DESC).
What should that be?

#define RTL8139D_CAPS  HAS_CHIP_XCVR|HAS_LNK_CHNG|HAS_DESC