patch-1.3.97 linux/drivers/net/depca.c
Next file: linux/drivers/scsi/NCR5380.c
Previous file: linux/drivers/isdn/teles/card.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Mon Apr 29 17:11:39 1996
- Orig file:
v1.3.96/linux/drivers/net/depca.c
- Orig date:
Wed Apr 24 17:00:40 1996
diff -u --recursive --new-file v1.3.96/linux/drivers/net/depca.c linux/drivers/net/depca.c
@@ -201,11 +201,12 @@
<pchen@woodruffs121.residence.gatech.edu>.
Add new multicasting code.
0.421 22-Apr-96 Fix alloc_device() bug <jari@markkus2.fimr.fi>
+ 0.422 29-Apr-96 Fix depca_hw_init() bug <jari@markkus2.fimr.fi>
=========================================================================
*/
-static const char *version = "depca.c:v0.421 96/4/22 davies@wanton.lkg.dec.com\n";
+static const char *version = "depca.c:v0.422 96/4/29 davies@wanton.lkg.dec.com\n";
#include <linux/module.h>
@@ -483,8 +484,8 @@
if (inw(DEPCA_DATA) == STOP) {
if (mem == 0) {
- for (; mem_base[mem_chkd]; mem_chkd++) {
- mem_start = mem_base[mem_chkd];
+ while (mem_base[mem_chkd]) {
+ mem_start = mem_base[mem_chkd++];
DepcaSignature(name, mem_start);
if (*name != '\0') break;
}
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