aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/core-transaction.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2010-06-10 02:25:46 -0400
committerClemens Ladisch <clemens@ladisch.de>2010-06-10 02:25:46 -0400
commit446eba0d6896787b2f02f7a665838d32aa7b9d3f (patch)
treea4428929ea4f7512cf9fd77f60195ce6bc8af08e /drivers/firewire/core-transaction.c
parent506f1a31932747f56a5029d5b3c14b1b68f41ccc (diff)
firewire: core: add CSR RESET_START support
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>
Diffstat (limited to 'drivers/firewire/core-transaction.c')
-rw-r--r--drivers/firewire/core-transaction.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/firewire/core-transaction.c b/drivers/firewire/core-transaction.c
index 16ffa27d23b7..0034229dfd14 100644
--- 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,
1034 rcode = RCODE_TYPE_ERROR; 1034 rcode = RCODE_TYPE_ERROR;
1035 break; 1035 break;
1036 1036
1037 case CSR_RESET_START:
1038 if (tcode != TCODE_WRITE_QUADLET_REQUEST)
1039 rcode = RCODE_TYPE_ERROR;
1040 break;
1041
1037 case CSR_CYCLE_TIME: 1042 case CSR_CYCLE_TIME:
1038 if (TCODE_IS_READ_REQUEST(tcode) && length == 4) 1043 if (TCODE_IS_READ_REQUEST(tcode) && length == 4)
1039 *data = cpu_to_be32(card->driver-> 1044 *data = cpu_to_be32(card->driver->