1
0
Fork 0

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>
hifive-unleashed-5.1
Clemens Ladisch 2010-06-10 08:25:46 +02:00
parent 506f1a3193
commit 446eba0d68
1 changed files with 5 additions and 0 deletions

View File

@ -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->