brcm47xx: add bgmac driver
This Ethernet driver is in early development stage and still has some problems. This was working on my bcm4716 based device. Thanks to Rafał Miłecki <zajec5@gmail.com> for writing this driver. SVN-Revision: 34995
This commit is contained in:
parent
8f6bdcffa1
commit
4443997fd8
5 changed files with 1698 additions and 0 deletions
|
@ -7,6 +7,7 @@ set_preinit_iface() {
|
||||||
insmod hwmon
|
insmod hwmon
|
||||||
insmod tg3
|
insmod tg3
|
||||||
insmod b44
|
insmod b44
|
||||||
|
insmod bgmac
|
||||||
|
|
||||||
# hardware specific overrides
|
# hardware specific overrides
|
||||||
case "$(cat /proc/diag/model)" in
|
case "$(cat /proc/diag/model)" in
|
||||||
|
|
|
@ -36,3 +36,18 @@ define KernelPackage/ocf-ubsec-ssb/description
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call KernelPackage,ocf-ubsec-ssb))
|
$(eval $(call KernelPackage,ocf-ubsec-ssb))
|
||||||
|
|
||||||
|
define KernelPackage/bgmac
|
||||||
|
TITLE:=Broadcom bgmac driver
|
||||||
|
KCONFIG:=CONFIG_BGMAC
|
||||||
|
DEPENDS:=@TARGET_brcm47xx
|
||||||
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
|
FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/bgmac.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,50,bgmac)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/bgmac/description
|
||||||
|
Kernel modules for Broadcom bgmac Ethernet adapters.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,bgmac))
|
||||||
|
|
1680
target/linux/brcm47xx/patches-3.6/750-bgmac.patch
Normal file
1680
target/linux/brcm47xx/patches-3.6/750-bgmac.patch
Normal file
File diff suppressed because it is too large
Load diff
|
@ -205,6 +205,7 @@ CONFIG_BCMA_POSSIBLE=y
|
||||||
# CONFIG_BE2NET is not set
|
# CONFIG_BE2NET is not set
|
||||||
# CONFIG_BEFS_FS is not set
|
# CONFIG_BEFS_FS is not set
|
||||||
# CONFIG_BFS_FS is not set
|
# CONFIG_BFS_FS is not set
|
||||||
|
# CONFIG_BGMAC is not set
|
||||||
# CONFIG_BINARY_PRINTF is not set
|
# CONFIG_BINARY_PRINTF is not set
|
||||||
# CONFIG_BINFMT_AOUT is not set
|
# CONFIG_BINFMT_AOUT is not set
|
||||||
CONFIG_BINFMT_ELF=y
|
CONFIG_BINFMT_ELF=y
|
||||||
|
|
|
@ -209,6 +209,7 @@ CONFIG_BCMA_POSSIBLE=y
|
||||||
# CONFIG_BE2NET is not set
|
# CONFIG_BE2NET is not set
|
||||||
# CONFIG_BEFS_FS is not set
|
# CONFIG_BEFS_FS is not set
|
||||||
# CONFIG_BFS_FS is not set
|
# CONFIG_BFS_FS is not set
|
||||||
|
# CONFIG_BGMAC is not set
|
||||||
# CONFIG_BINARY_PRINTF is not set
|
# CONFIG_BINARY_PRINTF is not set
|
||||||
# CONFIG_BINFMT_AOUT is not set
|
# CONFIG_BINFMT_AOUT is not set
|
||||||
CONFIG_BINFMT_ELF=y
|
CONFIG_BINFMT_ELF=y
|
||||||
|
|
Loading…
Reference in a new issue