From: bairstow@copland.psu.edu (Steven Bairstow) Subject: Re: Linux .99pl5 breaks 3c503 drivers from super.org Date: Fri, 12 Feb 1993 07:03:45 GMT
In article <1993Feb11.143736.7155@desire.wright.edu> gbothe@desire.wright.edu writes:
>Well, I compiled the new linux .99pl5 last night... One small
>problem however, Becker's 8390 ethernet drivers are now broke
>with this version. The TCP/IP code must have been modified
>significantly. The problem is that the ethernet drivers don't
>like the new dev.c.
I only needed two changes and even made a nice safe diff file out of them.
See below.
>I used .99pl4's dev.c (and dev.h) in place
>of the new one and the tcp compiled with a few warnings... The
>system booted and works alright with this modification; BUT,
>should I trust it???
Don't do that. You'll loose any improvements made to the file in pl5.
>Greg Bothe
>gbothe@desire.wright.edu
Steve
*** 8390.c-old Wed Feb 10 11:37:21 1993
--- 8390.c Wed Feb 10 11:40:50 1993
***************
*** 159,166 ****
if (skb == NULL) {
/* Alternative is ei_tx_intr(dev); */
ei_status.txing = 1;
! if (dev_tint(NULL, dev) == 0)
ei_status.txing = 0;
return 0;
}
/* Fill in the ethernet header. */
--- 159,167 ----
if (skb == NULL) {
/* Alternative is ei_tx_intr(dev); */
ei_status.txing = 1;
! /* if (dev_tint(NULL, dev) == 0)
ei_status.txing = 0;
+ */ dev_tint(dev);
return 0;
}
/* Fill in the ethernet header. */
***************
*** 377,384 ****
}
}
#else
! if (dev_tint(NULL, dev) == 0)
ei_status.txing = 0;
#endif
}
--- 378,386 ----
}
}
#else
! /* if (dev_tint(NULL, dev) == 0)
ei_status.txing = 0;
+ */ dev_tint(dev);
#endif
}