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
79d57229
Commit
79d57229
authored
Oct 25, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/jgarzik/tg3-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6
parents
de8705b5
9f9dffa4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
drivers/net/tg3.c
drivers/net/tg3.c
+11
-11
No files found.
drivers/net/tg3.c
View file @
79d57229
...
...
@@ -12,7 +12,7 @@
#include <linux/config.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/compiler.h>
...
...
@@ -141,11 +141,11 @@ static char version[] __devinitdata =
MODULE_AUTHOR
(
"David S. Miller (davem@redhat.com) and Jeff Garzik (jgarzik@pobox.com)"
);
MODULE_DESCRIPTION
(
"Broadcom Tigon3 ethernet driver"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_PARM
(
tg3_debug
,
"i"
);
MODULE_PARM_DESC
(
tg3_debug
,
"Tigon3 bitmapped debugging message enable value"
);
MODULE_VERSION
(
DRV_MODULE_VERSION
);
static
int
tg3_debug
=
-
1
;
/* -1 == use TG3_DEF_MSG_ENABLE as value */
module_param
(
tg3_debug
,
int
,
0
);
MODULE_PARM_DESC
(
tg3_debug
,
"Tigon3 bitmapped debugging message enable value"
);
static
struct
pci_device_id
tg3_pci_tbl
[]
=
{
{
PCI_VENDOR_ID_BROADCOM
,
PCI_DEVICE_ID_TIGON3_5700
,
...
...
@@ -225,8 +225,8 @@ static struct pci_device_id tg3_pci_tbl[] = {
MODULE_DEVICE_TABLE
(
pci
,
tg3_pci_tbl
);
struct
{
char
string
[
ETH_GSTRING_LEN
];
st
atic
st
ruct
{
c
onst
c
har
string
[
ETH_GSTRING_LEN
];
}
ethtool_stats_keys
[
TG3_NUM_STATS
]
=
{
{
"rx_octets"
},
{
"rx_fragments"
},
...
...
@@ -4505,7 +4505,7 @@ static u32 tg3TsoFwText[(TG3_TSO_FW_TEXT_LEN / 4) + 1] = {
0xac470014
,
0xac4a0018
,
0x03e00008
,
0xac4b001c
,
0x00000000
,
0x00000000
,
};
u32
tg3TsoFwRodata
[]
=
{
static
u32
tg3TsoFwRodata
[]
=
{
0x4d61696e
,
0x43707542
,
0x00000000
,
0x4d61696e
,
0x43707541
,
0x00000000
,
0x00000000
,
0x00000000
,
0x73746b6f
,
0x66666c64
,
0x496e0000
,
0x73746b6f
,
0x66662a2a
,
0x00000000
,
0x53774576
,
0x656e7430
,
0x00000000
,
0x00000000
,
...
...
@@ -4513,7 +4513,7 @@ u32 tg3TsoFwRodata[] = {
0x00000000
,
};
u32
tg3TsoFwData
[]
=
{
static
u32
tg3TsoFwData
[]
=
{
0x00000000
,
0x73746b6f
,
0x66666c64
,
0x5f76312e
,
0x362e3000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -4694,14 +4694,14 @@ static u32 tg3Tso5FwText[(TG3_TSO5_FW_TEXT_LEN / 4) + 1] = {
0x00000000
,
0x00000000
,
0x00000000
,
};
u32
tg3Tso5FwRodata
[(
TG3_TSO5_FW_RODATA_LEN
/
4
)
+
1
]
=
{
static
u32
tg3Tso5FwRodata
[(
TG3_TSO5_FW_RODATA_LEN
/
4
)
+
1
]
=
{
0x4d61696e
,
0x43707542
,
0x00000000
,
0x4d61696e
,
0x43707541
,
0x00000000
,
0x00000000
,
0x00000000
,
0x73746b6f
,
0x66666c64
,
0x00000000
,
0x00000000
,
0x73746b6f
,
0x66666c64
,
0x00000000
,
0x00000000
,
0x66617461
,
0x6c457272
,
0x00000000
,
0x00000000
,
0x00000000
,
};
u32
tg3Tso5FwData
[(
TG3_TSO5_FW_DATA_LEN
/
4
)
+
1
]
=
{
static
u32
tg3Tso5FwData
[(
TG3_TSO5_FW_DATA_LEN
/
4
)
+
1
]
=
{
0x00000000
,
0x73746b6f
,
0x66666c64
,
0x5f76312e
,
0x322e3000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
};
...
...
@@ -6324,7 +6324,7 @@ static int tg3_nvram_read_using_eeprom(struct tg3 *tp,
u32
offset
,
u32
*
val
);
static
int
tg3_get_eeprom
(
struct
net_device
*
dev
,
struct
ethtool_eeprom
*
eeprom
,
u8
*
data
)
{
struct
tg3
*
tp
=
dev
->
priv
;
struct
tg3
*
tp
=
netdev_priv
(
dev
)
;
int
ret
;
u8
*
pd
;
u32
i
,
offset
,
len
,
val
,
b_offset
,
b_count
;
...
...
@@ -6686,7 +6686,7 @@ static void tg3_get_strings (struct net_device *dev, u32 stringset, u8 *buf)
static
void
tg3_get_ethtool_stats
(
struct
net_device
*
dev
,
struct
ethtool_stats
*
estats
,
u64
*
tmp_stats
)
{
struct
tg3
*
tp
=
dev
->
priv
;
struct
tg3
*
tp
=
netdev_priv
(
dev
)
;
memcpy
(
tmp_stats
,
tg3_get_estats
(
tp
),
sizeof
(
tp
->
estats
));
}
...
...
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