patch-2.1.19 linux/drivers/net/dgrs.c
Next file: linux/drivers/net/e2100.c
Previous file: linux/drivers/net/depca.c
Back to the patch index
Back to the overall index
- Lines: 59
- Date:
Tue Dec 31 10:30:01 1996
- Orig file:
v2.1.18/linux/drivers/net/dgrs.c
- Orig date:
Sun Dec 22 16:37:32 1996
diff -u --recursive --new-file v2.1.18/linux/drivers/net/dgrs.c linux/drivers/net/dgrs.c
@@ -886,7 +886,7 @@
privN->bcomm->bc_filter_port = ioc.port;
privN->bcomm->bc_filter_num = ioc.filter;
privN->bcomm->bc_filter_len = ioc.len;
-
+
if (ioc.len)
{
COPY_FROM_USER(S2HN(privN->bcomm->bc_filter_area),
@@ -914,7 +914,7 @@
I596_CB *cbp;
int cmd;
int i;
-
+
++priv0->intrcnt;
if (1) ++priv0->bcomm->bc_cnt[4];
if (0)
@@ -1483,7 +1483,7 @@
+ (inb(io+ES4H_AS_23_16) << 16);
irq = is2iv[ inb(io+ES4H_IS) & ES4H_IS_INTMASK ];
-
+
dgrs_found_device(dev, io, mem, irq, 0L, 0L);
dev = 0;
@@ -1514,6 +1514,15 @@
static long ipxnet = -1;
static int nicmode = -1;
+MODULE_PARM(debug, "i");
+MODULE_PARM(dma, "i");
+MODULE_PARM(hashexpire, "i");
+MODULE_PARM(spantree, "i");
+MODULE_PARM(ipaddr, "1-4i");
+MODULE_PARM(iptrap, "1-4i");
+MODULE_PARM(ipxnet, "i");
+MODULE_PARM(nicmode, "i");
+
int
init_module(void)
{
@@ -1549,13 +1558,13 @@
dgrs_iptrap[i] = iptrap[i];
if (ipxnet != -1)
dgrs_ipxnet = htonl( ipxnet );
-
+
if (dgrs_debug)
{
printk("dgrs: SW=%s FW=Build %d %s\n",
version, dgrs_firmnum, dgrs_firmdate);
}
-
+
/*
* Find and configure all the cards
*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov