]> git.baikalelectronics.ru Git - kernel.git/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)
commit8469e67844f9888519e17df025c92acfa3567ae2
treee1854134dca300195f9c26f83d149ee24c52045e
parent800988d5e10c9f12601e34974e3cc9e57afc8d61
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