Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
7334f55d
Commit
7334f55d
authored
Jul 27, 2004
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
bbfdc7da
1a2cd48b
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
3287 additions
and
10 deletions
+3287
-10
arch/mips/configs/jaguar-atx_defconfig
arch/mips/configs/jaguar-atx_defconfig
+4
-4
arch/mips/configs/ocelot_c_defconfig
arch/mips/configs/ocelot_c_defconfig
+1
-1
arch/mips/momentum/jaguar_atx/prom.c
arch/mips/momentum/jaguar_atx/prom.c
+2
-2
arch/mips/momentum/ocelot_c/prom.c
arch/mips/momentum/ocelot_c/prom.c
+3
-3
drivers/net/Kconfig
drivers/net/Kconfig
+28
-0
drivers/net/Makefile
drivers/net/Makefile
+2
-0
drivers/net/mv643xx_eth.c
drivers/net/mv643xx_eth.c
+2646
-0
drivers/net/mv643xx_eth.h
drivers/net/mv643xx_eth.h
+601
-0
include/linux/mv643xx.h
include/linux/mv643xx.h
+0
-0
No files found.
arch/mips/configs/jaguar-atx_defconfig
View file @
7334f55d
...
...
@@ -306,10 +306,10 @@ CONFIG_EEPRO100=y
# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set
CONFIG_MV643
40
_ETH=y
CONFIG_MV643
40
_ETH_0=y
CONFIG_MV643
40
_ETH_1=y
CONFIG_MV643
40
_ETH_2=y
CONFIG_MV643
XX
_ETH=y
CONFIG_MV643
XX
_ETH_0=y
CONFIG_MV643
XX
_ETH_1=y
CONFIG_MV643
XX
_ETH_2=y
#
# Ethernet (10000 Mbit)
...
...
arch/mips/configs/ocelot_c_defconfig
View file @
7334f55d
...
...
@@ -304,7 +304,7 @@ CONFIG_NET_ETHERNET=y
# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set
# CONFIG_MV643
40
_ETH is not set
# CONFIG_MV643
XX
_ETH is not set
#
# Ethernet (10000 Mbit)
...
...
arch/mips/momentum/jaguar_atx/prom.c
View file @
7334f55d
...
...
@@ -40,7 +40,7 @@ const char *get_system_type(void)
return
"Momentum Jaguar-ATX"
;
}
#ifdef CONFIG_MV643
40
_ETH
#ifdef CONFIG_MV643
XX
_ETH
extern
unsigned
char
prom_mac_addr_base
[
6
];
static
void
burn_clocks
(
void
)
...
...
@@ -230,7 +230,7 @@ void __init prom_init(void)
mips_machgroup
=
MACH_GROUP_MOMENCO
;
mips_machtype
=
MACH_MOMENCO_JAGUAR_ATX
;
#ifdef CONFIG_MV643
40
_ETH
#ifdef CONFIG_MV643
XX
_ETH
/* get the base MAC address for on-board ethernet ports */
get_mac
(
prom_mac_addr_base
);
#endif
...
...
arch/mips/momentum/ocelot_c/prom.c
View file @
7334f55d
...
...
@@ -32,7 +32,7 @@ struct callvectors* debug_vectors;
extern
unsigned
long
marvell_base
;
extern
unsigned
long
cpu_clock
;
#ifdef CONFIG_MV643
40
_ETH
#ifdef CONFIG_MV643
XX
_ETH
extern
unsigned
char
prom_mac_addr_base
[
6
];
#endif
...
...
@@ -45,7 +45,7 @@ const char *get_system_type(void)
#endif
}
#ifdef CONFIG_MV643
40
_ETH
#ifdef CONFIG_MV643
XX
_ETH
static
void
burn_clocks
(
void
)
{
int
i
;
...
...
@@ -227,7 +227,7 @@ void __init prom_init(void)
mips_machgroup
=
MACH_GROUP_MOMENCO
;
mips_machtype
=
MACH_MOMENCO_OCELOT_C
;
#ifdef CONFIG_MV643
40
_ETH
#ifdef CONFIG_MV643
XX
_ETH
/* get the base MAC address for on-board ethernet ports */
get_mac
(
prom_mac_addr_base
);
#endif
...
...
drivers/net/Kconfig
View file @
7334f55d
...
...
@@ -2142,6 +2142,34 @@ config GFAR_NAPI
bool "NAPI Support"
depends on GIANFAR
config MV643XX_ETH
tristate "MV-643XX Ethernet support"
depends on MOMENCO_OCELOT_C || MOMENCO_JAGUAR_ATX
help
This driver supports the gigabit Ethernet on the Marvell MV643XX
chipset which is used in the Momenco Ocelot C and Jaguar ATX.
config MV643XX_ETH_0
bool "MV-643XX Port 0"
depends on MV643XX_ETH
help
This enables support for Port 0 of the Marvell MV643XX Gigabit
Ethernet.
config MV643XX_ETH_1
bool "MV-643XX Port 1"
depends on MV643XX_ETH
help
This enables support for Port 1 of the Marvell MV643XX Gigabit
Ethernet.
config MV643XX_ETH_2
bool "MV-643XX Port 2"
depends on MV643XX_ETH
help
This enables support for Port 2 of the Marvell MV643XX Gigabit
Ethernet.
endmenu
#
...
...
drivers/net/Makefile
View file @
7334f55d
...
...
@@ -96,6 +96,8 @@ obj-$(CONFIG_B44) += b44.o
obj-$(CONFIG_FORCEDETH)
+=
forcedeth.o
obj-$(CONFIG_NE_H8300)
+=
ne-h8300.o 8390.o
obj-$(CONFIG_MV643XX_ETH)
+=
mv643xx_eth.o
obj-$(CONFIG_PPP)
+=
ppp_generic.o slhc.o
obj-$(CONFIG_PPP_ASYNC)
+=
ppp_async.o
obj-$(CONFIG_PPP_SYNC_TTY)
+=
ppp_synctty.o
...
...
drivers/net/mv643xx_eth.c
0 → 100644
View file @
7334f55d
This diff is collapsed.
Click to expand it.
drivers/net/mv643xx_eth.h
0 → 100644
View file @
7334f55d
This diff is collapsed.
Click to expand it.
include/
asm-mips/mv64340
.h
→
include/
linux/mv643xx
.h
View file @
7334f55d
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment