patch-2.3.7 linux/drivers/net/ibmtr.c
Next file: linux/drivers/net/irda/irport.c
Previous file: linux/drivers/net/Makefile
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Wed Jun 16 19:26:27 1999
- Orig file:
v2.3.6/linux/drivers/net/ibmtr.c
- Orig date:
Wed May 12 13:27:37 1999
diff -u --recursive --new-file v2.3.6/linux/drivers/net/ibmtr.c linux/drivers/net/ibmtr.c
@@ -515,7 +515,7 @@
/* How much shared RAM is on adapter ? */
#ifdef PCMCIA
ti->avail_shared_ram = pcmcia_reality_check(get_sram_size(ti));
- ibmtr_mem_base = ti->sram_base ;
+ ibmtr_mem_base = ti->sram_base << 12 ;
#else
ti->avail_shared_ram = get_sram_size(ti);
#endif
@@ -835,6 +835,9 @@
(int)readb(ti->srb + offsetof(struct srb_close_adapter, ret_code)));
dev->start = 0;
+#ifdef PCMCIA
+ ti->sram = 0 ;
+#endif
DPRINTK("Adapter closed.\n");
MOD_DEC_USE_COUNT;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)