2006-01-12 18:02:14

by Nerijus Baliūnas

[permalink] [raw]
Subject: sk98lin

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?
Because w/o it some newer cards are not recognized
(Marvell Technology Group Ltd. 88E8050 Gigabit Ethernet Controller (rev 17)
for example).

Regards,
Nerijus


2006-01-12 18:07:34

by Nerijus Baliūnas

[permalink] [raw]
Subject: Re: sk98lin

On Thu, 12 Jan 2006 20:01:43 +0200 Nerijus Baliunas <[email protected]> wrote:

> 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?
> Because w/o it some newer cards are not recognized
> (Marvell Technology Group Ltd. 88E8050 Gigabit Ethernet Controller (rev 17)
> for example).

oops, sorry, I see it in another thread (that's what you get writing messages
without first reading todays new ones:)

Regards,
Nerijus

2006-01-12 18:18:49

by Stephen Hemminger

[permalink] [raw]
Subject: Re: sk98lin

On Thu, 12 Jan 2006 20:01:43 +0200
Nerijus Baliunas <[email protected]> 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 [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/


--
Stephen Hemminger <[email protected]>
OSDL http://developer.osdl.org/~shemminger

2006-01-12 20:50:09

by Nerijus Baliūnas

[permalink] [raw]
Subject: Re: sk98lin

On Thu, 12 Jan 2006 10:18:43 -0800 Stephen Hemminger <[email protected]> wrote:

> While developing the skge and sky2 driver I discovered more problems and
> those got fixed in the mainline sk98lin driver.

What is a difference between them? Which one supports Marvell Technology
Group Ltd. 88E8050 Gigabit Ethernet Controller (rev 17)?
skge in 2.6.14 does not support it.

Regards,
Nerijus

2006-01-12 21:10:29

by Stephen Hemminger

[permalink] [raw]
Subject: Re: sk98lin

On Thu, 12 Jan 2006 22:43:44 +0200
Nerijus Baliunas <[email protected]> wrote:

> On Thu, 12 Jan 2006 10:18:43 -0800 Stephen Hemminger <[email protected]> wrote:
>
> > While developing the skge and sky2 driver I discovered more problems and
> > those got fixed in the mainline sk98lin driver.
>
> What is a difference between them? Which one supports Marvell Technology
> Group Ltd. 88E8050 Gigabit Ethernet Controller (rev 17)?
> skge in 2.6.14 does not support it.

sky2 is for 88e8050 and related chips

--
Stephen Hemminger <[email protected]>
OSDL http://developer.osdl.org/~shemminger