Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
8e912b33
Commit
8e912b33
authored
Aug 27, 2008
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sunqe: Convert to pure OF driver.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
af736fed
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
71 additions
and
80 deletions
+71
-80
drivers/net/sunqe.c
drivers/net/sunqe.c
+69
-78
drivers/net/sunqe.h
drivers/net/sunqe.h
+2
-2
No files found.
drivers/net/sunqe.c
View file @
8e912b33
This diff is collapsed.
Click to expand it.
drivers/net/sunqe.h
View file @
8e912b33
...
@@ -314,7 +314,7 @@ struct sunqec {
...
@@ -314,7 +314,7 @@ struct sunqec {
void
__iomem
*
gregs
;
/* QEC Global Registers */
void
__iomem
*
gregs
;
/* QEC Global Registers */
struct
sunqe
*
qes
[
4
];
/* Each child MACE */
struct
sunqe
*
qes
[
4
];
/* Each child MACE */
unsigned
int
qec_bursts
;
/* Support burst sizes */
unsigned
int
qec_bursts
;
/* Support burst sizes */
struct
sbus_dev
*
qec_sdev
;
/* QEC's SBUS device
*/
struct
of_device
*
op
;
/* QEC's OF device
*/
struct
sunqec
*
next_module
;
/* List of all QECs in system */
struct
sunqec
*
next_module
;
/* List of all QECs in system */
};
};
...
@@ -342,7 +342,7 @@ struct sunqe {
...
@@ -342,7 +342,7 @@ struct sunqe {
__u32
buffers_dvma
;
/* DVMA visible address. */
__u32
buffers_dvma
;
/* DVMA visible address. */
struct
sunqec
*
parent
;
struct
sunqec
*
parent
;
u8
mconfig
;
/* Base MACE mconfig value */
u8
mconfig
;
/* Base MACE mconfig value */
struct
sbus_dev
*
qe_sdev
;
/* QE's SBUS device struct
*/
struct
of_device
*
op
;
/* QE's OF device struct
*/
struct
net_device
*
dev
;
/* QE's netdevice struct */
struct
net_device
*
dev
;
/* QE's netdevice struct */
int
channel
;
/* Who am I? */
int
channel
;
/* Who am I? */
};
};
...
...
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