NetGear FA310TX Problems

George greerga@entropy.muc.muohio.edu
Wed Dec 2 00:22:13 1998


On Tue, 1 Dec 1998, Joshua Jackson wrote:

>Hey, I have a NetGear FA310TX NIC and I have 5 different versions of
>tulip.c (slack version, NetGear version, and three from your web-site).
>Everytime I try to compile them I get the same error.
>Likewise, when I try to rebuild my kernel, the same thing happens...
>
>mother:/# gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall
>-Wstrict-prototypes -O6 -c tulip.c
>/usr/include/asm/string.h: In function `__constant_memcpy':
>In file included from /usr/include/linux/string.h:39,
>                 from /usr/include/asm/termios.h:58,
>                 from /usr/include/linux/termios.h:5,
>                 from /usr/include/linux/tty.h:20,
>                 from /usr/include/linux/sched.h:26,
>                 from tulip.c:87:
>/usr/include/asm/string.h:443: warning: control reaches end of non-void
>function/usr/include/asm/string.h: In function
>`__constant_c_and_count_memset':
>/usr/include/asm/string.h:594: warning: control reaches end of non-void
>function
>mother:/#

That's a warning, not an error.  Just ignore it because when you analyze
the source code, the compiler is wrong anyway.

select (x % 4) {
  case 0:
  case 1:
  case 2:
  case 3:
}

The 2.1.x series kernels change the '3' to 'default' to shut up GCC.

-George Greer