diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-01-30 19:40:18 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-01-30 19:40:18 -0500 |
| commit | 94ed294c20ef07fffa40817c68155fba35dd67f1 (patch) | |
| tree | 672cb304bd6440e681daeff2d04f753dc43dd2e4 /drivers/firewire/fw-transaction.c | |
| parent | 5bdeae46be6dfe9efa44a548bd622af325f4bdb4 (diff) | |
| parent | 384170da9384b7bb3650c0c9b9d17ba0f7bde4ff (diff) | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6: (26 commits)
firewire: fw-sbp2: Use sbp2 device-provided mgt orb timeout for logins
firewire: fw-sbp2: increase login orb reply timeout, fix "failed to login"
firewire: replace subtraction with bitwise and
firewire: fw-core: react on bus resets while the config ROM is being fetched
firewire: enforce access order between generation and node ID, fix "giving up on config rom"
firewire: fw-cdev: use device generation, not card generation
firewire: fw-sbp2: use device generation, not card generation
firewire: fw-sbp2: try to increase reconnect_hold (speed up reconnection)
firewire: fw-sbp2: skip unnecessary logout
firewire vs. ieee1394: clarify MAINTAINERS
firewire: fw-ohci: Dynamically allocate buffers for DMA descriptors
firewire: fw-ohci: CycleTooLong interrupt management
firewire: Fix extraction of source node id
firewire: fw-ohci: Bug fixes for packet-per-buffer support
firewire: fw-ohci: Fix for dualbuffer three-or-more buffers
firewire: fw-sbp2: remove unused misleading macro
firewire: fw-sbp2: prepare for s/g chaining
firewire: fw-sbp2: refactor workq and kref handling
ieee1394: ohci1394: don't schedule IT tasklets on IR events
ieee1394: sbp2: raise default transfer size limit
...
Diffstat (limited to 'drivers/firewire/fw-transaction.c')
| -rw-r--r-- | drivers/firewire/fw-transaction.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firewire/fw-transaction.c b/drivers/firewire/fw-transaction.c index c00d4a9b39e5..7fcc59dedf08 100644 --- a/drivers/firewire/fw-transaction.c +++ b/drivers/firewire/fw-transaction.c | |||
| @@ -153,7 +153,7 @@ fw_fill_request(struct fw_packet *packet, int tcode, int tlabel, | |||
| 153 | int ext_tcode; | 153 | int ext_tcode; |
| 154 | 154 | ||
| 155 | if (tcode > 0x10) { | 155 | if (tcode > 0x10) { |
| 156 | ext_tcode = tcode - 0x10; | 156 | ext_tcode = tcode & ~0x10; |
| 157 | tcode = TCODE_LOCK_REQUEST; | 157 | tcode = TCODE_LOCK_REQUEST; |
| 158 | } else | 158 | } else |
| 159 | ext_tcode = 0; | 159 | ext_tcode = 0; |
| @@ -650,7 +650,7 @@ fw_core_handle_request(struct fw_card *card, struct fw_packet *p) | |||
| 650 | HEADER_GET_OFFSET_HIGH(p->header[1]) << 32) | p->header[2]; | 650 | HEADER_GET_OFFSET_HIGH(p->header[1]) << 32) | p->header[2]; |
| 651 | tcode = HEADER_GET_TCODE(p->header[0]); | 651 | tcode = HEADER_GET_TCODE(p->header[0]); |
| 652 | destination = HEADER_GET_DESTINATION(p->header[0]); | 652 | destination = HEADER_GET_DESTINATION(p->header[0]); |
| 653 | source = HEADER_GET_SOURCE(p->header[0]); | 653 | source = HEADER_GET_SOURCE(p->header[1]); |
| 654 | 654 | ||
| 655 | spin_lock_irqsave(&address_handler_lock, flags); | 655 | spin_lock_irqsave(&address_handler_lock, flags); |
| 656 | handler = lookup_enclosing_address_handler(&address_handler_list, | 656 | handler = lookup_enclosing_address_handler(&address_handler_list, |
