tulip driver compile error 2.2.0pre1

Paul (PELaufer@CSUPomona.edu)
Mon, 28 Dec 1998 20:59:31 -0800 (PST)


Hi,
The tulip driver included with the 2.2.0-pre1 kernel contains the
following bit of code which now causes an error when compiling.

Donald,
I know that the driver in the development kernel is an older
version. Would you suggest upgrading to a newer version ( which Linus
doesn't seem to want to do - I remember this being mentioned before on the
list ) or would just patching the current driver be an better solution
considering the major code freeze? Thanks in advance for your input.

Paul Laufer

---somewhere in drivers/net/tulip.c---

#if LINUX_VERSION_CODE < 0x20200 || defined(__alpha__)
memcpy(skb_put(skb, pkt_len),
bus_to_virt(lp->rx_ring[entry].buffer 1), pkt_len);
#else
#ifdef ORIGINAL_TEXT
#warning Code untested
#else
#error Code is wrong, and it has nothing to do with 2.2 :-)
#endif

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/