summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2010-06-10 08:25:46 +0200
committerClemens Ladisch <clemens@ladisch.de>2010-06-10 08:25:46 +0200
commit446eba0d6896787b2f02f7a665838d32aa7b9d3f (patch)
treea4428929ea4f7512cf9fd77f60195ce6bc8af08e /drivers
parent506f1a31932747f56a5029d5b3c14b1b68f41ccc (diff)
downloadblackbird-op-linux-446eba0d6896787b2f02f7a665838d32aa7b9d3f.tar.gz
blackbird-op-linux-446eba0d6896787b2f02f7a665838d32aa7b9d3f.zip
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')
-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,
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->
OpenPOWER on IntegriCloud