[tulip] NetGear FA511 card acting erratically
Vsevolod (Simon) Ilyushchenko
simonf at cshl.edu
Wed Jul 7 08:36:09 PDT 2004
Magicfox, you are great! That helped, and so far the card works...
Simon
magicfox wrote:
> Hi,
>
> I saw somewhere...
> #ifdef __KERNEL__
> /* externally defined structs */
> ...
> struct net_device;
> ...
>
> So I suspect the change_mtu field isn't defined in the struct. If I add
> in ns820.c after #include </linux/netdevices.h>
> #undef HAVE_CHANGE_MTU
> I can compile it without problem.
> Don't ask to me why and if it works, I haven't this hardware.
>
> In case of, and if you can found that, I'm angry to known where those
> externals are defined.
>
> @+
>
>
> Vsevolod (Simon) Ilyushchenko wrote:
>
>> Hi magicfox,
>>
>> Thanks for the answer!
>>
>> My file netdevice.h does contain the definition of change_mtu (after
>> #define HAVE_CHANGE_MTU), and I do have the parameter
>> -I/usr/src/linux-2.4/include (otherwise nothing compiles). Yet somehow
>> it's not picked up... I can't understand why.
--
Simon (Vsevolod ILyushchenko) simonf at cshl.edu
http://www.simonf.com
Terrorism is a tactic and so to declare war on terrorism
is equivalent to Roosevelt's declaring war on blitzkrieg.
Zbigniew Brzezinski, U.S. national security advisor, 1977-81
More information about the tulip
mailing list