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
4776d260
Commit
4776d260
authored
Nov 12, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://gkernel.bkbits.net/net-drivers-2.5
into home.osdl.org:/home/torvalds/v2.5/linux
parents
f61727f7
58c768ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
drivers/net/tg3.c
drivers/net/tg3.c
+1
-1
drivers/net/tulip/de4x5.c
drivers/net/tulip/de4x5.c
+2
-0
No files found.
drivers/net/tg3.c
View file @
4776d260
...
@@ -7605,7 +7605,7 @@ static int __devinit tg3_init_one(struct pci_dev *pdev,
...
@@ -7605,7 +7605,7 @@ static int __devinit tg3_init_one(struct pci_dev *pdev,
spin_lock_init
(
&
tp
->
lock
);
spin_lock_init
(
&
tp
->
lock
);
spin_lock_init
(
&
tp
->
tx_lock
);
spin_lock_init
(
&
tp
->
tx_lock
);
spin_lock_init
(
&
tp
->
indirect_lock
);
spin_lock_init
(
&
tp
->
indirect_lock
);
PREPARE
_WORK
(
&
tp
->
reset_task
,
tg3_reset_task
,
tp
);
INIT
_WORK
(
&
tp
->
reset_task
,
tg3_reset_task
,
tp
);
tp
->
regs
=
(
unsigned
long
)
ioremap
(
tg3reg_base
,
tg3reg_len
);
tp
->
regs
=
(
unsigned
long
)
ioremap
(
tg3reg_base
,
tg3reg_len
);
if
(
tp
->
regs
==
0UL
)
{
if
(
tp
->
regs
==
0UL
)
{
...
...
drivers/net/tulip/de4x5.c
View file @
4776d260
...
@@ -1237,6 +1237,8 @@ de4x5_hw_init(struct net_device *dev, u_long iobase, struct device *gendev)
...
@@ -1237,6 +1237,8 @@ de4x5_hw_init(struct net_device *dev, u_long iobase, struct device *gendev)
if
(
lp
->
useSROM
)
{
if
(
lp
->
useSROM
)
{
lp
->
state
=
INITIALISED
;
lp
->
state
=
INITIALISED
;
if
(
srom_infoleaf_info
(
dev
))
{
if
(
srom_infoleaf_info
(
dev
))
{
dma_free_coherent
(
gendev
,
lp
->
dma_size
,
lp
->
rx_ring
,
lp
->
dma_rings
);
return
-
ENXIO
;
return
-
ENXIO
;
}
}
srom_init
(
dev
);
srom_init
(
dev
);
...
...
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