Browse Source

sb1250-mac: Driver model & phylib update

 A driver model and phylib update.  It includes the following changes:

1. Removal of unused module options.

2. Phylib support and the resulting removal of generic bits for handling
   the PHY.

3. Proper reserving of device resources and using ioremap()ped handles
   to access MAC registers rather than platform-specific macros.

4. Handling of the device using the driver model.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Maciej W. Rozycki 17 years ago
parent
commit
f5279ffdce
2 changed files with 303 additions and 476 deletions
  1. 1 0
      drivers/net/Kconfig
  2. 302 476
      drivers/net/sb1250-mac.c

+ 1 - 0
drivers/net/Kconfig

@@ -2111,6 +2111,7 @@ config R8169_VLAN
 config SB1250_MAC
 	tristate "SB1250 Gigabit Ethernet support"
 	depends on SIBYTE_SB1xxx_SOC
+	select PHYLIB
 	---help---
 	  This driver supports Gigabit Ethernet interfaces based on the
 	  Broadcom SiByte family of System-On-a-Chip parts.  They include

File diff suppressed because it is too large
+ 302 - 476
drivers/net/sb1250-mac.c


Some files were not shown because too many files changed in this diff