<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/net/mv643xx_eth.c, branch v2.6.26.8</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>mv643xx_eth: inter-mv643xx SMI port sharing</title>
<updated>2008-04-29T04:17:07+00:00</updated>
<author>
<name>Lennert Buytenhek</name>
<email>buytenh@wantstofly.org</email>
</author>
<published>2008-04-23T23:29:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ce4e2e4558903ef92edf1ab4e09b0b338a09fd61'/>
<id>ce4e2e4558903ef92edf1ab4e09b0b338a09fd61</id>
<content type='text'>
There exist chips with up to four mv643xx_eth silicon blocks but
only one external SMI (MII management) interface -- the SMI logic
of the first block is shared by all the blocks.

Handle this by allowing a per-port override of which
mv643xx_eth_shared's SMI registers (and spinlock) to use.

Signed-off-by: Lennert Buytenhek &lt;buytenh@marvell.com&gt;
Acked-by: Nicolas Pitre &lt;nico@marvell.com&gt;
Signed-off-by: Dale Farnsworth &lt;dale@farnsworth.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There exist chips with up to four mv643xx_eth silicon blocks but
only one external SMI (MII management) interface -- the SMI logic
of the first block is shared by all the blocks.

Handle this by allowing a per-port override of which
mv643xx_eth_shared's SMI registers (and spinlock) to use.

Signed-off-by: Lennert Buytenhek &lt;buytenh@marvell.com&gt;
Acked-by: Nicolas Pitre &lt;nico@marvell.com&gt;
Signed-off-by: Dale Farnsworth &lt;dale@farnsworth.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mv643xx_eth: configurable t_clk</title>
<updated>2008-04-29T04:17:07+00:00</updated>
<author>
<name>Lennert Buytenhek</name>
<email>buytenh@wantstofly.org</email>
</author>
<published>2008-04-23T23:27:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c416a41f99be190e1f558cb06f70ddd560ce8b4b'/>
<id>c416a41f99be190e1f558cb06f70ddd560ce8b4b</id>
<content type='text'>
Make t_clk configurable via platform device data (with the current
hardcoded value, 133 MHz, being the default), as it varies across
different chip families.

Signed-off-by: Lennert Buytenhek &lt;buytenh@marvell.com&gt;
Acked-by: Nicolas Pitre &lt;nico@marvell.com&gt;
Signed-off-by: Dale Farnsworth &lt;dale@farnsworth.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make t_clk configurable via platform device data (with the current
hardcoded value, 133 MHz, being the default), as it varies across
different chip families.

Signed-off-by: Lennert Buytenhek &lt;buytenh@marvell.com&gt;
Acked-by: Nicolas Pitre &lt;nico@marvell.com&gt;
Signed-off-by: Dale Farnsworth &lt;dale@farnsworth.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mv643xx_eth: mbus decode window support</title>
<updated>2008-04-29T04:17:07+00:00</updated>
<author>
<name>Lennert Buytenhek</name>
<email>buytenh@wantstofly.org</email>
</author>
<published>2008-04-23T23:27:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f2ce825d2a89b30af14fa577298fecaab7bc9504'/>
<id>f2ce825d2a89b30af14fa577298fecaab7bc9504</id>
<content type='text'>
Make it possible to pass mbus_dram_target_info to the mv643xx_eth
driver via the platform data, and make the mv643xx_eth driver
program the window registers based on this data if it is passed in.

Signed-off-by: Lennert Buytenhek &lt;buytenh@marvell.com&gt;
Reviewed-by: Tzachi Perelstein &lt;tzachi@marvell.com&gt;
Acked-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Signed-off-by: Dale Farnsworth &lt;dale@farnsworth.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make it possible to pass mbus_dram_target_info to the mv643xx_eth
driver via the platform data, and make the mv643xx_eth driver
program the window registers based on this data if it is passed in.

Signed-off-by: Lennert Buytenhek &lt;buytenh@marvell.com&gt;
Reviewed-by: Tzachi Perelstein &lt;tzachi@marvell.com&gt;
Acked-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Signed-off-by: Dale Farnsworth &lt;dale@farnsworth.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mv643xx_eth: get rid of static variables, allow multiple instances</title>
<updated>2008-04-29T04:17:07+00:00</updated>
<author>
<name>Lennert Buytenhek</name>
<email>buytenh@wantstofly.org</email>
</author>
<published>2008-04-23T23:27:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=fa3959f457109cc7d082b86ea6daae927982815b'/>
<id>fa3959f457109cc7d082b86ea6daae927982815b</id>
<content type='text'>
Move mv643xx_eth's static state (ethernet register block base address
and MII management interface spinlock) into a struct hanging off the
shared platform device.  This is necessary to support chips that
contain multiple mv643xx_eth silicon blocks.

