[tulip-bug] Kingston kne111tx and recompiling tulip on Mandrake8.0

Keith Warno keith.warno@valaran.com
Thu, 12 Jul 2001 17:24:44 -0400


Donald Becker wrote:
> 
> Doh!
> That's exactly what happened.
> The 2.4.6 kernel now defines SIOCGMIIPHY, but not the ioctl(SIOCSPARAMS)
> call that sets parameters such as the interrupt mitigation value (on the
> tulip) and debug level (on certain drivers).
> 
> The work-around is to add an #endif/#ifdef to the kern_compat.h file
> 
> #ifndef SIOCGMIIPHY
> #define SIOCGMIIPHY (SIOCDEVPRIVATE)            /* Get the PHY in use. */
> #define SIOCGMIIREG (SIOCDEVPRIVATE+1)          /* Read a PHY register. */
> #define SIOCSMIIREG (SIOCDEVPRIVATE+2)          /* Write a PHY register. */
> #endif
> #ifndef SIOCGPARAMS
> #define SIOCGPARAMS (SIOCDEVPRIVATE+3)          /* Read operational parameters. */
> #define SIOCSPARAMS (SIOCDEVPRIVATE+4)          /* Set operational parameters. */
> #endif
> 
> Could you please try this?

OK, I did that, and also made the change to tulip.c ~line 2742 you
mentioned yesterday (changing dev_free_skb() called to
dev_kfree_skb_irq() to get rid of the bazillion syslog messages).  All
seems to be happy, but then again I've only been using it for the past
10 minutes or so.  :)

Again, this is done with tulip.c:v0.92w 7/9/2001 and kern_compat.h
$Revision: 1.8 $ $Date: 2001/05/18 22:51:18 $ and tulip.o is being used
with a good ol' LinkSys LNE100 (version 4).

kw
--                           
| Keith Warno                       cell: +1 609-209-5800
| http://www.valaran.com/           work: +1 609-716-7200 x243
| Valaran Corporation Penguin Guy   SMS : kw-mobile@valaran.com
+--------------------------------------------------------------//