Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210151
b: refs/heads/master
c: a4dc090
h: refs/heads/master
i:
  210149: 0f0afc4
  210147: a157d2d
  210143: 4f39a8b
v: v3
  • Loading branch information
Stefan Richter committed Aug 29, 2010
1 parent 286cab7 commit 23793bd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2222bcb76790f4f61f39ec1514946a7593b07e02
refs/heads/master: a4dc090b6cb445257d2a8e44f85395ced6d1ed3e
10 changes: 9 additions & 1 deletion trunk/drivers/firewire/ohci.c
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,15 @@ static __le32 *handle_ar_packet(struct ar_context *ctx, __le32 *buffer)
log_ar_at_event('R', p.speed, p.header, evt);

/*
* The OHCI bus reset handler synthesizes a phy packet with
* Several controllers, notably from NEC and VIA, forget to
* write ack_complete status at PHY packet reception.
*/
if (evt == OHCI1394_evt_no_status &&
(p.header[0] & 0xff) == (OHCI1394_phy_tcode << 4))
p.ack = ACK_COMPLETE;

/*
* The OHCI bus reset handler synthesizes a PHY packet with
* the new generation number when a bus reset happens (see
* section 8.4.2.3). This helps us determine when a request
* was received and make sure we send the response in the same
Expand Down

0 comments on commit 23793bd

Please sign in to comment.