]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
firewire: Rename 'send_iso' to 'start_iso'.
authorKristian Høgsberg <krh@redhat.com>
Fri, 16 Feb 2007 22:34:41 +0000 (17:34 -0500)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 9 Mar 2007 21:02:59 +0000 (22:02 +0100)
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-device-cdev.c
drivers/firewire/fw-device-cdev.h
drivers/firewire/fw-iso.c
drivers/firewire/fw-ohci.c
drivers/firewire/fw-transaction.h

index 1101ccd9b9c18bde75239fe32b08f191140d7a7d..b738c997ef39ce5b63aeb49c55c8944e53f5ec74 100644 (file)
@@ -503,15 +503,15 @@ static int ioctl_queue_iso(struct client *client, void __user *arg)
        return count;
 }
 
-static int ioctl_send_iso(struct client *client, void __user *arg)
+static int ioctl_start_iso(struct client *client, void __user *arg)
 {
-       struct fw_cdev_send_iso request;
+       struct fw_cdev_start_iso request;
 
        if (copy_from_user(&request, arg, sizeof request))
                return -EFAULT;
 
-       return fw_iso_context_send(client->iso_context, request.channel,
-                                  request.speed, request.cycle);
+       return fw_iso_context_start(client->iso_context, request.channel,
+                                   request.speed, request.cycle);
 }
 
 static int
@@ -530,8 +530,8 @@ dispatch_ioctl(struct client *client, unsigned int cmd, void __user *arg)
                return ioctl_create_iso_context(client, arg);
        case FW_CDEV_IOC_QUEUE_ISO:
                return ioctl_queue_iso(client, arg);
-       case FW_CDEV_IOC_SEND_ISO:
-               return ioctl_send_iso(client, arg);
+       case FW_CDEV_IOC_START_ISO:
+               return ioctl_start_iso(client, arg);
        default:
                return -EINVAL;
        }
index 4e766ec6cd388595cf61f933eaacf5158c2dd4d4..ac91ce501bfe4a5387ec5f4cbee727a6331e559a 100644 (file)
@@ -97,7 +97,7 @@ struct fw_cdev_event_iso_interrupt {
 #define FW_CDEV_IOC_SEND_RESPONSE      _IO('#', 0x03)
 #define FW_CDEV_IOC_CREATE_ISO_CONTEXT _IO('#', 0x04)
 #define FW_CDEV_IOC_QUEUE_ISO          _IO('#', 0x05)
-#define FW_CDEV_IOC_SEND_ISO           _IO('#', 0x06)
+#define FW_CDEV_IOC_START_ISO          _IO('#', 0x06)
 
 struct fw_cdev_get_config_rom {
        __u32 length;
@@ -150,7 +150,7 @@ struct fw_cdev_queue_iso {
        __u64 data;
 };
 
-struct fw_cdev_send_iso {
+struct fw_cdev_start_iso {
        __u32 channel;
        __u32 speed;
        __s32 cycle;
index 4c6dc99a1ff84880d0038cc940a7f2a968de0d8d..d84792fe619a850fb42db824bd4edd99436a8ce5 100644 (file)
@@ -134,15 +134,15 @@ void fw_iso_context_destroy(struct fw_iso_context *ctx)
 EXPORT_SYMBOL(fw_iso_context_destroy);
 
 int
-fw_iso_context_send(struct fw_iso_context *ctx,
-                   int channel, int speed, int cycle)
+fw_iso_context_start(struct fw_iso_context *ctx,
+                    int channel, int speed, int cycle)
 {
        ctx->channel = channel;
        ctx->speed = speed;
 
-       return ctx->card->driver->send_iso(ctx, cycle);
+       return ctx->card->driver->start_iso(ctx, cycle);
 }
-EXPORT_SYMBOL(fw_iso_context_send);
+EXPORT_SYMBOL(fw_iso_context_start);
 
 int
 fw_iso_context_queue(struct fw_iso_context *ctx,
index 90db5a4f3aee4a63239e41349de00a0b8f074ead..faa384426a12e9201c9bb87ecf6496b3f29a9c59 100644 (file)
@@ -1350,7 +1350,7 @@ ohci_allocate_iso_context(struct fw_card *card, int type)
        return &ctx->base;
 }
 
-static int ohci_send_iso(struct fw_iso_context *base, s32 cycle)
+static int ohci_start_iso(struct fw_iso_context *base, s32 cycle)
 {
        struct iso_context *ctx = container_of(base, struct iso_context, base);
        struct fw_ohci *ohci = ctx->context.ohci;
@@ -1594,7 +1594,7 @@ static const struct fw_card_driver ohci_driver = {
        .allocate_iso_context   = ohci_allocate_iso_context,
        .free_iso_context       = ohci_free_iso_context,
        .queue_iso              = ohci_queue_iso,
-       .send_iso               = ohci_send_iso,
+       .start_iso              = ohci_start_iso,
 };
 
 static int software_reset(struct fw_ohci *ohci)
index 9e92edad68d7c0d213adc925d27b6aedc177ae5f..9ccbed80cebb0c448ca4693fa530d22cd7daa028 100644 (file)
@@ -376,10 +376,6 @@ fw_iso_context_create(struct fw_card *card, int type, size_t header_size,
 void
 fw_iso_context_destroy(struct fw_iso_context *ctx);
 
-void
-fw_iso_context_start(struct fw_iso_context *ctx,
-                    int channel, int speed, int cycle);
-
 int
 fw_iso_context_queue(struct fw_iso_context *ctx,
                     struct fw_iso_packet *packet,
@@ -387,7 +383,7 @@ fw_iso_context_queue(struct fw_iso_context *ctx,
                     unsigned long payload);
 
 int
-fw_iso_context_send(struct fw_iso_context *ctx,
+fw_iso_context_start(struct fw_iso_context *ctx,
                    int channel, int speed, int cycle);
 
 struct fw_card_driver {
@@ -426,7 +422,7 @@ struct fw_card_driver {
        (*allocate_iso_context)(struct fw_card *card, int type);
        void (*free_iso_context)(struct fw_iso_context *ctx);
 
-       int (*send_iso)(struct fw_iso_context *ctx, s32 cycle);
+       int (*start_iso)(struct fw_iso_context *ctx, s32 cycle);
 
        int (*queue_iso)(struct fw_iso_context *ctx,
                         struct fw_iso_packet *packet,