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
1a2cd48b
Commit
1a2cd48b
authored
Jul 14, 2004
by
Ralf Bächle
Committed by
Jeff Garzik
Jul 14, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr mv643xx] rename from mv64340 to mv643xx
And move MIPS-specific header to include/linux.
parent
52497499
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
32 additions
and
32 deletions
+32
-32
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
+15
-15
drivers/net/Makefile
drivers/net/Makefile
+1
-1
drivers/net/mv643xx_eth.c
drivers/net/mv643xx_eth.c
+5
-5
drivers/net/mv643xx_eth.h
drivers/net/mv643xx_eth.h
+1
-1
include/linux/mv643xx.h
include/linux/mv643xx.h
+0
-0
No files found.
arch/mips/configs/jaguar-atx_defconfig
View file @
1a2cd48b
...
@@ -298,10 +298,10 @@ CONFIG_EEPRO100=y
...
@@ -298,10 +298,10 @@ CONFIG_EEPRO100=y
# CONFIG_R8169 is not set
# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set
# CONFIG_TIGON3 is not set
CONFIG_MV643
40
_ETH=y
CONFIG_MV643
XX
_ETH=y
CONFIG_MV643
40
_ETH_0=y
CONFIG_MV643
XX
_ETH_0=y
CONFIG_MV643
40
_ETH_1=y
CONFIG_MV643
XX
_ETH_1=y
CONFIG_MV643
40
_ETH_2=y
CONFIG_MV643
XX
_ETH_2=y
#
#
# Ethernet (10000 Mbit)
# Ethernet (10000 Mbit)
...
...
arch/mips/configs/ocelot_c_defconfig
View file @
1a2cd48b
...
@@ -300,7 +300,7 @@ CONFIG_NET_ETHERNET=y
...
@@ -300,7 +300,7 @@ CONFIG_NET_ETHERNET=y
# CONFIG_R8169 is not set
# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 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)
# Ethernet (10000 Mbit)
...
...
arch/mips/momentum/jaguar_atx/prom.c
View file @
1a2cd48b
...
@@ -41,7 +41,7 @@ const char *get_system_type(void)
...
@@ -41,7 +41,7 @@ const char *get_system_type(void)
return
"Momentum Jaguar-ATX"
;
return
"Momentum Jaguar-ATX"
;
}
}
#ifdef CONFIG_MV643
40
_ETH
#ifdef CONFIG_MV643
XX
_ETH
extern
unsigned
char
prom_mac_addr_base
[
6
];
extern
unsigned
char
prom_mac_addr_base
[
6
];
static
void
burn_clocks
(
void
)
static
void
burn_clocks
(
void
)
...
@@ -231,7 +231,7 @@ void __init prom_init(void)
...
@@ -231,7 +231,7 @@ void __init prom_init(void)
mips_machgroup
=
MACH_GROUP_MOMENCO
;
mips_machgroup
=
MACH_GROUP_MOMENCO
;
mips_machtype
=
MACH_MOMENCO_JAGUAR_ATX
;
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 the base MAC address for on-board ethernet ports */
get_mac
(
prom_mac_addr_base
);
get_mac
(
prom_mac_addr_base
);
#endif
#endif
...
...
arch/mips/momentum/ocelot_c/prom.c
View file @
1a2cd48b
...
@@ -32,7 +32,7 @@ struct callvectors* debug_vectors;
...
@@ -32,7 +32,7 @@ struct callvectors* debug_vectors;
extern
unsigned
long
mv64340_base
;
extern
unsigned
long
mv64340_base
;
extern
unsigned
long
cpu_clock
;
extern
unsigned
long
cpu_clock
;
#ifdef CONFIG_MV643
40
_ETH
#ifdef CONFIG_MV643
XX
_ETH
extern
unsigned
char
prom_mac_addr_base
[
6
];
extern
unsigned
char
prom_mac_addr_base
[
6
];
#endif
#endif
...
@@ -45,7 +45,7 @@ const char *get_system_type(void)
...
@@ -45,7 +45,7 @@ const char *get_system_type(void)
#endif
#endif
}
}
#ifdef CONFIG_MV643
40
_ETH
#ifdef CONFIG_MV643
XX
_ETH
static
void
burn_clocks
(
void
)
static
void
burn_clocks
(
void
)
{
{
int
i
;
int
i
;
...
@@ -227,7 +227,7 @@ void __init prom_init(void)
...
@@ -227,7 +227,7 @@ void __init prom_init(void)
mips_machgroup
=
MACH_GROUP_MOMENCO
;
mips_machgroup
=
MACH_GROUP_MOMENCO
;
mips_machtype
=
MACH_MOMENCO_OCELOT_C
;
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 the base MAC address for on-board ethernet ports */
get_mac
(
prom_mac_addr_base
);
get_mac
(
prom_mac_addr_base
);
#endif
#endif
...
...
drivers/net/Kconfig
View file @
1a2cd48b
...
@@ -2131,32 +2131,32 @@ config TIGON3
...
@@ -2131,32 +2131,32 @@ config TIGON3
To compile this driver as a module, choose M here: the module
To compile this driver as a module, choose M here: the module
will be called tg3. This is recommended.
will be called tg3. This is recommended.
config MV643
40
_ETH
config MV643
XX
_ETH
tristate "MV-643
40
Ethernet support"
tristate "MV-643
XX
Ethernet support"
depends on MOMENCO_OCELOT_C || MOMENCO_JAGUAR_ATX
depends on MOMENCO_OCELOT_C || MOMENCO_JAGUAR_ATX
help
help
This driver supports the gigabit Ethernet on the Marvell MV643
40
This driver supports the gigabit Ethernet on the Marvell MV643
XX
chipset which is used in the Momenco Ocelot C and Jaguar ATX.
chipset which is used in the Momenco Ocelot C and Jaguar ATX.
config MV643
40
_ETH_0
config MV643
XX
_ETH_0
bool "MV-643
40
Port 0"
bool "MV-643
XX
Port 0"
depends on MV643
40
_ETH
depends on MV643
XX
_ETH
help
help
This enables support for Port 0 of the Marvell MV643
40
Gigabit
This enables support for Port 0 of the Marvell MV643
XX
Gigabit
Ethernet.
Ethernet.
config MV643
40
_ETH_1
config MV643
XX
_ETH_1
bool "MV-643
40
Port 1"
bool "MV-643
XX
Port 1"
depends on MV643
40
_ETH
depends on MV643
XX
_ETH
help
help
This enables support for Port 1 of the Marvell MV643
40
Gigabit
This enables support for Port 1 of the Marvell MV643
XX
Gigabit
Ethernet.
Ethernet.
config MV643
40
_ETH_2
config MV643
XX
_ETH_2
bool "MV-643
40
Port 2"
bool "MV-643
XX
Port 2"
depends on MV643
40
_ETH
depends on MV643
XX
_ETH
help
help
This enables support for Port 2 of the Marvell MV643
40
Gigabit
This enables support for Port 2 of the Marvell MV643
XX
Gigabit
Ethernet.
Ethernet.
endmenu
endmenu
...
...
drivers/net/Makefile
View file @
1a2cd48b
...
@@ -95,7 +95,7 @@ obj-$(CONFIG_B44) += b44.o
...
@@ -95,7 +95,7 @@ obj-$(CONFIG_B44) += b44.o
obj-$(CONFIG_FORCEDETH)
+=
forcedeth.o
obj-$(CONFIG_FORCEDETH)
+=
forcedeth.o
obj-$(CONFIG_NE_H8300)
+=
ne-h8300.o 8390.o
obj-$(CONFIG_NE_H8300)
+=
ne-h8300.o 8390.o
obj-$(CONFIG_MV643
40_ETH)
+=
mv64340
_eth.o
obj-$(CONFIG_MV643
XX_ETH)
+=
mv643xx
_eth.o
obj-$(CONFIG_PPP)
+=
ppp_generic.o slhc.o
obj-$(CONFIG_PPP)
+=
ppp_generic.o slhc.o
obj-$(CONFIG_PPP_ASYNC)
+=
ppp_async.o
obj-$(CONFIG_PPP_ASYNC)
+=
ppp_async.o
...
...
drivers/net/mv643
40
_eth.c
→
drivers/net/mv643
xx
_eth.c
View file @
1a2cd48b
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
#include <asm/types.h>
#include <asm/types.h>
#include <asm/pgtable.h>
#include <asm/pgtable.h>
#include <asm/system.h>
#include <asm/system.h>
#include "mv643
40
_eth.h"
#include "mv643
xx
_eth.h"
/*
/*
* The first part is the high level driver of the gigE ethernet ports.
* The first part is the high level driver of the gigE ethernet ports.
...
@@ -1425,23 +1425,23 @@ static struct net_device *mv64340_dev2;
...
@@ -1425,23 +1425,23 @@ static struct net_device *mv64340_dev2;
*/
*/
static
int
__init
mv64340_init_module
(
void
)
static
int
__init
mv64340_init_module
(
void
)
{
{
printk
(
KERN_NOTICE
"MV-643
40
10/100/1000 Ethernet Driver
\n
"
);
printk
(
KERN_NOTICE
"MV-643
xx
10/100/1000 Ethernet Driver
\n
"
);
#ifdef CONFIG_MV643
40
_ETH_0
#ifdef CONFIG_MV643
XX
_ETH_0
mv64340_dev0
=
mv64340_eth_init
(
0
);
mv64340_dev0
=
mv64340_eth_init
(
0
);
if
(
!
mv64340_dev0
)
{
if
(
!
mv64340_dev0
)
{
printk
(
KERN_ERR
printk
(
KERN_ERR
"Error registering MV-64360 ethernet port 0
\n
"
);
"Error registering MV-64360 ethernet port 0
\n
"
);
}
}
#endif
#endif
#ifdef CONFIG_MV643
40
_ETH_1
#ifdef CONFIG_MV643
XX
_ETH_1
mv64340_dev1
=
mv64340_eth_init
(
1
);
mv64340_dev1
=
mv64340_eth_init
(
1
);
if
(
!
mv64340_dev1
)
{
if
(
!
mv64340_dev1
)
{
printk
(
KERN_ERR
printk
(
KERN_ERR
"Error registering MV-64360 ethernet port 1
\n
"
);
"Error registering MV-64360 ethernet port 1
\n
"
);
}
}
#endif
#endif
#ifdef CONFIG_MV643
40
_ETH_2
#ifdef CONFIG_MV643
XX
_ETH_2
mv64340_dev2
=
mv64340_eth_init
(
2
);
mv64340_dev2
=
mv64340_eth_init
(
2
);
if
(
!
mv64340_dev2
)
{
if
(
!
mv64340_dev2
)
{
printk
(
KERN_ERR
printk
(
KERN_ERR
...
...
drivers/net/mv643
40
_eth.h
→
drivers/net/mv643
xx
_eth.h
View file @
1a2cd48b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <linux/workqueue.h>
#include <linux/workqueue.h>
#include <
asm/mv64340
.h>
#include <
linux/mv643xx
.h>
#define BIT0 0x00000001
#define BIT0 0x00000001
#define BIT1 0x00000002
#define BIT1 0x00000002
...
...
include/
asm-mips/mv64340
.h
→
include/
linux/mv643xx
.h
View file @
1a2cd48b
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