]> err.no Git - linux-2.6/commit
phylib: cleanup marvell.c a bit
authorOlof Johansson <olof@lixom.net>
Tue, 3 Jul 2007 21:23:46 +0000 (16:23 -0500)
committerJeff Garzik <jeff@garzik.org>
Tue, 10 Jul 2007 16:41:09 +0000 (12:41 -0400)
commite54792396fb658b97e2f7b0541c6334020e1a3ec
treee1854134dca300195f9c26f83d149ee24c52045e
parent825a2ff1896ec3ead94bebef60c71f57254da58a
phylib: cleanup marvell.c a bit

Simplify the marvell driver init a bit: Make the supported devices an
array instead of explicitly registering each structure. This makes it
considerably easier to add new devices down the road.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/phy/marvell.c