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
06e85681
Commit
06e85681
authored
Nov 25, 2002
by
Alan Cox
Committed by
Linus Torvalds
Nov 25, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix tokenring builds
parent
92f3835e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
drivers/net/tokenring/3c359.c
drivers/net/tokenring/3c359.c
+1
-1
drivers/net/tokenring/olympic.c
drivers/net/tokenring/olympic.c
+3
-3
No files found.
drivers/net/tokenring/3c359.c
View file @
06e85681
...
...
@@ -315,7 +315,7 @@ int __devinit xl_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
dev
->
irq
=
pdev
->
irq
;
dev
->
base_addr
=
pci_resource_start
(
pdev
,
0
)
;
dev
->
init
=
NULL
;
/* Must be null with new api, otherwise get called twice */
xl_priv
->
xl_card_name
=
(
char
*
)
pdev
->
name
;
xl_priv
->
xl_card_name
=
(
char
*
)
pdev
->
dev
.
name
;
xl_priv
->
xl_mmio
=
ioremap
(
pci_resource_start
(
pdev
,
1
),
XL_IO_SPACE
);
xl_priv
->
pdev
=
pdev
;
...
...
drivers/net/tokenring/olympic.c
View file @
06e85681
...
...
@@ -230,7 +230,7 @@ static int __devinit olympic_probe(struct pci_dev *pdev, const struct pci_device
dev
->
irq
=
pdev
->
irq
;
dev
->
base_addr
=
pci_resource_start
(
pdev
,
0
);
dev
->
init
=
NULL
;
/* Must be NULL otherwise we get called twice */
olympic_priv
->
olympic_card_name
=
(
char
*
)
pdev
->
name
;
olympic_priv
->
olympic_card_name
=
(
char
*
)
pdev
->
dev
.
name
;
olympic_priv
->
olympic_mmio
=
ioremap
(
pci_resource_start
(
pdev
,
1
),
256
);
olympic_priv
->
olympic_lap
=
ioremap
(
pci_resource_start
(
pdev
,
2
),
2048
);
olympic_priv
->
pdev
=
pdev
;
...
...
@@ -654,8 +654,8 @@ static int olympic_open(struct net_device *dev)
printk
(
" stat_ring[7]: %p
\n
"
,
&
(
olympic_priv
->
olympic_rx_status_ring
[
7
])
);
printk
(
"RXCDA: %x, rx_ring[0]: %p
\n
"
,
readl
(
olympic_mmio
+
RXCDA
),
&
olympic_priv
->
olympic_rx_ring
[
0
]);
printk
(
"Rx_ring_dma_addr = %08x, rx_status_dma_addr =
%08x
\n
"
,
olympic_priv
->
rx_ring_dma_addr
,
olympic_priv
->
rx_status_ring_dma_addr
)
;
printk
(
"Rx_ring_dma_addr = %08x, rx_status_dma_addr =
%08x
\n
"
,
olympic_priv
->
rx_ring_dma_addr
,
olympic_priv
->
rx_status_ring_dma_addr
)
;
#endif
writew
((((
readw
(
olympic_mmio
+
RXENQ
))
&
0x8000
)
^
0x8000
)
|
i
,
olympic_mmio
+
RXENQ
);
...
...
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