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
0d6f3f17
Commit
0d6f3f17
authored
Feb 13, 2003
by
Bradley A. Bosch
Committed by
Jeff Garzik
Feb 13, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr ns83820] big endian fixes
parent
a8a87fdb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/net/ns83820.c
drivers/net/ns83820.c
+2
-2
No files found.
drivers/net/ns83820.c
View file @
0d6f3f17
...
@@ -500,9 +500,9 @@ static inline void build_rx_desc(struct ns83820 *dev, u32 *desc, dma_addr_t link
...
@@ -500,9 +500,9 @@ static inline void build_rx_desc(struct ns83820 *dev, u32 *desc, dma_addr_t link
{
{
desc_addr_set
(
desc
+
DESC_LINK
,
link
);
desc_addr_set
(
desc
+
DESC_LINK
,
link
);
desc_addr_set
(
desc
+
DESC_BUFPTR
,
buf
);
desc_addr_set
(
desc
+
DESC_BUFPTR
,
buf
);
desc
[
DESC_EXTSTS
]
=
extsts
;
desc
[
DESC_EXTSTS
]
=
cpu_to_le32
(
extsts
)
;
mb
();
mb
();
desc
[
DESC_CMDSTS
]
=
c
mdsts
;
desc
[
DESC_CMDSTS
]
=
c
pu_to_le32
(
cmdsts
)
;
}
}
#define nr_rx_empty(dev) ((NR_RX_DESC-2 + dev->rx_info.next_rx - dev->rx_info.next_empty) % NR_RX_DESC)
#define nr_rx_empty(dev) ((NR_RX_DESC-2 + dev->rx_info.next_rx - dev->rx_info.next_empty) % NR_RX_DESC)
...
...
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