[vortex] Pb with wake on lan and linux 2.2.16
Fabien Salvi
fabien@cri74.org
Wed, 26 Jul 2000 15:25:49 +0200
Fabien Salvi wrote:
>
> Hello.
>
> I am using wake on lan functionnality with a 3com 905b.
> It was working well on a linux 2.2.13, 2.2.14
> But, with the linux 2.2.16 (with the same configuration file), it
> doesn't work.
> Is someone has the same troubles ?
Well. I had understood why I have this problem :
In the old linux kernel, I replace the original 3c59x.c by the v0.99L
version.
If I put this version, wake on lan works well.
But the 3c59x driver supplied with the 2.2.16 kernel is based on the
v0.99H version.
Why ?
I've tried to use the last version (v0.99Q), but it doesn't compile :
3c59x.c:2157: `DRV_ATTACH' undeclared (first use this function)
3c59x.c:2160: `DRV_SUSPEND' undeclared (first use this function)
3c59x.c:2165: `DRV_RESUME' undeclared (first use this function)
3c59x.c:2169: `DRV_DETACH' undeclared (first use this function)
3c59x.c:2171: dereferencing pointer to incomplete type
3c59x.c:2172: warning: passing arg 1 of `dev_close' from incompatible
pointer type
3c59x.c:2173: dereferencing pointer to incomplete type
3c59x.c:2175: warning: passing arg 1 of `unregister_netdev' from
incompatible pointer type
3c59x.c:2176: dereferencing pointer to incomplete type
3c59x.c:2176: invalid use of undefined type `struct pci_id_info'
3c59x.c:2178: dereferencing pointer to incomplete type
3c59x.c:2181: dereferencing pointer to incomplete type
3c59x.c:2193: `DRV_PWR_WakeOn' undeclared (first use this function)
3c59x.c:2202: warning: implicit declaration of function
`acpi_set_pwr_state'
3c59x.c:2202: `ACPI_D3' undeclared (first use this function)
3c59x.c:2204: warning: unreachable code at beginning of switch statement
Maybe it's because of my glibc version, 2.0.7 (I use a Debian GNU/Linux
2.1).
Thanks for your help...
-------------
Fabien SALVI Centre de Ressources Informatiques
Archamps, France -- http://www.cri74.org
PingOO/linux distribution : http://www.pingoo.org