Skip to content

Commit

Permalink
firewire: core: add CSR RESET_START support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Clemens Ladisch committed Jun 10, 2010
1 parent 506f1a3 commit 446eba0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/firewire/core-transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -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->
Expand Down

0 comments on commit 446eba0

Please sign in to comment.