Re: [netatalk-admins] I'm missing something. [shorter]


Subject: Re: [netatalk-admins] I'm missing something. [shorter]
From: Steven N. Hirsch (shirsch@ibm.net)
Date: Tue Sep 16 1997 - 18:42:04 EDT


On Tue, 16 Sep 1997, Patrick Scott Pierce wrote:

> I had difficulty at one point until I realized I didn't have multicasting
> either compiled into the kernel or as a module. So the card could support
> it but the kernel couldn't. You will want to check your kernel for that
> and of course the ddp. If not, recompile. I would compile multicasting
> support vs. a module.
>

Argh. I was just bitten by this last evening. The original pre-2.0.30
kernels which I ran for netatalk hacking had 'dummy' drivers with
multicasting functionality active. I knew that the 2.1.x kernels ifdef'ed
this out (never understood why), but I _didn't_ realize that the change
propogated back to the 2.0 series!

Quick Patch (thanks to Brad Johnson):

--- linux/drivers/net/dummy.c.2126 Sun Feb 2 07:18:39 1997
+++ linux/drivers/net/dummy.c Thu Feb 20 12:24:20 1997
@@ -29,7 +29,7 @@
 */
 
 /* To have statistics (just packets sent) define this */
-#undef DUMMY_STATS
+#define DUMMY_STATS 1
 
 #include <linux/module.h>
 
@@ -70,6 +70,9 @@
         return 0;
 }
 
+static void dummy_set_multicast_list(struct device *dev)
+{
+}
 
 int dummy_init(struct device *dev)
 {
@@ -95,6 +98,7 @@
         ether_setup(dev);
         dev->tx_queue_len = 0;
         dev->flags |= IFF_NOARP;
+ dev->set_multicast_list = &dummy_set_multicast_list;
 
         return 0;
 }

This applies to 2.0.31-pre9 with some minor fuzz.

Does anyone have hardware and/or jumper information on the COPS/DayStar
Digital LT200? COPS' website had the port addressing settings, but
nothing on the IRQ jumpers.

Steve



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:26:41 EST