projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
506f1a3
)
firewire: core: add CSR RESET_START support
author
Clemens Ladisch
<clemens@ladisch.de>
Thu, 10 Jun 2010 06:25:46 +0000
(08:25 +0200)
committer
Clemens Ladisch
<clemens@ladisch.de>
Thu, 10 Jun 2010 06:25:46 +0000
(08:25 +0200)
This implements the RESET_START register (as a dummy) to make the Base
1394 Test Suite happy.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
drivers/firewire/core-transaction.c
patch
|
blob
|
history
diff --git
a/drivers/firewire/core-transaction.c
b/drivers/firewire/core-transaction.c
index 16ffa27d23b747033c08ddc85ac0b1449291fb7d..0034229dfd140317a24703d2c4c01e32e58a5070 100644
(file)
--- a/
drivers/firewire/core-transaction.c
+++ b/
drivers/firewire/core-transaction.c
@@
-1034,6
+1034,11
@@
static void handle_registers(struct fw_card *card, struct fw_request *request,
rcode = RCODE_TYPE_ERROR;
break;
+ case CSR_RESET_START:
+ if (tcode != TCODE_WRITE_QUADLET_REQUEST)
+ rcode = RCODE_TYPE_ERROR;
+ break;
+
case CSR_CYCLE_TIME:
if (TCODE_IS_READ_REQUEST(tcode) && length == 4)
*data = cpu_to_be32(card->driver->