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
826b6cfc
Commit
826b6cfc
authored
Aug 27, 2008
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fore200e: Convert over to pure OF driver.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
ae251031
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
189 additions
and
232 deletions
+189
-232
drivers/atm/fore200e.c
drivers/atm/fore200e.c
+186
-228
drivers/atm/fore200e.h
drivers/atm/fore200e.h
+3
-4
No files found.
drivers/atm/fore200e.c
View file @
826b6cfc
This diff is collapsed.
Click to expand it.
drivers/atm/fore200e.h
View file @
826b6cfc
...
...
@@ -778,9 +778,9 @@ typedef struct fore200e_pca_regs {
/* SBA-200E registers */
typedef
struct
fore200e_sba_regs
{
volatile
u32
__iomem
*
hcr
;
/* address of host control register */
volatile
u32
__iomem
*
bsr
;
/* address of burst transfer size register */
volatile
u32
__iomem
*
isr
;
/* address of interrupt level selection register */
u32
__iomem
*
hcr
;
/* address of host control register */
u32
__iomem
*
bsr
;
/* address of burst transfer size register */
u32
__iomem
*
isr
;
/* address of interrupt level selection register */
}
fore200e_sba_regs_t
;
...
...
@@ -810,7 +810,6 @@ typedef struct fore200e_bus {
void
(
*
dma_sync_for_device
)(
struct
fore200e
*
,
u32
,
int
,
int
);
int
(
*
dma_chunk_alloc
)(
struct
fore200e
*
,
struct
chunk
*
,
int
,
int
,
int
);
void
(
*
dma_chunk_free
)(
struct
fore200e
*
,
struct
chunk
*
);
struct
fore200e
*
(
*
detect
)(
const
struct
fore200e_bus
*
,
int
);
int
(
*
configure
)(
struct
fore200e
*
);
int
(
*
map
)(
struct
fore200e
*
);
void
(
*
reset
)(
struct
fore200e
*
);
...
...
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