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
12755c16
Commit
12755c16
authored
Jun 26, 2005
by
Ralf Baechle
Committed by
Jeff Garzik
Jun 26, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tulip fixes for Cobalt Qube/RaQ
parent
8b0ee07e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
2 deletions
+21
-2
drivers/net/tulip/eeprom.c
drivers/net/tulip/eeprom.c
+16
-0
drivers/net/tulip/media.c
drivers/net/tulip/media.c
+3
-0
drivers/net/tulip/tulip_core.c
drivers/net/tulip/tulip_core.c
+2
-2
No files found.
drivers/net/tulip/eeprom.c
View file @
12755c16
...
...
@@ -63,6 +63,22 @@ static struct eeprom_fixup eeprom_fixups[] __devinitdata = {
*/
{
0x1e00
,
0x0000
,
0x000b
,
0x8f01
,
0x0103
,
0x0300
,
0x0821
,
0x000
,
0x0001
,
0x0000
,
0x01e1
}
},
{
"Cobalt Microserver"
,
0
,
0x10
,
0xE0
,
{
0x1e00
,
/* 0 == controller #, 1e == offset */
0x0000
,
/* 0 == high offset, 0 == gap */
0x0800
,
/* Default Autoselect */
0x8001
,
/* 1 leaf, extended type, bogus len */
0x0003
,
/* Type 3 (MII), PHY #0 */
0x0400
,
/* 0 init instr, 4 reset instr */
0x0801
,
/* Set control mode, GP0 output */
0x0000
,
/* Drive GP0 Low (RST is active low) */
0x0800
,
/* control mode, GP0 input (undriven) */
0x0000
,
/* clear control mode */
0x7800
,
/* 100TX FDX + HDX, 10bT FDX + HDX */
0x01e0
,
/* Advertise all above */
0x5000
,
/* FDX all above */
0x1800
,
/* Set fast TTM in 100bt modes */
0x0000
,
/* PHY cannot be unplugged */
}},
{
NULL
}};
...
...
drivers/net/tulip/media.c
View file @
12755c16
...
...
@@ -400,6 +400,9 @@ void tulip_select_media(struct net_device *dev, int startup)
}
tp
->
csr6
=
new_csr6
|
(
tp
->
csr6
&
0xfdff
)
|
(
tp
->
full_duplex
?
0x0200
:
0
);
mdelay
(
1
);
return
;
}
...
...
drivers/net/tulip/tulip_core.c
View file @
12755c16
...
...
@@ -1514,8 +1514,8 @@ static int __devinit tulip_init_one (struct pci_dev *pdev,
(
PCI_SLOT
(
pdev
->
devfn
)
==
12
)))
{
/* Cobalt MAC address in first EEPROM locations. */
sa_offset
=
0
;
/* No media table either
*/
tp
->
flags
&=
~
HAS_MEDIA_TABLE
;
/* Ensure our media table fixup get's applied
*/
memcpy
(
ee_data
+
16
,
ee_data
,
8
)
;
}
#endif
#ifdef CONFIG_GSC
...
...
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