patch-2.2.10 linux/drivers/net/ibmtr.c
Next file: linux/drivers/net/irda/Config.in
Previous file: linux/drivers/net/eexpress.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Sun Jun 13 10:48:21 1999
- Orig file:
v2.2.9/linux/drivers/net/ibmtr.c
- Orig date:
Tue May 11 13:10:29 1999
diff -u --recursive --new-file v2.2.9/linux/drivers/net/ibmtr.c linux/drivers/net/ibmtr.c
@@ -513,7 +513,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
@@ -833,6 +833,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)