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
ab9b4d79
Commit
ab9b4d79
authored
Jan 30, 2005
by
Jody McIntyre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup with Lindent.
Signed-off-by:
Jody McIntyre
<
scjody@modernduck.com
>
parent
aeddb0c0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1530 additions
and
1543 deletions
+1530
-1543
drivers/ieee1394/raw1394.c
drivers/ieee1394/raw1394.c
+1530
-1543
No files found.
drivers/ieee1394/raw1394.c
View file @
ab9b4d79
...
...
@@ -188,7 +188,6 @@ static void queue_complete_cb(struct pending_request *req)
queue_complete_req
(
req
);
}
static
void
add_host
(
struct
hpsb_host
*
host
)
{
struct
host_info
*
hi
;
...
...
@@ -210,7 +209,6 @@ static void add_host(struct hpsb_host *host)
atomic_inc
(
&
internal_generation
);
}
static
struct
host_info
*
find_host_info
(
struct
hpsb_host
*
host
)
{
struct
host_info
*
hi
;
...
...
@@ -462,7 +460,6 @@ static ssize_t raw1394_read(struct file *file, char __user * buffer,
return
ret
;
}
static
int
state_opened
(
struct
file_info
*
fi
,
struct
pending_request
*
req
)
{
if
(
req
->
req
.
type
==
RAW1394_REQ_INITIALIZE
)
{
...
...
@@ -628,7 +625,6 @@ static void handle_fcp_listen(struct file_info *fi, struct pending_request *req)
queue_complete_req
(
req
);
}
static
int
handle_async_request
(
struct
file_info
*
fi
,
struct
pending_request
*
req
,
int
node
)
{
...
...
@@ -1913,7 +1909,6 @@ static int arm_get_buf(struct file_info *fi, struct pending_request *req)
return
(
-
EINVAL
);
}
/* Copy data from user buffer to ARM buffer(s). */
static
int
arm_set_buf
(
struct
file_info
*
fi
,
struct
pending_request
*
req
)
{
...
...
@@ -2743,8 +2738,7 @@ static int raw1394_release(struct inode *inode, struct file *file)
list
)
{
entry
=
fi_hlp
->
addr_list
.
next
;
while
(
entry
!=
&
(
fi_hlp
->
addr_list
))
{
arm_addr
=
list_entry
(
entry
,
struct
arm_addr
=
list_entry
(
entry
,
struct
arm_addr
,
addr_list
);
if
(
arm_addr
->
start
==
...
...
@@ -2843,7 +2837,6 @@ static int raw1394_release(struct inode *inode, struct file *file)
return
0
;
}
/*** HOTPLUG STUFF **********************************************************/
/*
* Export information about protocols/devices supported by this driver.
...
...
@@ -2852,24 +2845,20 @@ static struct ieee1394_device_id raw1394_id_table[] = {
{
.
match_flags
=
IEEE1394_MATCH_SPECIFIER_ID
|
IEEE1394_MATCH_VERSION
,
.
specifier_id
=
AVC_UNIT_SPEC_ID_ENTRY
&
0xffffff
,
.
version
=
AVC_SW_VERSION_ENTRY
&
0xffffff
},
.
version
=
AVC_SW_VERSION_ENTRY
&
0xffffff
},
{
.
match_flags
=
IEEE1394_MATCH_SPECIFIER_ID
|
IEEE1394_MATCH_VERSION
,
.
specifier_id
=
CAMERA_UNIT_SPEC_ID_ENTRY
&
0xffffff
,
.
version
=
CAMERA_SW_VERSION_ENTRY
&
0xffffff
},
.
version
=
CAMERA_SW_VERSION_ENTRY
&
0xffffff
},
{
.
match_flags
=
IEEE1394_MATCH_SPECIFIER_ID
|
IEEE1394_MATCH_VERSION
,
.
specifier_id
=
CAMERA_UNIT_SPEC_ID_ENTRY
&
0xffffff
,
.
version
=
(
CAMERA_SW_VERSION_ENTRY
+
1
)
&
0xffffff
},
.
version
=
(
CAMERA_SW_VERSION_ENTRY
+
1
)
&
0xffffff
},
{
.
match_flags
=
IEEE1394_MATCH_SPECIFIER_ID
|
IEEE1394_MATCH_VERSION
,
.
specifier_id
=
CAMERA_UNIT_SPEC_ID_ENTRY
&
0xffffff
,
.
version
=
(
CAMERA_SW_VERSION_ENTRY
+
2
)
&
0xffffff
},
{
}
.
version
=
(
CAMERA_SW_VERSION_ENTRY
+
2
)
&
0xffffff
},
{}
};
MODULE_DEVICE_TABLE
(
ieee1394
,
raw1394_id_table
);
...
...
@@ -2883,10 +2872,8 @@ static struct hpsb_protocol_driver raw1394_driver = {
},
};
/******************************************************************************/
static
struct
hpsb_highlevel
raw1394_highlevel
=
{
.
name
=
RAW1394_DEVICE_NAME
,
.
add_host
=
add_host
,
...
...
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