Skip to content
Snippets Groups Projects
Commit 446eba0d authored by Clemens Ladisch's avatar Clemens Ladisch
Browse files

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: default avatarClemens Ladisch <clemens@ladisch.de>
parent 506f1a31
No related branches found
No related tags found
No related merge requests found
...@@ -1034,6 +1034,11 @@ static void handle_registers(struct fw_card *card, struct fw_request *request, ...@@ -1034,6 +1034,11 @@ static void handle_registers(struct fw_card *card, struct fw_request *request,
rcode = RCODE_TYPE_ERROR; rcode = RCODE_TYPE_ERROR;
break; break;
case CSR_RESET_START:
if (tcode != TCODE_WRITE_QUADLET_REQUEST)
rcode = RCODE_TYPE_ERROR;
break;
case CSR_CYCLE_TIME: case CSR_CYCLE_TIME:
if (TCODE_IS_READ_REQUEST(tcode) && length == 4) if (TCODE_IS_READ_REQUEST(tcode) && length == 4)
*data = cpu_to_be32(card->driver-> *data = cpu_to_be32(card->driver->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment