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
294b5f14
Commit
294b5f14
authored
Jun 25, 2003
by
Ralf Bächle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr tulip] add mips cobalt support
parent
8e21c010
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
drivers/net/tulip/tulip_core.c
drivers/net/tulip/tulip_core.c
+12
-0
No files found.
drivers/net/tulip/tulip_core.c
View file @
294b5f14
...
@@ -94,6 +94,8 @@ static int csr0 = 0x01A00000 | 0x8000;
...
@@ -94,6 +94,8 @@ static int csr0 = 0x01A00000 | 0x8000;
static
int
csr0
=
0x01A00000
|
0x9000
;
static
int
csr0
=
0x01A00000
|
0x9000
;
#elif defined(__arm__) || defined(__sh__)
#elif defined(__arm__) || defined(__sh__)
static
int
csr0
=
0x01A00000
|
0x4800
;
static
int
csr0
=
0x01A00000
|
0x4800
;
#elif defined(__mips__)
static
int
csr0
=
0x00200000
|
0x4000
;
#else
#else
#warning Processor architecture undefined!
#warning Processor architecture undefined!
static
int
csr0
=
0x00A00000
|
0x4800
;
static
int
csr0
=
0x00A00000
|
0x4800
;
...
@@ -1491,6 +1493,16 @@ static int __devinit tulip_init_one (struct pci_dev *pdev,
...
@@ -1491,6 +1493,16 @@ static int __devinit tulip_init_one (struct pci_dev *pdev,
tp
->
flags
&=
~
HAS_MEDIA_TABLE
;
tp
->
flags
&=
~
HAS_MEDIA_TABLE
;
}
}
#endif
#endif
#ifdef CONFIG_MIPS_COBALT
if
((
pdev
->
bus
->
number
==
0
)
&&
((
PCI_SLOT
(
pdev
->
devfn
)
==
7
)
||
(
PCI_SLOT
(
pdev
->
devfn
)
==
12
)))
{
/* Cobalt MAC address in first EEPROM locations. */
sa_offset
=
0
;
/* No media table either */
tp
->
flags
&=
~
HAS_MEDIA_TABLE
;
}
#endif
#ifdef __hppa__
#ifdef __hppa__
/* 3x5 HSC (J3514A) has a broken srom */
/* 3x5 HSC (J3514A) has a broken srom */
if
(
ee_data
[
0
]
==
0x61
&&
ee_data
[
1
]
==
0x10
)
{
if
(
ee_data
[
0
]
==
0x61
&&
ee_data
[
1
]
==
0x10
)
{
...
...
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