Re: sk98lin

From: Stephen Hemminger
Date: Thu Jan 12 2006 - 13:17:25 EST


On Thu, 12 Jan 2006 20:01:43 +0200
Nerijus Baliunas <nerijus@xxxxxxxxxxxxxxxxxxxxx> wrote:

> Hello,
>
> Why a newer driver (http://www.marvell.com/drivers/upload/install-8_28.tar.bz2,
> it's v8.28.1.3, while kernel has v6.23) is not integrated into kernel?
> Because of no one submitted it or does it have some problems?

It was submitted, but has several problems:
* wasn't done as small pieces; too much whole sale replacement
* ignored all the bugfixes and work that went into the mainline kernel
* merges support for two kinds of hardware in one driver

Also, it increases the amount of vendor ugly code; the sk98lin driver
would probably not be accepted today.

While developing the skge and sky2 driver I discovered more problems and
those got fixed in the mainline sk98lin driver. The vendor version has
issues like:
* does NAPI but has interrupts disabled
* has a watchdog routine to mask off all the bugs they never managed
to fix.
* sets PCI-express parameters to benchmark values that cause
random hangs and data corruption

That is why I wouldn't recommend the vendor version for any production
systems.

> Because w/o it some newer cards are not recognized
> (Marvell Technology Group Ltd. 88E8050 Gigabit Ethernet Controller (rev 17)
> for example).
>
> Regards,
> Nerijus
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/


--
Stephen Hemminger <shemminger@xxxxxxxx>
OSDL http://developer.osdl.org/~shemminger
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/