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
58c3f05c
Commit
58c3f05c
authored
Oct 07, 2003
by
Andi Kleen
Committed by
David S. Miller
Oct 07, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: Fix 64-bit bugs in dscc4.c
parent
32f6c4ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
drivers/net/wan/dscc4.c
drivers/net/wan/dscc4.c
+5
-4
No files found.
drivers/net/wan/dscc4.c
View file @
58c3f05c
...
...
@@ -980,7 +980,7 @@ static int dscc4_loopback_check(struct dscc4_dev_priv *dpriv)
*
* This code doesn't need to be efficient. Keep It Simple
*/
static
void
dscc4_pci_reset
(
struct
pci_dev
*
pdev
,
u
32
ioaddr
)
static
void
dscc4_pci_reset
(
struct
pci_dev
*
pdev
,
u
nsigned
long
ioaddr
)
{
int
i
;
...
...
@@ -1461,7 +1461,8 @@ static irqreturn_t dscc4_irq(int irq, void *token, struct pt_regs *ptregs)
struct
dscc4_dev_priv
*
root
=
token
;
struct
dscc4_pci_priv
*
priv
;
struct
net_device
*
dev
;
u32
ioaddr
,
state
;
unsigned
long
ioaddr
;
u32
state
;
unsigned
long
flags
;
int
i
,
handled
=
1
;
...
...
@@ -1613,7 +1614,7 @@ static inline void dscc4_tx_irq(struct dscc4_pci_priv *ppriv,
goto
try
;
}
if
(
state
&
Xpr
)
{
u
32
scc_addr
,
ring
;
u
nsigned
long
scc_addr
,
ring
;
int
i
;
/*
...
...
@@ -1954,7 +1955,7 @@ static void __devexit dscc4_remove_one(struct pci_dev *pdev)
{
struct
dscc4_pci_priv
*
ppriv
;
struct
dscc4_dev_priv
*
root
;
u
32
ioaddr
;
u
nsigned
long
ioaddr
;
int
i
;
ppriv
=
pci_get_drvdata
(
pdev
);
...
...
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