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
246d0553
Commit
246d0553
authored
Sep 18, 2002
by
Tom Rini
Committed by
Jeff Garzik
Sep 18, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC-specific 3c509 net driver update:
s/insl_unswapped/insl_ns/ inside #ifdef __powerpc__
parent
b89b1c73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/net/3c509.c
drivers/net/3c509.c
+2
-2
No files found.
drivers/net/3c509.c
View file @
246d0553
...
@@ -692,7 +692,7 @@ el3_start_xmit(struct sk_buff *skb, struct net_device *dev)
...
@@ -692,7 +692,7 @@ el3_start_xmit(struct sk_buff *skb, struct net_device *dev)
outw
(
0x00
,
ioaddr
+
TX_FIFO
);
outw
(
0x00
,
ioaddr
+
TX_FIFO
);
/* ... and the packet rounded to a doubleword. */
/* ... and the packet rounded to a doubleword. */
#ifdef __powerpc__
#ifdef __powerpc__
outsl_
unswapped
(
ioaddr
+
TX_FIFO
,
skb
->
data
,
(
skb
->
len
+
3
)
>>
2
);
outsl_
ns
(
ioaddr
+
TX_FIFO
,
skb
->
data
,
(
skb
->
len
+
3
)
>>
2
);
#else
#else
outsl
(
ioaddr
+
TX_FIFO
,
skb
->
data
,
(
skb
->
len
+
3
)
>>
2
);
outsl
(
ioaddr
+
TX_FIFO
,
skb
->
data
,
(
skb
->
len
+
3
)
>>
2
);
#endif
#endif
...
@@ -903,7 +903,7 @@ el3_rx(struct net_device *dev)
...
@@ -903,7 +903,7 @@ el3_rx(struct net_device *dev)
/* 'skb->data' points to the start of sk_buff data area. */
/* 'skb->data' points to the start of sk_buff data area. */
#ifdef __powerpc__
#ifdef __powerpc__
insl_
unswapped
(
ioaddr
+
RX_FIFO
,
skb_put
(
skb
,
pkt_len
),
insl_
ns
(
ioaddr
+
RX_FIFO
,
skb_put
(
skb
,
pkt_len
),
(
pkt_len
+
3
)
>>
2
);
(
pkt_len
+
3
)
>>
2
);
#else
#else
insl
(
ioaddr
+
RX_FIFO
,
skb_put
(
skb
,
pkt_len
),
insl
(
ioaddr
+
RX_FIFO
,
skb_put
(
skb
,
pkt_len
),
...
...
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