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
Kirill Smelkov
linux
Commits
aab147d6
Commit
aab147d6
authored
Feb 26, 2004
by
Manfred Weihs
Committed by
Ben Collins
Feb 26, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IEEE1394(1164): Added 1394 acknowledge codes.
parent
9d501551
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
drivers/ieee1394/ieee1394.h
drivers/ieee1394/ieee1394.h
+3
-0
drivers/ieee1394/ieee1394_transactions.c
drivers/ieee1394/ieee1394_transactions.c
+5
-0
No files found.
drivers/ieee1394/ieee1394.h
View file @
aab147d6
...
@@ -36,8 +36,11 @@
...
@@ -36,8 +36,11 @@
#define ACK_BUSY_X 0x4
#define ACK_BUSY_X 0x4
#define ACK_BUSY_A 0x5
#define ACK_BUSY_A 0x5
#define ACK_BUSY_B 0x6
#define ACK_BUSY_B 0x6
#define ACK_TARDY 0xb
#define ACK_CONFLICT_ERROR 0xc
#define ACK_DATA_ERROR 0xd
#define ACK_DATA_ERROR 0xd
#define ACK_TYPE_ERROR 0xe
#define ACK_TYPE_ERROR 0xe
#define ACK_ADDRESS_ERROR 0xf
/* Non-standard "ACK codes" for internal use */
/* Non-standard "ACK codes" for internal use */
#define ACKX_NONE (-1)
#define ACKX_NONE (-1)
...
...
drivers/ieee1394/ieee1394_transactions.c
View file @
aab147d6
...
@@ -239,6 +239,11 @@ int hpsb_packet_success(struct hpsb_packet *packet)
...
@@ -239,6 +239,11 @@ int hpsb_packet_success(struct hpsb_packet *packet)
return
-
EAGAIN
;
return
-
EAGAIN
;
}
}
case
ACK_ADDRESS_ERROR
:
return
-
EINVAL
;
case
ACK_TARDY
:
case
ACK_CONFLICT_ERROR
:
case
ACKX_NONE
:
case
ACKX_NONE
:
case
ACKX_SEND_ERROR
:
case
ACKX_SEND_ERROR
:
case
ACKX_ABORTED
:
case
ACKX_ABORTED
:
...
...
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