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
nexedi
linux
Commits
342f5580
Commit
342f5580
authored
Feb 12, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
94ab45b5
75b0d753
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
6 deletions
+9
-6
drivers/net/amd8111e.c
drivers/net/amd8111e.c
+1
-1
drivers/net/arlan.c
drivers/net/arlan.c
+1
-1
drivers/net/fc/iph5526.c
drivers/net/fc/iph5526.c
+1
-1
drivers/net/tg3.c
drivers/net/tg3.c
+5
-2
drivers/net/tokenring/smctr.c
drivers/net/tokenring/smctr.c
+1
-1
No files found.
drivers/net/amd8111e.c
View file @
342f5580
...
@@ -953,7 +953,7 @@ static char* amd8111e_read_regs(struct amd8111e_priv* lp)
...
@@ -953,7 +953,7 @@ static char* amd8111e_read_regs(struct amd8111e_priv* lp)
reg_buff
=
kmalloc
(
AMD8111E_REG_DUMP_LEN
,
GFP_KERNEL
);
reg_buff
=
kmalloc
(
AMD8111E_REG_DUMP_LEN
,
GFP_KERNEL
);
if
(
NULL
==
reg_buff
)
if
(
NULL
==
reg_buff
)
return
NULL
;
return
NULL
;
for
(
i
=
0
;
i
<
AMD8111E_REG_DUMP_LEN
;
i
+=
4
);
for
(
i
=
0
;
i
<
AMD8111E_REG_DUMP_LEN
;
i
+=
4
)
reg_buff
[
i
]
=
readl
(
mmio
+
i
);
reg_buff
[
i
]
=
readl
(
mmio
+
i
);
return
reg_buff
;
return
reg_buff
;
}
}
...
...
drivers/net/arlan.c
View file @
342f5580
...
@@ -2045,7 +2045,7 @@ int init_module(void)
...
@@ -2045,7 +2045,7 @@ int init_module(void)
void
cleanup_module
(
void
)
void
cleanup_module
(
void
)
{
{
int
i
=
0
;
int
i
=
0
;
struct
arlan_private
ap
;
struct
arlan_private
*
ap
;
ARLAN_DEBUG_ENTRY
(
"cleanup_module"
);
ARLAN_DEBUG_ENTRY
(
"cleanup_module"
);
...
...
drivers/net/fc/iph5526.c
View file @
342f5580
...
@@ -3769,7 +3769,7 @@ struct pci_dev *pdev = NULL;
...
@@ -3769,7 +3769,7 @@ struct pci_dev *pdev = NULL;
for
(
i
=
0
;
i
<=
MAX_FC_CARDS
;
i
++
)
for
(
i
=
0
;
i
<=
MAX_FC_CARDS
;
i
++
)
fc
[
i
]
=
NULL
;
fc
[
i
]
=
NULL
;
for
(
i
=
0
;
i
<
clone_list
[
i
].
vendor_id
!=
0
;
i
++
)
for
(
i
=
0
;
clone_list
[
i
].
vendor_id
!=
0
;
i
++
)
while
((
pdev
=
pci_find_device
(
clone_list
[
i
].
vendor_id
,
clone_list
[
i
].
device_id
,
pdev
)))
{
while
((
pdev
=
pci_find_device
(
clone_list
[
i
].
vendor_id
,
clone_list
[
i
].
device_id
,
pdev
)))
{
unsigned
short
pci_command
;
unsigned
short
pci_command
;
if
(
pci_enable_device
(
pdev
))
if
(
pci_enable_device
(
pdev
))
...
...
drivers/net/tg3.c
View file @
342f5580
...
@@ -6479,8 +6479,11 @@ static int __devinit tg3_test_dma(struct tg3 *tp)
...
@@ -6479,8 +6479,11 @@ static int __devinit tg3_test_dma(struct tg3 *tp)
}
}
#endif
#endif
if
(
GET_ASIC_REV
(
tp
->
pci_chip_rev_id
)
==
ASIC_REV_5700
||
GET_ASIC_REV
(
tp
->
pci_chip_rev_id
)
==
ASIC_REV_5701
)
{
/* Remove this if it causes problems for some boards. */
/* Remove this if it causes problems for some boards. */
tp
->
dma_rwctrl
|=
DMA_RWCTRL_USE_MEM_READ_MULT
;
tp
->
dma_rwctrl
|=
DMA_RWCTRL_USE_MEM_READ_MULT
;
}
tw32
(
TG3PCI_DMA_RW_CTRL
,
tp
->
dma_rwctrl
);
tw32
(
TG3PCI_DMA_RW_CTRL
,
tp
->
dma_rwctrl
);
...
...
drivers/net/tokenring/smctr.c
View file @
342f5580
...
@@ -3064,7 +3064,7 @@ static int smctr_load_node_addr(struct net_device *dev)
...
@@ -3064,7 +3064,7 @@ static int smctr_load_node_addr(struct net_device *dev)
__u8
r
;
__u8
r
;
/* Check if node address has been specified by user. (non-0) */
/* Check if node address has been specified by user. (non-0) */
for
(
i
=
0
;
((
i
<
6
)
&&
(
dev
->
dev_addr
[
i
]
==
0
));
i
++
)
;
for
(
i
=
0
;
((
i
<
6
)
&&
(
dev
->
dev_addr
[
i
]
==
0
));
i
++
)
{
{
if
(
i
!=
6
)
if
(
i
!=
6
)
{
{
...
...
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