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
e524f616
Commit
e524f616
authored
Aug 20, 2007
by
Stefan Richter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewire: fw-ohci: log posted write errors
Signed-off-by:
Stefan Richter
<
stefanr@s5r6.in-berlin.de
>
parent
a7fb60db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
drivers/firewire/fw-ohci.c
drivers/firewire/fw-ohci.c
+6
-2
No files found.
drivers/firewire/fw-ohci.c
View file @
e524f616
...
...
@@ -18,6 +18,7 @@
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <linux/compiler.h>
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/gfp.h>
...
...
@@ -1049,6 +1050,9 @@ static irqreturn_t irq_handler(int irq, void *data)
iso_event
&=
~
(
1
<<
i
);
}
if
(
unlikely
(
event
&
OHCI1394_postedWriteErr
))
fw_error
(
"PCI posted write error
\n
"
);
if
(
event
&
OHCI1394_cycle64Seconds
)
{
cycle_time
=
reg_read
(
ohci
,
OHCI1394_IsochronousCycleTimer
);
if
((
cycle_time
&
0x80000000
)
==
0
)
...
...
@@ -1122,8 +1126,8 @@ static int ohci_enable(struct fw_card *card, u32 *config_rom, size_t length)
OHCI1394_RQPkt
|
OHCI1394_RSPkt
|
OHCI1394_reqTxComplete
|
OHCI1394_respTxComplete
|
OHCI1394_isochRx
|
OHCI1394_isochTx
|
OHCI1394_
masterIntEnable
|
OHCI1394_
cycle64Seconds
);
OHCI1394_
postedWriteErr
|
OHCI1394_cycle64Seconds
|
OHCI1394_
masterIntEnable
);
/* Activate link_on bit and contender bit in our self ID packets.*/
if
(
ohci_update_phy_reg
(
card
,
4
,
0
,
...
...
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