patch-1.3.38 linux/drivers/net/ibmtr.c
Next file: linux/drivers/net/ne.c
Previous file: linux/drivers/net/hp100.c
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
Mon Nov 6 12:29:40 1995
- Orig file:
v1.3.37/linux/drivers/net/ibmtr.c
- Orig date:
Sat Sep 9 15:26:52 1995
diff -u --recursive --new-file v1.3.37/linux/drivers/net/ibmtr.c linux/drivers/net/ibmtr.c
@@ -75,7 +75,6 @@
0x03, 0x05, 0x03, 0x01,
0x03, 0x08, 0x02, 0x00};
-#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/errno.h>
@@ -106,13 +105,9 @@
{
switch (type)
{
- case 'f':
- case 'F' : return "Adapter/A";
- case 'e':
- case 'E' : return "16/4 Adapter/II";
- default :
- printk("Unknow adapter %c\n", type);
- return "adapter";
+ case 0xF : return "Adapter/A";
+ case 0xE : return "16/4 Adapter/II";
+ default : return "adapter";
};
};
#endif
@@ -1017,7 +1012,9 @@
struct tok_info *ti;
ti=(struct tok_info *) dev->priv;
+#ifndef TR_NEWFORMAT
DPRINTK("now opening the board...\n");
+#endif
*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RESET + ISRP_ODD)=~(SRB_RESP_INT);
*(unsigned char *)(ti->mmio + ACA_OFFSET + ACA_RESET + ISRA_ODD)=~(CMD_IN_SRB);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this