Переглянути джерело

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 18 роки тому
батько
коміт
f5279ffdce
2 змінених файлів з 303 додано та 476 видалено
  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
 config SB1250_MAC
 	tristate "SB1250 Gigabit Ethernet support"
 	tristate "SB1250 Gigabit Ethernet support"
 	depends on SIBYTE_SB1xxx_SOC
 	depends on SIBYTE_SB1xxx_SOC
+	select PHYLIB
 	---help---
 	---help---
 	  This driver supports Gigabit Ethernet interfaces based on the
 	  This driver supports Gigabit Ethernet interfaces based on the
 	  Broadcom SiByte family of System-On-a-Chip parts.  They include
 	  Broadcom SiByte family of System-On-a-Chip parts.  They include

Різницю між файлами не показано, бо вона завелика
+ 302 - 476
drivers/net/sb1250-mac.c


Деякі файли не було показано, через те що забагато файлів було змінено