Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
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-2.6.23
Commits
4b4a27df
Commit
4b4a27df
authored
Nov 22, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
parents
e6d184e3
a9b1ef8e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
drivers/sbus/char/aurora.c
drivers/sbus/char/aurora.c
+6
-6
No files found.
drivers/sbus/char/aurora.c
View file @
4b4a27df
...
@@ -124,25 +124,25 @@ static inline int aurora_paranoia_check(struct Aurora_port const * port,
...
@@ -124,25 +124,25 @@ static inline int aurora_paranoia_check(struct Aurora_port const * port,
*/
*/
/* Get board number from pointer */
/* Get board number from pointer */
extern
inline
int
board_No
(
struct
Aurora_board
const
*
bp
)
static
inline
int
board_No
(
struct
Aurora_board
const
*
bp
)
{
{
return
bp
-
aurora_board
;
return
bp
-
aurora_board
;
}
}
/* Get port number from pointer */
/* Get port number from pointer */
extern
inline
int
port_No
(
struct
Aurora_port
const
*
port
)
static
inline
int
port_No
(
struct
Aurora_port
const
*
port
)
{
{
return
AURORA_PORT
(
port
-
aurora_port
);
return
AURORA_PORT
(
port
-
aurora_port
);
}
}
/* Get pointer to board from pointer to port */
/* Get pointer to board from pointer to port */
extern
inline
struct
Aurora_board
*
port_Board
(
struct
Aurora_port
const
*
port
)
static
inline
struct
Aurora_board
*
port_Board
(
struct
Aurora_port
const
*
port
)
{
{
return
&
aurora_board
[
AURORA_BOARD
(
port
-
aurora_port
)];
return
&
aurora_board
[
AURORA_BOARD
(
port
-
aurora_port
)];
}
}
/* Wait for Channel Command Register ready */
/* Wait for Channel Command Register ready */
extern
inline
void
aurora_wait_CCR
(
struct
aurora_reg128
*
r
)
static
inline
void
aurora_wait_CCR
(
struct
aurora_reg128
*
r
)
{
{
unsigned
long
delay
;
unsigned
long
delay
;
...
@@ -161,7 +161,7 @@ printk("aurora_wait_CCR\n");
...
@@ -161,7 +161,7 @@ printk("aurora_wait_CCR\n");
*/
*/
/* Must be called with enabled interrupts */
/* Must be called with enabled interrupts */
extern
inline
void
aurora_long_delay
(
unsigned
long
delay
)
static
inline
void
aurora_long_delay
(
unsigned
long
delay
)
{
{
unsigned
long
i
;
unsigned
long
i
;
...
@@ -420,7 +420,7 @@ static void aurora_release_io_range(struct Aurora_board *bp)
...
@@ -420,7 +420,7 @@ static void aurora_release_io_range(struct Aurora_board *bp)
sbus_iounmap
((
unsigned
long
)
bp
->
r3
,
4
);
sbus_iounmap
((
unsigned
long
)
bp
->
r3
,
4
);
}
}
extern
inline
void
aurora_mark_event
(
struct
Aurora_port
*
port
,
int
event
)
static
inline
void
aurora_mark_event
(
struct
Aurora_port
*
port
,
int
event
)
{
{
#ifdef AURORA_DEBUG
#ifdef AURORA_DEBUG
printk
(
"aurora_mark_event: start
\n
"
);
printk
(
"aurora_mark_event: start
\n
"
);
...
...
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