OHMYGOD! set_multicast_list()!!

OHMYGOD! set_multicast_list()!!

Post by Henry Shi » Sun, 26 Nov 1995 04:00:00



There seems a lot of changes in linux/drivers/net/*.c

But the function: set_multicast_list() in *.c
seems to be defined conflict (As for de4x5.c):

: static void set_multicast_list(struct device *dev);

but later:

: static void set_multicast_list(struct device *dev, int num_addrs,
                                 void *addrs);

Also for another function:

: static void    SetMulticastFilter(struct device *dev, int num_addrs,
                                    char *addrs);

but later:

: static void SetMulticastFilter(struct device *dev)

Hm......

                                Henry Shieh

 
 
 

OHMYGOD! set_multicast_list()!!

Post by Jared Mau » Tue, 28 Nov 1995 04:00:00




Quote:>There seems a lot of changes in linux/drivers/net/*.c

>But the function: set_multicast_list() in *.c
>seems to be defined conflict (As for de4x5.c):

        This line is correct:

Quote:>: static void set_multicast_list(struct device *dev);

>but later:

        This line is wrong:

Quote:>: static void set_multicast_list(struct device *dev, int num_addrs,
>                                 void *addrs);

        Just patch them all to be like the first one, and you're all set,
that fixed my 1.3.44 kernel.

        - jared

 
 
 

OHMYGOD! set_multicast_list()!!

Post by habi.. » Tue, 28 Nov 1995 04:00:00


: There seems a lot of changes in linux/drivers/net/*.c

: But the function: set_multicast_list() in *.c
: seems to be defined conflict (As for de4x5.c):

: : static void set_multicast_list(struct device *dev);

: but later:

: : static void set_multicast_list(struct device *dev, int num_addrs,
:                                  void *addrs);

: Also for another function:

: : static void    SetMulticastFilter(struct device *dev, int num_addrs,
:                                     char *addrs);

: but later:

: : static void SetMulticastFilter(struct device *dev)

: Hm......

:                                 Henry Shieh

This also happens when trying to compile ~/linux/drivers/net 8390.c

--

 
 
 

OHMYGOD! set_multicast_list()!!

Post by Greg Sieka » Wed, 29 Nov 1995 04:00:00


Quote:> :       This line is correct:
> : >: static void set_multicast_list(struct device *dev);
> : >
> :       This line is wrong:
> : >: static void set_multicast_list(struct device *dev, int num_addrs,
> : >                                 void *addrs);
> : >

> Thanks, my dear. It works now; I gave up using de4x5.c; now I use
> tulip.c for my dec21040 pci ethernet card.

What changes did you make to the de4x5.c to get it to work?  It's
definitely more than what's shown above.

Did it every get it to work?

I have a SMC pci etherpower with the dec21041 chip and tulip.c doesn't
work for the new chip yet so I use the de4x5.c.

thanks,
Greg

 
 
 

1. set_multicast_list callback problem.

Hi all .
I'm developing my first network driver which can receive multicast
packet.
I set 'dev->set_multicast_list' with my call back function.
It is called when I changed device flags by ifconfig command, so I think
the call back function is installed correctly.

The problem is that the call back function is not called when list of
multicast address is changed , though the IFF_MULTICAST flag has been
set.

Does anyone know the cause of this problem?

Thank in advance.

2. 2.5.2-pre2 forces ramfs on

3. OHMYGOD! GNOME/RH6 killed Java!

4. PMS drivers on sunsite?