Signed-off-by: Lennert Buytenhek &lt;buytenh@marvell.com&gt;
Acked-by: Nicolas Pitre &lt;nico@marvell.com&gt;
Signed-off-by: Dale Farnsworth &lt;dale@farnsworth.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move mv643xx_eth's static state (ethernet register block base address
and MII management interface spinlock) into a struct hanging off the
shared platform device.  This is necessary to support chips that
contain multiple mv643xx_eth silicon blocks.

Signed-off-by: Lennert Buytenhek &lt;buytenh@marvell.com&gt;
Acked-by: Nicolas Pitre &lt;nico@marvell.com&gt;
Signed-off-by: Dale Farnsworth &lt;dale@farnsworth.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net drivers: fix platform driver hotplug/coldplug</title>
<updated>2008-04-25T06:08:54+00:00</updated>
<author>
<name>Kay Sievers</name>
<email>kay.sievers@vrfy.org</email>
</author>
<published>2008-04-18T20:50:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=72abb46101fb5c47a9592914adb221b430ff26bd'/>
<id>72abb46101fb5c47a9592914adb221b430ff26bd</id>
<content type='text'>
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is
prefixed with "platform:".  Add MODULE_ALIAS() to the hotpluggable network
platform drivers, to re-enable auto loading.

NOTE: didn't change drivers/net/fs_enet/fs_enet-main.c "old binding" support.
That looks problematic in the first place (it even uses the ancient "struct
device_driver" binding scheme for platform_bus!) and I suspect it will vanish
soonish when arch/powerpc rules the world.  Also, drivers/net/ne.c would have
needed more thought to sort out.

[akpm@linux-foundation.org: fix sgiseeq.c]
[dbrownell@users.sourceforge.net: more drivers, registration fixes]
Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Cc: Scott Wood &lt;scottwood@freescale.com&gt;
Cc: Vitaly Bordug &lt;vitb@kernel.crashing.org&gt;
Cc: Dale Farnsworth &lt;dale@farnsworth.org&gt;
Cc: Ben Dooks &lt;ben-linux@fluff.org&gt;
Cc: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Cc: Andrew Victor &lt;andrew@sanpeople.com&gt;
Cc: Bryan Wu &lt;bryan.wu@analog.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is
prefixed with "platform:".  Add MODULE_ALIAS() to the hotpluggable network
platform drivers, to re-enable auto loading.

NOTE: didn't change drivers/net/fs_enet/fs_enet-main.c "old binding" support.
That looks problematic in the first place (it even uses the ancient "struct
device_driver" binding scheme for platform_bus!) and I suspect it will vanish
soonish when arch/powerpc rules the world.  Also, drivers/net/ne.c would have
needed more thought to sort out.

[akpm@linux-foundation.org: fix sgiseeq.c]
[dbrownell@users.sourceforge.net: more drivers, registration fixes]
Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Cc: Scott Wood &lt;scottwood@freescale.com&gt;
Cc: Vitaly Bordug &lt;vitb@kernel.crashing.org&gt;
Cc: Dale Farnsworth &lt;dale@farnsworth.org&gt;
Cc: Ben Dooks &lt;ben-linux@fluff.org&gt;
Cc: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Cc: Andrew Victor &lt;andrew@sanpeople.com&gt;
Cc: Bryan Wu &lt;bryan.wu@analog.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mv643xx_eth: update copyright</title>
<updated>2008-04-17T00:06:49+00:00</updated>
<author>
<name>Lennert Buytenhek</name>
<email>buytenh@wantstofly.org</email>
</author>
<published>2008-03-18T18:40:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4547fa615f2d60e80e11d7ac2488c982bddeabdc'/>
<id>4547fa615f2d60e80e11d7ac2488c982bddeabdc</id>
<content type='text'>
Signed-off-by: Lennert Buytenhek &lt;buytenh@marvell.com&gt;
Reviewed-by: Tzachi Perelstein &lt;tzachi@marvell.com&gt;
Signed-off-by: Dale Farnsworth &lt;dale@farnsworth.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Lennert Buytenhek &lt;buytenh@marvell.com&gt;
Reviewed-by: Tzachi Perelstein &lt;tzachi@marvell.com&gt;
Signed-off-by: Dale Farnsworth &lt;dale@farnsworth.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mv643xx_eth: only print banner once</title>
<updated>2008-04-17T00:06:49+00:00</updated>
<author>
<name>Lennert Buytenhek</name>
<email>buytenh@wantstofly.org</email>
</author>
<published>2008-03-18T18:39:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e519abb63d689caa2f655adae214f7e255ae2166'/>
<id>e519abb63d689caa2f655adae214f7e255ae2166</id>
<content type='text'>
When there are multiple mv643xx_eth silicon blocks in the system,
don't print an initialisation message for each and every one of
them.

Signed-off-by: Lennert Buytenhek &lt;buytenh@marvell.com&gt;
Reviewed-by: Tzachi Perelstein &lt;tzachi@marvell.com&gt;
Signed-off-by: Dale Farnsworth &lt;dale@farnsworth.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When there are multiple mv643xx_eth silicon blocks in the system,
don't print an initialisation message for each and every one of
them.

Signed-off-by: Lennert Buytenhek &lt;buytenh@marvell.com&gt;
Reviewed-by: Tzachi Perelstein &lt;tzachi@marvell.com&gt;
Signed-off-by: Dale Farnsworth &lt;dale@farnsworth.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mv643xx_eth: pass port identifier to register accessors</title>
<updated>2008-04-17T00:06:49+00:00</updated>
<author>
<name>Lennert Buytenhek</name>
<email>buytenh@wantstofly.org</email>
</author>
<published>2008-03-18T18:38:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ec69d651ac4fe726c870a82a2a75c7da69ddf4b9'/>
<id>ec69d651ac4fe726c870a82a2a75c7da69ddf4b9</id>
<content type='text'>
Pass a struct mv643xx_private * to the register accessor functions,
as a preparation for having multiple mv643xx_eth silicon blocks.

(Since this causes some 80 column straddling, and the mv_ prefix
is useless anyway, rename mv_read to rdl and mv_write to wrl to
compensate.)

Signed-off-by: Lennert Buytenhek &lt;buytenh@marvell.com&gt;
Reviewed-by: Tzachi Perelstein &lt;tzachi@marvell.com&gt;
Signed-off-by: Dale Farnsworth &lt;dale@farnsworth.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pass a struct mv643xx_private * to the register accessor functions,
as a preparation for having multiple mv643xx_eth silicon blocks.

(Since this causes some 80 column straddling, and the mv_ prefix
is useless anyway, rename mv_read to rdl and mv_write to wrl to
compensate.)

Signed-off-by: Lennert Buytenhek &lt;buytenh@marvell.com&gt;
Reviewed-by: Tzachi Perelstein &lt;tzachi@marvell.com&gt;
Signed-off-by: Dale Farnsworth &lt;dale@farnsworth.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mv643xx_eth: report netdev name in all printks</title>
<updated>2008-04-17T00:06:49+00:00</updated>
<author>
<name>Lennert Buytenhek</name>
<email>buytenh@wantstofly.org</email>
</author>
<published>2008-03-18T18:37:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c1b35a28f20c2d6ff8c5a2a035002c06b9f498c9'/>
<id>c1b35a28f20c2d6ff8c5a2a035002c06b9f498c9</id>
<content type='text'>
In error and warning printks, always report the netdevice name
instead of the port index (the latter has no meaning when there
are multiple mv643xx_eth silicon blocks in the system.)

Signed-off-by: Lennert Buytenhek &lt;buytenh@marvell.com&gt;
Reviewed-by: Tzachi Perelstein &lt;tzachi@marvell.com&gt;
Signed-off-by: Dale Farnsworth &lt;dale@farnsworth.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In error and warning printks, always report the netdevice name
instead of the port index (the latter has no meaning when there
are multiple mv643xx_eth silicon blocks in the system.)

Signed-off-by: Lennert Buytenhek &lt;buytenh@marvell.com&gt;
Reviewed-by: Tzachi Perelstein &lt;tzachi@marvell.com&gt;
Signed-off-by: Dale Farnsworth &lt;dale@farnsworth.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mv643xx_eth: identify ports by struct mv643xx_private *</title>
<updated>2008-04-17T00:06:48+00:00</updated>
<author>
<name>Lennert Buytenhek</name>
<email>buytenh@wantstofly.org</email>
</author>
<published>2008-03-18T18:36:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=afdb57a2499a630d82b234307b1fc928088b9174'/>
<id>afdb57a2499a630d82b234307b1fc928088b9174</id>
<content type='text'>
Instead of identifying individual mv643xx ethernet ports by only
their port number, identify them by their struct mv643xx_private *,
as just a port number has no meaning when there are multiple
mv643xx_eth silicon blocks in the system.

Signed-off-by: Lennert Buytenhek &lt;buytenh@marvell.com&gt;
Reviewed-by: Tzachi Perelstein &lt;tzachi@marvell.com&gt;
Signed-off-by: Dale Farnsworth &lt;dale@farnsworth.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of identifying individual mv643xx ethernet ports by only
their port number, identify them by their struct mv643xx_private *,
as just a port number has no meaning when there are multiple
mv643xx_eth silicon blocks in the system.

Signed-off-by: Lennert Buytenhek &lt;buytenh@marvell.com&gt;
Reviewed-by: Tzachi Perelstein &lt;tzachi@marvell.com&gt;
Signed-off-by: Dale Farnsworth &lt;dale@farnsworth.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
