-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the Micrel drivers into drivers/net/ethernet/micrel/ and make the necessary Kconfig and Makefile changes. CC: Ben Dooks <ben@simtec.co.uk> CC: Tristram Ha <Tristram.Ha@micrel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
- Loading branch information
Jeff Kirsher
committed
Aug 12, 2011
1 parent
ec21e2e
commit bcc9736
Showing
15 changed files
with
75 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# | ||
# Micrel device configuration | ||
# | ||
|
||
config NET_VENDOR_MICREL | ||
bool "Micrel devices" | ||
depends on (HAS_IOMEM && DMA_ENGINE) || SPI || PCI || HAS_IOMEM || \ | ||
(ARM && ARCH_KS8695) | ||
---help--- | ||
If you have a network (Ethernet) card belonging to this class, say Y | ||
and read the Ethernet-HOWTO, available from | ||
<http://www.tldp.org/docs.html#howto>. | ||
|
||
Note that the answer to this question doesn't directly affect the | ||
kernel: saying N will just cause the configurator to skip all | ||
the questions about Micrel devices. If you say Y, you will be asked | ||
for your specific card in the following questions. | ||
|
||
if NET_VENDOR_MICREL | ||
|
||
config ARM_KS8695_ETHER | ||
tristate "KS8695 Ethernet support" | ||
depends on ARM && ARCH_KS8695 | ||
select MII | ||
---help--- | ||
If you wish to compile a kernel for the KS8695 and want to | ||
use the internal ethernet then you should answer Y to this. | ||
|
||
config KS8842 | ||
tristate "Micrel KSZ8841/42 with generic bus interface" | ||
depends on HAS_IOMEM && DMA_ENGINE | ||
---help--- | ||
This platform driver is for KSZ8841(1-port) / KS8842(2-port) | ||
ethernet switch chip (managed, VLAN, QoS) from Micrel or | ||
Timberdale(FPGA). | ||
|
||
config KS8851 | ||
tristate "Micrel KS8851 SPI" | ||
depends on SPI | ||
select MII | ||
select CRC32 | ||
---help--- | ||
SPI driver for Micrel KS8851 SPI attached network chip. | ||
|
||
config KS8851_MLL | ||
tristate "Micrel KS8851 MLL" | ||
depends on HAS_IOMEM | ||
select MII | ||
---help--- | ||
This platform driver is for Micrel KS8851 Address/data bus | ||
multiplexed network chip. | ||
|
||
config KSZ884X_PCI | ||
tristate "Micrel KSZ8841/2 PCI" | ||
depends on PCI | ||
select MII | ||
select CRC32 | ||
---help--- | ||
This PCI driver is for Micrel KSZ8841/KSZ8842 PCI Ethernet chip. | ||
|
||
To compile this driver as a module, choose M here. The module | ||
will be called ksz884x. | ||
|
||
endif # NET_VENDOR_MICREL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# | ||
# Makefile for the Micrel network device drivers. | ||
# | ||
|
||
obj-$(CONFIG_ARM_KS8695_ETHER) += ks8695net.o | ||
obj-$(CONFIG_KS8842) += ks8842.o | ||
obj-$(CONFIG_KS8851) += ks8851.o | ||
obj-$(CONFIG_KS8851_MLL) += ks8851_mll.o | ||
obj-$(CONFIG_KSZ884X_PCI) += ksz884x.o |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.