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
ed6cd41f
Commit
ed6cd41f
authored
Jun 04, 2003
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr] gcc 3.3 cleanups
Mostly adding 'ULL' modifier to 64-bit constants.
parent
9be2217a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
4 deletions
+3
-4
drivers/net/8139cp.c
drivers/net/8139cp.c
+1
-1
drivers/net/dl2k.h
drivers/net/dl2k.h
+0
-1
drivers/net/ns83820.c
drivers/net/ns83820.c
+1
-1
drivers/net/tg3.c
drivers/net/tg3.c
+1
-1
No files found.
drivers/net/8139cp.c
View file @
ed6cd41f
...
@@ -1846,7 +1846,7 @@ static int __devinit cp_init_one (struct pci_dev *pdev,
...
@@ -1846,7 +1846,7 @@ static int __devinit cp_init_one (struct pci_dev *pdev,
}
}
/* Configure DMA attributes. */
/* Configure DMA attributes. */
if
(
!
pci_set_dma_mask
(
pdev
,
(
u64
)
0xffffffffffffffff
))
{
if
(
!
pci_set_dma_mask
(
pdev
,
(
u64
)
0xffffffffffffffff
ULL
))
{
cp
->
pci_using_dac
=
1
;
cp
->
pci_using_dac
=
1
;
}
else
{
}
else
{
rc
=
pci_set_dma_mask
(
pdev
,
(
u64
)
0xffffffff
);
rc
=
pci_set_dma_mask
(
pdev
,
(
u64
)
0xffffffff
);
...
...
drivers/net/dl2k.h
View file @
ed6cd41f
...
@@ -243,7 +243,6 @@ enum TFC_bits {
...
@@ -243,7 +243,6 @@ enum TFC_bits {
VLANTagInsert
=
0x0000000010000000
,
VLANTagInsert
=
0x0000000010000000
,
TFDDone
=
0x80000000
,
TFDDone
=
0x80000000
,
VIDShift
=
32
,
VIDShift
=
32
,
CFI
=
0x0000100000000000
,
UsePriorityShift
=
48
,
UsePriorityShift
=
48
,
};
};
...
...
drivers/net/ns83820.c
View file @
ed6cd41f
...
@@ -1769,7 +1769,7 @@ static int __devinit ns83820_init_one(struct pci_dev *pci_dev, const struct pci_
...
@@ -1769,7 +1769,7 @@ static int __devinit ns83820_init_one(struct pci_dev *pci_dev, const struct pci_
int
using_dac
=
0
;
int
using_dac
=
0
;
/* See if we can set the dma mask early on; failure is fatal. */
/* See if we can set the dma mask early on; failure is fatal. */
if
(
TRY_DAC
&&
!
pci_set_dma_mask
(
pci_dev
,
0xffffffffffffffff
))
{
if
(
TRY_DAC
&&
!
pci_set_dma_mask
(
pci_dev
,
0xffffffffffffffff
ULL
))
{
using_dac
=
1
;
using_dac
=
1
;
}
else
if
(
!
pci_set_dma_mask
(
pci_dev
,
0xffffffff
))
{
}
else
if
(
!
pci_set_dma_mask
(
pci_dev
,
0xffffffff
))
{
using_dac
=
0
;
using_dac
=
0
;
...
...
drivers/net/tg3.c
View file @
ed6cd41f
...
@@ -6740,7 +6740,7 @@ static int __devinit tg3_init_one(struct pci_dev *pdev,
...
@@ -6740,7 +6740,7 @@ static int __devinit tg3_init_one(struct pci_dev *pdev,
}
}
/* Configure DMA attributes. */
/* Configure DMA attributes. */
if
(
!
pci_set_dma_mask
(
pdev
,
(
u64
)
0xffffffffffffffff
))
{
if
(
!
pci_set_dma_mask
(
pdev
,
(
u64
)
0xffffffffffffffff
ULL
))
{
pci_using_dac
=
1
;
pci_using_dac
=
1
;
if
(
pci_set_consistent_dma_mask
(
pdev
,
if
(
pci_set_consistent_dma_mask
(
pdev
,
(
u64
)
0xffffffffffffffff
))
{
(
u64
)
0xffffffffffffffff
))
{
...
...
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