A number of minor changes have either been unintentionally made to the
2.6.38 tree or occurred as a result of not backporting all upstream changes.
These differences do not affect driver operation, but the clutter they
produce in the output of `diff` does serve to hide a number of "real"
semantic differences. They also make it more difficult to backport
upstream patches, as the patch command will fail if the context does
not exactly match.

To resolve these issues, this commit pulls in as many trivial changes
from 3.7 (which itself was synchronized in the prior patch) as possible.

Notable changes include:

  * Linebreak in each 'struct wacom_features' definition moved to occur
    after the 'distance_max' field like upstream does

  * The 'wacom_ids' table is reordered by PID like upstream

  * Maximum tablet coordinates of DTH2242 corrected

  * Several cases inside 'wacom_setup_input_capabilities' are moved to
    match their position within 3.7. Where fallthroughs are affected,
    identical behavior has been confirmed.

Signed-off-by: Jason Gerecke <jason.gere...@wacom.com>
---
 2.6.38/wacom_sys.c   | 107 +++----
 2.6.38/wacom_w8001.c |   2 +
 2.6.38/wacom_wac.c   | 816 +++++++++++++++++++++++++--------------------------
 3.7/wacom_sys.c      |   2 +-
 4 files changed, 460 insertions(+), 467 deletions(-)

diff --git a/2.6.38/wacom_sys.c b/2.6.38/wacom_sys.c
index d9e3111..295c1ea 100644
--- a/2.6.38/wacom_sys.c
+++ b/2.6.38/wacom_sys.c
@@ -136,6 +136,7 @@ static void wacom_sys_irq(struct urb *urb)
                        __func__, urb->status);
                goto exit;
        }
+
        wacom_wac_irq(&wacom->wacom_wac, urb->actual_length);
 
  exit:
@@ -586,13 +587,13 @@ static int wacom_parse_hid(struct usb_interface *intf,
                case HID_COLLECTION:
                        switch (report[i]) {
                        case HID_COLLECTION_LOGICAL:
-                                       if (features->type == BAMBOO_PT) {
-                                               features->pktlen = 
WACOM_PKGLEN_BBTOUCH3;
-                                               features->device_type = 
BTN_TOOL_FINGER;
+                               if (features->type == BAMBOO_PT) {
+                                       features->pktlen = 
WACOM_PKGLEN_BBTOUCH3;
+                                       features->device_type = BTN_TOOL_FINGER;
 
-                                               features->x_max = 
features->y_max =
-                                                       
get_unaligned_le16(&report[10]);
-                                       }
+                                       features->x_max = features->y_max =
+                                               get_unaligned_le16(&report[10]);
+                               }
                                break;
                        }
                        break;
@@ -746,14 +747,12 @@ static struct usb_device *wacom_get_sibling(struct 
usb_device *dev, int vendor,
 
        for (i = 0 ; i < dev->parent->maxchild; i++) {
                struct usb_device *sibling = dev->parent->children[i];
-               struct usb_device_descriptor d;
-
+               struct usb_device_descriptor *d;
                if (sibling == NULL)
                        continue;
 
-               d = sibling->descriptor;
-
-               if (d.idVendor == vendor && d.idProduct == product)
+               d = &sibling->descriptor;
+               if (d->idVendor == vendor && d->idProduct == product)
                        return sibling;
        }
 
@@ -774,6 +773,29 @@ static struct wacom_usbdev_data 
*wacom_get_usbdev_data(struct usb_device *dev)
        return NULL;
 }
 
+static void wacom_release_shared_data(struct kref *kref)
+{
+       struct wacom_usbdev_data *data =
+               container_of(kref, struct wacom_usbdev_data, kref);
+
+       mutex_lock(&wacom_udev_list_lock);
+       list_del(&data->list);
+       mutex_unlock(&wacom_udev_list_lock);
+
+       kfree(data);
+}
+
+static void wacom_remove_shared_data(struct wacom_wac *wacom)
+{
+       struct wacom_usbdev_data *data;
+
+       if (wacom->shared) {
+               data = container_of(wacom->shared, struct wacom_usbdev_data, 
shared);
+               kref_put(&data->kref, wacom_release_shared_data);
+               wacom->shared = NULL;
+       }
+}
+
 static int wacom_add_shared_data(struct wacom_wac *wacom,
                                 struct usb_device *dev)
 {
@@ -802,29 +824,6 @@ out:
        return retval;
 }
 
-static void wacom_release_shared_data(struct kref *kref)
-{
-       struct wacom_usbdev_data *data =
-               container_of(kref, struct wacom_usbdev_data, kref);
-
-       mutex_lock(&wacom_udev_list_lock);
-       list_del(&data->list);
-       mutex_unlock(&wacom_udev_list_lock);
-
-       kfree(data);
-}
-
-static void wacom_remove_shared_data(struct wacom_wac *wacom)
-{
-       struct wacom_usbdev_data *data;
-
-       if (wacom->shared) {
-               data = container_of(wacom->shared, struct wacom_usbdev_data, 
shared);
-               kref_put(&data->kref, wacom_release_shared_data);
-               wacom->shared = NULL;
-       }
-}
-
 static int wacom_led_control(struct wacom *wacom)
 {
        unsigned char *buf;
@@ -847,7 +846,7 @@ static int wacom_led_control(struct wacom *wacom)
                buf[2] = wacom->led.select[0] & 0x03;
 
        } else if (wacom->wacom_wac.features.type >= INTUOS5S &&
-           wacom->wacom_wac.features.type <= INTUOSPL) {
+           wacom->wacom_wac.features.type <= INTUOSPL) {
                /*
                 * Touch Ring and crop mark LED luminance may take on
                 * one of four values:
@@ -1108,8 +1107,8 @@ static void wacom_devm_sysfs_group_release(struct device 
*dev, void *res)
 }
 
 static int __wacom_devm_sysfs_create_group(struct wacom *wacom,
-                                        struct kobject *root,
-                                        struct attribute_group *group)
+                                          struct kobject *root,
+                                          struct attribute_group *group)
 {
        struct wacom_sysfs_group_devres *devres;
        int error;
@@ -1217,8 +1216,7 @@ static int wacom_battery_get_property(struct power_supply 
*psy,
                                      enum power_supply_property psp,
                                      union power_supply_propval *val)
 {
-       struct wacom_battery *battery = container_of(psy, struct wacom_battery,
-                                                    battery);
+       struct wacom_battery *battery = container_of(psy, struct wacom_battery, 
battery);
        int ret = 0;
 
        switch (psp) {
@@ -1264,6 +1262,7 @@ static int __wacom_initialize_battery(struct wacom *wacom,
        unsigned long n;
 
        spin_lock_irqsave(&ps_lock, flags); /* Prevent potential race for the 
"wacom_battery" name */
+
        n = atomic_inc_return(&battery_no) - 1;
 
        if (power_supply_get_by_name("wacom_battery"))
@@ -1354,7 +1353,8 @@ DEVICE_EKR_ATTR_GROUP(2);
 DEVICE_EKR_ATTR_GROUP(3);
 DEVICE_EKR_ATTR_GROUP(4);
 
-static int wacom_remote_create_attr_group(struct wacom *wacom, __u32 serial, 
int index)
+static int wacom_remote_create_attr_group(struct wacom *wacom, __u32 serial,
+                                         int index)
 {
        int error = 0;
        struct wacom_remote *remote = wacom->remote;
@@ -1365,7 +1365,6 @@ static int wacom_remote_create_attr_group(struct wacom 
*wacom, __u32 serial, int
 
        error = __wacom_devm_sysfs_create_group(wacom, remote->remote_dir,
                                                &remote->remotes[index].group);
-
        if (error) {
                remote->remotes[index].group.name = NULL;
                dev_err(&wacom->intf->dev,
@@ -1427,7 +1426,6 @@ static void wacom_remote_destroy_one(struct wacom *wacom, 
unsigned int index)
                         */
                        kfree((char *)remote->remotes[i].group.name);
                        remote->remotes[i].group.name = NULL;
-
                        remote->remotes[i].registered = false;
                        remote->remotes[i].battery.battery.dev = NULL;
                        wacom->led.select[i] = WACOM_STATUS_UNKNOWN;
@@ -1470,9 +1468,8 @@ static const struct attribute *remote_unpair_attrs[] = {
        NULL
 };
 
-static void wacom_remotes_destroy(void *data)
+static void wacom_remotes_destroy(struct wacom *wacom)
 {
-       struct wacom *wacom = data;
        struct wacom_remote *remote = wacom->remote;
        int i;
 
@@ -1728,8 +1725,10 @@ static int wacom_remote_attach_battery(struct wacom 
*wacom, int index)
 static void wacom_set_default_phy(struct wacom_features *features)
 {
        if (features->x_resolution) {
-               features->x_phy = (features->x_max * 100) / 
features->x_resolution;
-               features->y_phy = (features->y_max * 100) / 
features->y_resolution;
+               features->x_phy = (features->x_max * 100) /
+                                       features->x_resolution;
+               features->y_phy = (features->y_max * 100) /
+                                       features->y_resolution;
        }
 }
 
@@ -1742,11 +1741,13 @@ static void wacom_calculate_res(struct wacom_features 
*features)
        }
 
        features->x_resolution = wacom_calc_hid_res(features->x_max,
-                                features->x_phy, features->unit,
-                                features->unitExpo);
+                                                   features->x_phy,
+                                                   features->unit,
+                                                   features->unitExpo);
        features->y_resolution = wacom_calc_hid_res(features->y_max,
-                                features->y_phy, features->unit,
-                                features->unitExpo);
+                                                   features->y_phy,
+                                                   features->unit,
+                                                   features->unitExpo);
 }
 
 static void wacom_wireless_work(struct work_struct *work)
@@ -1886,7 +1887,7 @@ static void wacom_remote_work(struct work_struct *work)
        count = kfifo_out(&remote->remote_fifo, &data, sizeof(data));
 
        if (count != sizeof(data)) {
-                       dev_err(dev,
+               dev_err(dev,
                        "workitem triggered without status available\n");
                spin_unlock_irqrestore(&remote->remote_lock, flags);
                return;
@@ -2035,8 +2036,8 @@ static int wacom_probe(struct usb_interface *intf, const 
struct usb_device_id *i
        }
 
        if ((wacom_wac->features.type == INTUOSHT ||
-           wacom_wac->features.type == INTUOSHT2) &&
-           wacom_wac->features.touch_max) {
+            wacom_wac->features.type == INTUOSHT2) &&
+            wacom_wac->features.touch_max) {
                if (wacom_wac->features.device_type == BTN_TOOL_FINGER) {
                        wacom_wac->shared->type = wacom_wac->features.type;
                        wacom_wac->shared->touch_input = wacom_wac->input;
diff --git a/2.6.38/wacom_w8001.c b/2.6.38/wacom_w8001.c
index 6d3c305..f15afb2 100644
--- a/2.6.38/wacom_w8001.c
+++ b/2.6.38/wacom_w8001.c
@@ -451,6 +451,7 @@ static int w8001_setup_pen(struct w8001 *w8001, char 
*basename,
                input_set_abs_params(dev, ABS_TILT_X, 0, coord.tilt_x, 0, 0);
                input_set_abs_params(dev, ABS_TILT_Y, 0, coord.tilt_y, 0, 0);
        }
+
        w8001->id = 0x90;
        strlcat(basename, " Penabled", basename_sz);
 
@@ -523,6 +524,7 @@ static int w8001_setup_touch(struct w8001 *w8001, char 
*basename,
                                "failed to initialize MT slots: %d\n", error);
                        return error;
                }
+
                input_set_abs_params(dev, ABS_MT_POSITION_X,
                                        0, touch.x, 0, 0);
                input_set_abs_params(dev, ABS_MT_POSITION_Y,
diff --git a/2.6.38/wacom_wac.c b/2.6.38/wacom_wac.c
index 2c0e347..0b8b15f 100644
--- a/2.6.38/wacom_wac.c
+++ b/2.6.38/wacom_wac.c
@@ -33,7 +33,8 @@
 #define WACOM_DTU_OFFSET       200
 #define WACOM_CINTIQ_OFFSET    400
 
-/* Scale factor relating reported contact size to logical contact area.
+/*
+ * Scale factor relating reported contact size to logical contact area.
  * 2^14/pi is a good approximation on Intuos5 and 3rd-gen Bamboo
  */
 #define WACOM_CONTACT_AREA_SCALE 2607
@@ -43,11 +44,12 @@ module_param(touch_arbitration, bool, 0644);
 MODULE_PARM_DESC(touch_arbitration, " on (Y) off (N)");
 
 static void wacom_report_numbered_buttons(struct input_dev *input_dev,
-                               int button_cout, int mask);
+                               int button_count, int mask);
 
 static void __wacom_notify_battery(struct wacom_battery *battery,
-       int bat_status, int bat_capacity, bool bat_charging,
-       bool bat_connected, bool ps_connected)
+                                  int bat_status, int bat_capacity,
+                                  bool bat_charging, bool bat_connected,
+                                  bool ps_connected)
 {
        bool changed = battery->bat_status       != bat_status    ||
                       battery->battery_capacity != bat_capacity  ||
@@ -818,9 +820,9 @@ static int wacom_intuos_general(struct wacom_wac *wacom)
                        t >>= 1;
                input_report_abs(input, ABS_PRESSURE, t);
                if (features->type != INTUOSHT2) {
-                       input_report_abs(input, ABS_TILT_X,
+                   input_report_abs(input, ABS_TILT_X,
                                ((data[7] << 1) & 0x7e) | (data[8] >> 7));
-                       input_report_abs(input, ABS_TILT_Y, data[8] & 0x7f);
+                   input_report_abs(input, ABS_TILT_Y, data[8] & 0x7f);
                }
                input_report_key(input, BTN_STYLUS, data[1] & 2);
                input_report_key(input, BTN_STYLUS2, data[1] & 4);
@@ -1041,8 +1043,8 @@ static int wacom_remote_irq(struct wacom_wac *wacom_wac, 
size_t len)
        }
 
        __wacom_notify_battery(&remote->remotes[index].battery,
-               WACOM_POWER_SUPPLY_STATUS_AUTO, bat_percent,
-               bat_charging, 1, bat_charging);
+                               WACOM_POWER_SUPPLY_STATUS_AUTO, bat_percent,
+                               bat_charging, 1, bat_charging);
 
 out:
        spin_unlock_irqrestore(&remote->remote_lock, flags);
@@ -1314,7 +1316,6 @@ static int wacom_24hdt_irq(struct wacom_wac *wacom)
                wacom->num_contacts_left = 0;
                wacom->shared->touch_down = 
wacom_wac_finger_count_touches(wacom);
        }
-
        return 1;
 }
 
@@ -1369,7 +1370,6 @@ static int wacom_mt_touch(struct wacom_wac *wacom)
                wacom->num_contacts_left = 0;
                wacom->shared->touch_down = 
wacom_wac_finger_count_touches(wacom);
        }
-
        return 1;
 }
 
@@ -1548,10 +1548,12 @@ static void wacom_bpt3_touch_msg(struct wacom_wac 
*wacom, unsigned char *data)
 {
        struct wacom_features *features = &wacom->features;
        struct input_dev *input = wacom->input;
-       int slot_id = data[0] - 2;  /* data[0] is between 2 and 17 */
-       bool touch = (data[1] & 0x80) && report_touch_events(wacom) ;
+       bool touch = data[1] & 0x80;
+       int slot = data[0] - 2;  /* data[0] is between 2 and 17 */
 
-       input_mt_slot(input, slot_id);
+       touch = touch && report_touch_events(wacom);
+
+       input_mt_slot(input, slot);
        input_mt_report_slot_state(input, MT_TOOL_FINGER, touch);
 
        if (touch) {
@@ -1569,9 +1571,9 @@ static void wacom_bpt3_touch_msg(struct wacom_wac *wacom, 
unsigned char *data)
                         * a=(pi*r^2)/C.
                         */
                        int a = data[5];
-                       int x_res  = input_abs_get_res(input, ABS_X);
-                       int y_res  = input_abs_get_res(input, ABS_Y);
-                       width  = 2 * int_sqrt(a * WACOM_CONTACT_AREA_SCALE);
+                       int x_res = input_abs_get_res(input, ABS_X);
+                       int y_res = input_abs_get_res(input, ABS_Y);
+                       width = 2 * int_sqrt(a * WACOM_CONTACT_AREA_SCALE);
                        height = width * y_res / x_res;
                }
 
@@ -1625,7 +1627,6 @@ static int wacom_bpt3_touch(struct wacom_wac *wacom)
                input_mt_report_pointer_emulation(input, true);
                wacom->shared->touch_down = 
wacom_wac_finger_count_touches(wacom);
        }
-
        return 1;
 }
 
@@ -2137,8 +2138,7 @@ static void wacom_setup_basic_pro_pen(struct wacom_wac 
*wacom_wac)
        __set_bit(BTN_STYLUS2, input_dev->keybit);
 
        input_set_abs_params(input_dev, ABS_DISTANCE,
-                            0, wacom_wac->features.distance_max,
-                            wacom_wac->features.distance_fuzz, 0);
+                            0, wacom_wac->features.distance_max, 
wacom_wac->features.distance_fuzz, 0);
 }
 
 static void wacom_setup_cintiq(struct wacom_wac *wacom_wac)
@@ -2236,7 +2236,6 @@ void wacom_setup_device_quirks(struct wacom *wacom)
 
        if (features->type == REMOTE)
                features->quirks |= WACOM_QUIRK_MONITOR;
-
 }
 
 static void wacom_abs_set_axis(struct input_dev *input_dev,
@@ -2264,9 +2263,9 @@ static void wacom_abs_set_axis(struct input_dev 
*input_dev,
                        input_set_abs_params(input_dev, ABS_MT_POSITION_Y, 0,
                                features->y_max, features->y_fuzz, 0);
                        input_abs_set_res(input_dev, ABS_MT_POSITION_X,
-                               features->x_resolution);
+                                         features->x_resolution);
                        input_abs_set_res(input_dev, ABS_MT_POSITION_Y,
-                               features->y_resolution);
+                                         features->y_resolution);
                }
        }
 }
@@ -2284,7 +2283,7 @@ static int wacom_numbered_button_to_key(int n)
 }
 
 static void wacom_setup_numbered_buttons(struct input_dev *input_dev,
-                                 int button_count)
+                               int button_count)
 {
        int i;
 
@@ -2366,8 +2365,7 @@ int wacom_setup_input_capabilities(struct input_dev 
*input_dev,
        case WACOM_G4:
                input_set_capability(input_dev, EV_MSC, MSC_SERIAL);
                input_set_abs_params(input_dev, ABS_DISTANCE, 0,
-                                    features->distance_max,
-                                    features->distance_fuzz, 0);
+                       features->distance_max, features->distance_fuzz, 0);
 
                __set_bit(BTN_BACK, input_dev->keybit);
                __set_bit(BTN_FORWARD, input_dev->keybit);
@@ -2390,13 +2388,11 @@ int wacom_setup_input_capabilities(struct input_dev 
*input_dev,
                break;
 
        case WACOM_24HD:
-               input_set_abs_params(input_dev, ABS_THROTTLE, 0, 71, 0, 0);
-               /* fall through */
-
-       case WACOM_27QHD:
                __set_bit(KEY_PROG1, input_dev->keybit);
                __set_bit(KEY_PROG2, input_dev->keybit);
                __set_bit(KEY_PROG3, input_dev->keybit);
+
+               input_set_abs_params(input_dev, ABS_THROTTLE, 0, 71, 0, 0);
                /* fall through */
 
        case WACOM_13HD:
@@ -2408,6 +2404,17 @@ int wacom_setup_input_capabilities(struct input_dev 
*input_dev,
 
        case DTK:
                __set_bit(INPUT_PROP_DIRECT, input_dev->propbit);
+
+               wacom_setup_cintiq(wacom_wac);
+               break;
+
+       case WACOM_27QHD:
+               __set_bit(KEY_PROG1, input_dev->keybit);
+               __set_bit(KEY_PROG2, input_dev->keybit);
+               __set_bit(KEY_PROG3, input_dev->keybit);
+               __set_bit(INPUT_PROP_DIRECT, input_dev->propbit);
+               input_set_abs_params(input_dev, ABS_Z, -900, 899, 0, 0);
+
                wacom_setup_cintiq(wacom_wac);
                break;
 
@@ -2424,6 +2431,7 @@ int wacom_setup_input_capabilities(struct input_dev 
*input_dev,
                input_set_abs_params(input_dev, ABS_RY, 0, 4096, 0, 0);
                input_set_abs_params(input_dev, ABS_Z, -900, 899, 0, 0);
                __set_bit(INPUT_PROP_DIRECT, input_dev->propbit);
+
                wacom_setup_cintiq(wacom_wac);
                break;
 
@@ -2434,11 +2442,6 @@ int wacom_setup_input_capabilities(struct input_dev 
*input_dev,
 
        case INTUOS3S:
                input_set_abs_params(input_dev, ABS_RX, 0, 4096, 0, 0);
-               /* fall through */
-
-       case INTUOS4:
-       case INTUOS4L:
-       case INTUOS4S:
                input_set_abs_params(input_dev, ABS_Z, -900, 899, 0, 0);
                /* fall through */
 
@@ -2498,6 +2501,15 @@ int wacom_setup_input_capabilities(struct input_dev 
*input_dev,
                }
                break;
 
+       case INTUOS4:
+       case INTUOS4L:
+       case INTUOS4S:
+               input_set_abs_params(input_dev, ABS_Z, -900, 899, 0, 0);
+               wacom_setup_intuos(wacom_wac);
+
+               __set_bit(INPUT_PROP_POINTER, input_dev->propbit);
+               break;
+
        case WACOM_24HDT:
                if (features->device_type == BTN_TOOL_FINGER) {
                        input_set_abs_params(input_dev, ABS_MT_WIDTH_MAJOR, 0, 
features->x_max, 0, 0);
@@ -2591,6 +2603,7 @@ int wacom_setup_input_capabilities(struct input_dev 
*input_dev,
                __set_bit(INPUT_PROP_POINTER, input_dev->propbit);
 
                if (features->device_type == BTN_TOOL_FINGER) {
+
                        __set_bit(BTN_LEFT, input_dev->keybit);
                        __set_bit(BTN_FORWARD, input_dev->keybit);
                        __set_bit(BTN_BACK, input_dev->keybit);
@@ -2604,11 +2617,11 @@ int wacom_setup_input_capabilities(struct input_dev 
*input_dev,
                                                  input_dev->keybit);
 
                                        input_set_abs_params(input_dev,
-                                                            ABS_MT_TOUCH_MAJOR,
-                                                            0, 
features->x_max, 0, 0);
+                                                    ABS_MT_TOUCH_MAJOR,
+                                                    0, features->x_max, 0, 0);
                                        input_set_abs_params(input_dev,
-                                                            ABS_MT_TOUCH_MINOR,
-                                                            0, 
features->y_max, 0, 0);
+                                                    ABS_MT_TOUCH_MINOR,
+                                                    0, features->y_max, 0, 0);
                                }
 
                                input_set_abs_params(input_dev, 
ABS_MT_POSITION_X,
@@ -2654,7 +2667,7 @@ int wacom_setup_input_capabilities(struct input_dev 
*input_dev,
        /*
         * Because all devices with numbered buttons have the pen and pad on
         * the same interface we can rely on this check to avoid creating
-        * extra pads. Futre devices may require creating a more involved
+        * extra pads. Future devices may require creating a more involved
         * check.
         */
        if (features->device_type == BTN_TOOL_PEN || features->type == REMOTE)
@@ -2664,208 +2677,202 @@ int wacom_setup_input_capabilities(struct input_dev 
*input_dev,
 }
 
 static const struct wacom_features wacom_features_0x00 =
-       { "Wacom Penpartner",     WACOM_PKGLEN_PENPRTN,    5040,  3780,  255,
-         0, PENPARTNER, WACOM_PENPRTN_RES, WACOM_PENPRTN_RES };
+       { "Wacom Penpartner",     WACOM_PKGLEN_PENPRTN,    5040, 3780, 255, 0,
+         PENPARTNER, WACOM_PENPRTN_RES, WACOM_PENPRTN_RES };
 static const struct wacom_features wacom_features_0x10 =
-       { "Wacom Graphire",       WACOM_PKGLEN_GRAPHIRE,  10206,  7422,  511,
-         63, GRAPHIRE, WACOM_GRAPHIRE_RES, WACOM_GRAPHIRE_RES };
+       { "Wacom Graphire",       WACOM_PKGLEN_GRAPHIRE,  10206, 7422, 511, 63,
+         GRAPHIRE, WACOM_GRAPHIRE_RES, WACOM_GRAPHIRE_RES };
 static const struct wacom_features wacom_features_0x11 =
-       { "Wacom Graphire2 4x5",  WACOM_PKGLEN_GRAPHIRE,  10206,  7422,  511,
-         63, GRAPHIRE, WACOM_GRAPHIRE_RES, WACOM_GRAPHIRE_RES };
+       { "Wacom Graphire2 4x5",  WACOM_PKGLEN_GRAPHIRE,  10206, 7422, 511, 63,
+         GRAPHIRE, WACOM_GRAPHIRE_RES, WACOM_GRAPHIRE_RES };
 static const struct wacom_features wacom_features_0x12 =
-       { "Wacom Graphire2 5x7",  WACOM_PKGLEN_GRAPHIRE,  13918, 10206,  511,
-         63, GRAPHIRE, WACOM_GRAPHIRE_RES, WACOM_GRAPHIRE_RES };
+       { "Wacom Graphire2 5x7",  WACOM_PKGLEN_GRAPHIRE,  13918, 10206, 511, 63,
+         GRAPHIRE, WACOM_GRAPHIRE_RES, WACOM_GRAPHIRE_RES };
 static const struct wacom_features wacom_features_0x13 =
-       { "Wacom Graphire3",      WACOM_PKGLEN_GRAPHIRE,  10208,  7424,  511,
-         63, GRAPHIRE, WACOM_GRAPHIRE_RES, WACOM_GRAPHIRE_RES };
+       { "Wacom Graphire3",      WACOM_PKGLEN_GRAPHIRE,  10208, 7424, 511, 63,
+         GRAPHIRE, WACOM_GRAPHIRE_RES, WACOM_GRAPHIRE_RES };
 static const struct wacom_features wacom_features_0x14 =
-       { "Wacom Graphire3 6x8",  WACOM_PKGLEN_GRAPHIRE,  16704, 12064,  511,
-         63, GRAPHIRE, WACOM_GRAPHIRE_RES, WACOM_GRAPHIRE_RES };
+       { "Wacom Graphire3 6x8",  WACOM_PKGLEN_GRAPHIRE,  16704, 12064, 511, 63,
+         GRAPHIRE, WACOM_GRAPHIRE_RES, WACOM_GRAPHIRE_RES };
 static const struct wacom_features wacom_features_0x15 =
-       { "Wacom Graphire4 4x5",  WACOM_PKGLEN_GRAPHIRE,  10208,  7424,  511,
-         63, WACOM_G4, WACOM_GRAPHIRE_RES, WACOM_GRAPHIRE_RES };
+       { "Wacom Graphire4 4x5",  WACOM_PKGLEN_GRAPHIRE,  10208, 7424, 511, 63,
+         WACOM_G4, WACOM_GRAPHIRE_RES, WACOM_GRAPHIRE_RES };
 static const struct wacom_features wacom_features_0x16 =
-       { "Wacom Graphire4 6x8",  WACOM_PKGLEN_GRAPHIRE,  16704, 12064,  511,
-         63, WACOM_G4, WACOM_GRAPHIRE_RES, WACOM_GRAPHIRE_RES };
+       { "Wacom Graphire4 6x8",  WACOM_PKGLEN_GRAPHIRE,  16704, 12064, 511, 63,
+         WACOM_G4, WACOM_GRAPHIRE_RES, WACOM_GRAPHIRE_RES };
 static const struct wacom_features wacom_features_0x17 =
-       { "Wacom BambooFun 4x5",  WACOM_PKGLEN_BBFUN,     14760,  9225,  511,
-         63, WACOM_MO, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom BambooFun 4x5",  WACOM_PKGLEN_BBFUN,     14760, 9225, 511, 63,
+         WACOM_MO, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x18 =
-       { "Wacom BambooFun 6x8",  WACOM_PKGLEN_BBFUN,     21648, 13530,  511,
-         63, WACOM_MO, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom BambooFun 6x8",  WACOM_PKGLEN_BBFUN,     21648, 13530, 511, 63,
+         WACOM_MO, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x19 =
-       { "Wacom Bamboo1 Medium", WACOM_PKGLEN_GRAPHIRE,  16704, 12064,  511,
-         63, GRAPHIRE, WACOM_GRAPHIRE_RES, WACOM_GRAPHIRE_RES };
+       { "Wacom Bamboo1 Medium", WACOM_PKGLEN_GRAPHIRE,  16704, 12064, 511, 63,
+         GRAPHIRE, WACOM_GRAPHIRE_RES, WACOM_GRAPHIRE_RES };
 static const struct wacom_features wacom_features_0x60 =
-       { "Wacom Volito",         WACOM_PKGLEN_GRAPHIRE,   5104,  3712,  511,
-         63, GRAPHIRE, WACOM_VOLITO_RES, WACOM_VOLITO_RES };
+       { "Wacom Volito",         WACOM_PKGLEN_GRAPHIRE,   5104, 3712, 511, 63,
+         GRAPHIRE, WACOM_VOLITO_RES, WACOM_VOLITO_RES };
 static const struct wacom_features wacom_features_0x61 =
-       { "Wacom PenStation2",    WACOM_PKGLEN_GRAPHIRE,   3250,  2320,  255,
-         63, GRAPHIRE, WACOM_VOLITO_RES, WACOM_VOLITO_RES };
+       { "Wacom PenStation2",    WACOM_PKGLEN_GRAPHIRE,   3250, 2320, 255, 63,
+         GRAPHIRE, WACOM_VOLITO_RES, WACOM_VOLITO_RES };
 static const struct wacom_features wacom_features_0x62 =
-       { "Wacom Volito2 4x5",    WACOM_PKGLEN_GRAPHIRE,   5104,  3712,  511,
-         63, GRAPHIRE, WACOM_VOLITO_RES, WACOM_VOLITO_RES };
+       { "Wacom Volito2 4x5",    WACOM_PKGLEN_GRAPHIRE,   5104, 3712, 511, 63,
+         GRAPHIRE, WACOM_VOLITO_RES, WACOM_VOLITO_RES };
 static const struct wacom_features wacom_features_0x63 =
-       { "Wacom Volito2 2x3",    WACOM_PKGLEN_GRAPHIRE,   3248,  2320,  511,
-         63, GRAPHIRE, WACOM_VOLITO_RES, WACOM_VOLITO_RES };
+       { "Wacom Volito2 2x3",    WACOM_PKGLEN_GRAPHIRE,   3248, 2320, 511, 63,
+         GRAPHIRE, WACOM_VOLITO_RES, WACOM_VOLITO_RES };
 static const struct wacom_features wacom_features_0x64 =
-       { "Wacom PenPartner2",    WACOM_PKGLEN_GRAPHIRE,   3250,  2320,  511,
-         63, GRAPHIRE, WACOM_VOLITO_RES, WACOM_VOLITO_RES };
+       { "Wacom PenPartner2",    WACOM_PKGLEN_GRAPHIRE,   3250, 2320, 511, 63,
+         GRAPHIRE, WACOM_VOLITO_RES, WACOM_VOLITO_RES };
 static const struct wacom_features wacom_features_0x65 =
-       { "Wacom Bamboo",         WACOM_PKGLEN_BBFUN,     14760,  9225,  511,
-         63, WACOM_MO, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Bamboo",         WACOM_PKGLEN_BBFUN,     14760, 9225, 511, 63,
+         WACOM_MO, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x69 =
-       { "Wacom Bamboo1",        WACOM_PKGLEN_GRAPHIRE,   5104,  3712,  511,
-         63, GRAPHIRE, WACOM_PENPRTN_RES, WACOM_PENPRTN_RES };
+       { "Wacom Bamboo1",        WACOM_PKGLEN_GRAPHIRE,   5104, 3712, 511, 63,
+         GRAPHIRE, WACOM_PENPRTN_RES, WACOM_PENPRTN_RES };
 static const struct wacom_features wacom_features_0x6A =
-       { "Wacom Bamboo1 4x6",    WACOM_PKGLEN_GRAPHIRE,  14760,  9225, 1023,
-         63, GRAPHIRE, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Bamboo1 4x6",    WACOM_PKGLEN_GRAPHIRE,  14760, 9225, 1023, 63,
+         GRAPHIRE, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x6B =
-       { "Wacom Bamboo1 5x8",    WACOM_PKGLEN_GRAPHIRE,  21648, 13530, 1023,
-         63, GRAPHIRE, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Bamboo1 5x8",    WACOM_PKGLEN_GRAPHIRE,  21648, 13530, 1023, 
63,
+         GRAPHIRE, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x20 =
-       { "Wacom Intuos 4x5",     WACOM_PKGLEN_INTUOS,    12700, 10600, 1023,
-         31, INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Intuos 4x5",     WACOM_PKGLEN_INTUOS,    12700, 10600, 1023, 
31,
+         INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x21 =
-       { "Wacom Intuos 6x8",     WACOM_PKGLEN_INTUOS,    20320, 16240, 1023,
-         31, INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Intuos 6x8",     WACOM_PKGLEN_INTUOS,    20320, 16240, 1023, 
31,
+         INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x22 =
-       { "Wacom Intuos 9x12",    WACOM_PKGLEN_INTUOS,    30480, 24060, 1023,
-         31, INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Intuos 9x12",    WACOM_PKGLEN_INTUOS,    30480, 24060, 1023, 
31,
+         INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x23 =
-       { "Wacom Intuos 12x12",   WACOM_PKGLEN_INTUOS,    30480, 31680, 1023,
-         31, INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Intuos 12x12",   WACOM_PKGLEN_INTUOS,    30480, 31680, 1023, 
31,
+         INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x24 =
-       { "Wacom Intuos 12x18",   WACOM_PKGLEN_INTUOS,    45720, 31680, 1023,
-         31, INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Intuos 12x18",   WACOM_PKGLEN_INTUOS,    45720, 31680, 1023, 
31,
+         INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x30 =
-       { "Wacom PL400",          WACOM_PKGLEN_GRAPHIRE,   5408,  4056,  255,
-         0, PL, WACOM_PL_RES, WACOM_PL_RES };
+       { "Wacom PL400",          WACOM_PKGLEN_GRAPHIRE,   5408, 4056, 255, 0,
+         PL, WACOM_PL_RES, WACOM_PL_RES };
 static const struct wacom_features wacom_features_0x31 =
-       { "Wacom PL500",          WACOM_PKGLEN_GRAPHIRE,   6144,  4608,  255,
-         0, PL, WACOM_PL_RES, WACOM_PL_RES };
+       { "Wacom PL500",          WACOM_PKGLEN_GRAPHIRE,   6144, 4608, 255, 0,
+         PL, WACOM_PL_RES, WACOM_PL_RES };
 static const struct wacom_features wacom_features_0x32 =
-       { "Wacom PL600",          WACOM_PKGLEN_GRAPHIRE,   6126,  4604,  255,
-         0, PL, WACOM_PL_RES, WACOM_PL_RES };
+       { "Wacom PL600",          WACOM_PKGLEN_GRAPHIRE,   6126, 4604, 255, 0,
+         PL, WACOM_PL_RES, WACOM_PL_RES };
 static const struct wacom_features wacom_features_0x33 =
-       { "Wacom PL600SX",        WACOM_PKGLEN_GRAPHIRE,   6260,  5016,  255,
-         0, PL, WACOM_PL_RES, WACOM_PL_RES };
+       { "Wacom PL600SX",        WACOM_PKGLEN_GRAPHIRE,   6260, 5016, 255, 0,
+         PL, WACOM_PL_RES, WACOM_PL_RES };
 static const struct wacom_features wacom_features_0x34 =
-       { "Wacom PL550",          WACOM_PKGLEN_GRAPHIRE,   6144,  4608,  511,
-         0, PL, WACOM_PL_RES, WACOM_PL_RES };
+       { "Wacom PL550",          WACOM_PKGLEN_GRAPHIRE,   6144, 4608, 511, 0,
+         PL, WACOM_PL_RES, WACOM_PL_RES };
 static const struct wacom_features wacom_features_0x35 =
-       { "Wacom PL800",          WACOM_PKGLEN_GRAPHIRE,   7220,  5780,  511,
-         0, PL, WACOM_PL_RES, WACOM_PL_RES };
+       { "Wacom PL800",          WACOM_PKGLEN_GRAPHIRE,   7220, 5780, 511, 0,
+         PL, WACOM_PL_RES, WACOM_PL_RES };
 static const struct wacom_features wacom_features_0x37 =
-       { "Wacom PL700",          WACOM_PKGLEN_GRAPHIRE,   6758,  5406,  511,
-         0, PL, WACOM_PL_RES, WACOM_PL_RES };
+       { "Wacom PL700",          WACOM_PKGLEN_GRAPHIRE,   6758, 5406, 511, 0,
+         PL, WACOM_PL_RES, WACOM_PL_RES };
 static const struct wacom_features wacom_features_0x38 =
-       { "Wacom PL510",          WACOM_PKGLEN_GRAPHIRE,   6282,  4762,  511,
-         0, PL, WACOM_PL_RES, WACOM_PL_RES };
+       { "Wacom PL510",          WACOM_PKGLEN_GRAPHIRE,   6282, 4762, 511, 0,
+         PL, WACOM_PL_RES, WACOM_PL_RES };
 static const struct wacom_features wacom_features_0x39 =
-       { "Wacom DTU710",         WACOM_PKGLEN_GRAPHIRE,  34080, 27660,  511,
-         0, PL, WACOM_PL_RES, WACOM_PL_RES };
+       { "Wacom DTU710",         WACOM_PKGLEN_GRAPHIRE,  34080, 27660, 511, 0,
+         PL, WACOM_PL_RES, WACOM_PL_RES };
 static const struct wacom_features wacom_features_0xC4 =
-       { "Wacom DTF521",         WACOM_PKGLEN_GRAPHIRE,   6282,  4762,  511,
-         0, PL, WACOM_PL_RES, WACOM_PL_RES };
+       { "Wacom DTF521",         WACOM_PKGLEN_GRAPHIRE,   6282, 4762, 511, 0,
+         PL, WACOM_PL_RES, WACOM_PL_RES };
 static const struct wacom_features wacom_features_0xC0 =
-       { "Wacom DTF720",         WACOM_PKGLEN_GRAPHIRE,   6858,  5506,  511,
-         0, PL, WACOM_PL_RES, WACOM_PL_RES };
+       { "Wacom DTF720",         WACOM_PKGLEN_GRAPHIRE,   6858, 5506, 511, 0,
+         PL, WACOM_PL_RES, WACOM_PL_RES };
 static const struct wacom_features wacom_features_0xC2 =
-       { "Wacom DTF720a",        WACOM_PKGLEN_GRAPHIRE,   6858,  5506,  511,
-         0, PL, WACOM_PL_RES, WACOM_PL_RES };
+       { "Wacom DTF720a",        WACOM_PKGLEN_GRAPHIRE,   6858, 5506, 511, 0,
+         PL, WACOM_PL_RES, WACOM_PL_RES };
 static const struct wacom_features wacom_features_0x03 =
-       { "Wacom Cintiq Partner", WACOM_PKGLEN_GRAPHIRE,  20480, 15360,  511,
-         0, PTU, WACOM_PL_RES, WACOM_PL_RES };
+       { "Wacom Cintiq Partner", WACOM_PKGLEN_GRAPHIRE,  20480, 15360, 511, 0,
+         PTU, WACOM_PL_RES, WACOM_PL_RES };
 static const struct wacom_features wacom_features_0x41 =
-       { "Wacom Intuos2 4x5",    WACOM_PKGLEN_INTUOS,    12700, 10600, 1023,
-         31, INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Intuos2 4x5",    WACOM_PKGLEN_INTUOS,    12700, 10600, 1023, 
31,
+         INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x42 =
-       { "Wacom Intuos2 6x8",    WACOM_PKGLEN_INTUOS,    20320, 16240, 1023,
-         31, INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Intuos2 6x8",    WACOM_PKGLEN_INTUOS,    20320, 16240, 1023, 
31,
+         INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x43 =
-       { "Wacom Intuos2 9x12",   WACOM_PKGLEN_INTUOS,    30480, 24060, 1023,
-         31, INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Intuos2 9x12",   WACOM_PKGLEN_INTUOS,    30480, 24060, 1023, 
31,
+         INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x44 =
-       { "Wacom Intuos2 12x12",  WACOM_PKGLEN_INTUOS,    30480, 31680, 1023,
-         31, INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Intuos2 12x12",  WACOM_PKGLEN_INTUOS,    30480, 31680, 1023, 
31,
+         INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x45 =
-       { "Wacom Intuos2 12x18",  WACOM_PKGLEN_INTUOS,    45720, 31680, 1023,
-         31, INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Intuos2 12x18",  WACOM_PKGLEN_INTUOS,    45720, 31680, 1023, 
31,
+         INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0xB0 =
-       { "Wacom Intuos3 4x5",    WACOM_PKGLEN_INTUOS,    25400, 20320, 1023,
-         63, INTUOS3S, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 4 };
+       { "Wacom Intuos3 4x5",    WACOM_PKGLEN_INTUOS,    25400, 20320, 1023, 
63,
+         INTUOS3S, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 4 };
 static const struct wacom_features wacom_features_0xB1 =
-       { "Wacom Intuos3 6x8",    WACOM_PKGLEN_INTUOS,    40640, 30480, 1023,
-         63, INTUOS3, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 8 };
+       { "Wacom Intuos3 6x8",    WACOM_PKGLEN_INTUOS,    40640, 30480, 1023, 
63,
+         INTUOS3, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 8 };
 static const struct wacom_features wacom_features_0xB2 =
-       { "Wacom Intuos3 9x12",   WACOM_PKGLEN_INTUOS,    60960, 45720, 1023,
-         63, INTUOS3, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 8 };
+       { "Wacom Intuos3 9x12",   WACOM_PKGLEN_INTUOS,    60960, 45720, 1023, 
63,
+         INTUOS3, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 8 };
 static const struct wacom_features wacom_features_0xB3 =
-       { "Wacom Intuos3 12x12",  WACOM_PKGLEN_INTUOS,    60960, 60960, 1023,
-         63, INTUOS3L, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 8 };
+       { "Wacom Intuos3 12x12",  WACOM_PKGLEN_INTUOS,    60960, 60960, 1023, 
63,
+         INTUOS3L, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 8 };
 static const struct wacom_features wacom_features_0xB4 =
-       { "Wacom Intuos3 12x19",  WACOM_PKGLEN_INTUOS,    97536, 60960, 1023,
-         63, INTUOS3L, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 8 };
+       { "Wacom Intuos3 12x19",  WACOM_PKGLEN_INTUOS,    97536, 60960, 1023, 
63,
+         INTUOS3L, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 8 };
 static const struct wacom_features wacom_features_0xB5 =
-       { "Wacom Intuos3 6x11",   WACOM_PKGLEN_INTUOS,    54204, 31750, 1023,
-         63, INTUOS3, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 8 };
+       { "Wacom Intuos3 6x11",   WACOM_PKGLEN_INTUOS,    54204, 31750, 1023, 
63,
+         INTUOS3, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 8 };
 static const struct wacom_features wacom_features_0xB7 =
-       { "Wacom Intuos3 4x6",    WACOM_PKGLEN_INTUOS,    31496, 19685, 1023,
-         63, INTUOS3S, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 4 };
+       { "Wacom Intuos3 4x6",    WACOM_PKGLEN_INTUOS,    31496, 19685, 1023, 
63,
+         INTUOS3S, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 4 };
 static const struct wacom_features wacom_features_0xB8 =
-       { "Wacom Intuos4 4x6",    WACOM_PKGLEN_INTUOS,    31496, 19685, 2047,
-         63, INTUOS4S, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 7 };
+       { "Wacom Intuos4 4x6",    WACOM_PKGLEN_INTUOS,    31496, 19685, 2047, 
63,
+         INTUOS4S, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 7 };
 static const struct wacom_features wacom_features_0xB9 =
-       { "Wacom Intuos4 6x9",    WACOM_PKGLEN_INTUOS,    44704, 27940, 2047,
-         63, INTUOS4, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9 };
+       { "Wacom Intuos4 6x9",    WACOM_PKGLEN_INTUOS,    44704, 27940, 2047, 
63,
+         INTUOS4, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9 };
 static const struct wacom_features wacom_features_0xBA =
-       { "Wacom Intuos4 8x13",   WACOM_PKGLEN_INTUOS,    65024, 40640, 2047,
-         63, INTUOS4L, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9 };
+       { "Wacom Intuos4 8x13",   WACOM_PKGLEN_INTUOS,    65024, 40640, 2047, 
63,
+         INTUOS4L, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9 };
 static const struct wacom_features wacom_features_0xBB =
-       { "Wacom Intuos4 12x19",  WACOM_PKGLEN_INTUOS,    97536, 60960, 2047,
-         63, INTUOS4L, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9 };
+       { "Wacom Intuos4 12x19",  WACOM_PKGLEN_INTUOS,    97536, 60960, 2047, 
63,
+         INTUOS4L, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9 };
 static const struct wacom_features wacom_features_0xBC =
-       { "Wacom Intuos4 WL",     WACOM_PKGLEN_INTUOS,    40640, 25400, 2047,
-         63, INTUOS4, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9 };
+       { "Wacom Intuos4 WL",     WACOM_PKGLEN_INTUOS,    40640, 25400, 2047, 
63,
+         INTUOS4, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9 };
 static const struct wacom_features wacom_features_0x26 =
-       { "Wacom Intuos5 touch S", WACOM_PKGLEN_INTUOS,  31496, 19685, 2047,
-         63, INTUOS5S, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 7,
-         .touch_max = 16 };
+       { "Wacom Intuos5 touch S", WACOM_PKGLEN_INTUOS,  31496, 19685, 2047, 63,
+         INTUOS5S, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 7, .touch_max = 16 };
 static const struct wacom_features wacom_features_0x27 =
-       { "Wacom Intuos5 touch M", WACOM_PKGLEN_INTUOS,  44704, 27940, 2047,
-         63, INTUOS5, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9,
-         .touch_max = 16 };
+       { "Wacom Intuos5 touch M", WACOM_PKGLEN_INTUOS,  44704, 27940, 2047, 63,
+         INTUOS5, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9, .touch_max = 16 };
 static const struct wacom_features wacom_features_0x28 =
-       { "Wacom Intuos5 touch L", WACOM_PKGLEN_INTUOS, 65024, 40640, 2047,
-         63, INTUOS5L, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9,
-         .touch_max = 16 };
+       { "Wacom Intuos5 touch L", WACOM_PKGLEN_INTUOS, 65024, 40640, 2047, 63,
+         INTUOS5L, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9, .touch_max = 16 };
 static const struct wacom_features wacom_features_0x29 =
-       { "Wacom Intuos5 S", WACOM_PKGLEN_INTUOS,  31496, 19685, 2047,
-         63, INTUOS5S, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 7 };
+       { "Wacom Intuos5 S", WACOM_PKGLEN_INTUOS,  31496, 19685, 2047, 63,
+         INTUOS5S, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 7 };
 static const struct wacom_features wacom_features_0x2A =
-       { "Wacom Intuos5 M", WACOM_PKGLEN_INTUOS,  44704, 27940, 2047,
-         63, INTUOS5, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9 };
+       { "Wacom Intuos5 M", WACOM_PKGLEN_INTUOS,  44704, 27940, 2047, 63,
+         INTUOS5, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9 };
 static const struct wacom_features wacom_features_0x314 =
-       { "Wacom Intuos Pro S", WACOM_PKGLEN_INTUOS,  31496, 19685, 2047,
-         63, INTUOSPS, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 7,
-         .touch_max = 16 };
+       { "Wacom Intuos Pro S", WACOM_PKGLEN_INTUOS,  31496, 19685, 2047, 63,
+         INTUOSPS, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 7, .touch_max = 16 };
 static const struct wacom_features wacom_features_0x315 =
-       { "Wacom Intuos Pro M", WACOM_PKGLEN_INTUOS,  44704, 27940, 2047,
-         63, INTUOSPM, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9,
-         .touch_max = 16 };
+       { "Wacom Intuos Pro M", WACOM_PKGLEN_INTUOS,  44704, 27940, 2047, 63,
+         INTUOSPM, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9, .touch_max = 16 };
 static const struct wacom_features wacom_features_0x317 =
-       { "Wacom Intuos Pro L", WACOM_PKGLEN_INTUOS,  65024, 40640, 2047,
-         63, INTUOSPL, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9,
-         .touch_max = 16 };
+       { "Wacom Intuos Pro L", WACOM_PKGLEN_INTUOS,  65024, 40640, 2047, 63,
+         INTUOSPL, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9, .touch_max = 16 };
 static const struct wacom_features wacom_features_0xF4 =
-       { "Wacom Cintiq 24HD",       WACOM_PKGLEN_INTUOS,   104480, 65600, 2047,
-         63, WACOM_24HD, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 16,
+       { "Wacom Cintiq 24HD",       WACOM_PKGLEN_INTUOS,   104480, 65600, 
2047, 63,
+         WACOM_24HD, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 16,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET };
 static const struct wacom_features wacom_features_0xF8 =
-       { "Wacom Cintiq 24HD touch", WACOM_PKGLEN_INTUOS,   104480, 65600, 
2047, /* Pen */
-         63, WACOM_24HD, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 16,
+       { "Wacom Cintiq 24HD touch", WACOM_PKGLEN_INTUOS,   104480, 65600, 
2047, 63, /* Pen */
+         WACOM_24HD, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 16,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0xf6 };
@@ -2873,13 +2880,13 @@ static const struct wacom_features wacom_features_0xF6 =
        { "Wacom Cintiq 24HD touch", .type = WACOM_24HDT, /* Touch */
          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0xf8, .touch_max = 10 };
 static const struct wacom_features wacom_features_0x32A =
-       { "Wacom Cintiq 27QHD", WACOM_PKGLEN_INTUOS, 120140, 67920, 2047,
-         63, WACOM_27QHD, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 0,
+       { "Wacom Cintiq 27QHD", WACOM_PKGLEN_INTUOS, 120140, 67920, 2047, 63,
+         WACOM_27QHD, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 0,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET };
 static const struct wacom_features wacom_features_0x32B =
-       { "Wacom Cintiq 27QHD touch", WACOM_PKGLEN_INTUOS, 120140, 67920, 2047,
-         63, WACOM_27QHD, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 0,
+       { "Wacom Cintiq 27QHD touch", WACOM_PKGLEN_INTUOS, 120140, 67920, 2047, 
63,
+         WACOM_27QHD, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 0,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x32C };
@@ -2887,60 +2894,60 @@ static const struct wacom_features wacom_features_0x32C 
=
        { "Wacom Cintiq 27QHD touch", .type = WACOM_27QHDT,
          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x32B, .touch_max = 10 };
 static const struct wacom_features wacom_features_0x3F =
-       { "Wacom Cintiq 21UX",    WACOM_PKGLEN_INTUOS,    87200, 65600, 1023,
-         63, CINTIQ, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 8 };
+       { "Wacom Cintiq 21UX",    WACOM_PKGLEN_INTUOS,    87200, 65600, 1023, 
63,
+         CINTIQ, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 8 };
 static const struct wacom_features wacom_features_0xC5 =
-       { "Wacom Cintiq 20WSX",   WACOM_PKGLEN_INTUOS,    86680, 54180, 1023,
-         63, WACOM_BEE, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 10 };
+       { "Wacom Cintiq 20WSX",   WACOM_PKGLEN_INTUOS,    86680, 54180, 1023, 
63,
+         WACOM_BEE, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 10 };
 static const struct wacom_features wacom_features_0xC6 =
-       { "Wacom Cintiq 12WX",    WACOM_PKGLEN_INTUOS,    53020, 33440, 1023,
-         63, WACOM_BEE, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 10 };
+       { "Wacom Cintiq 12WX",    WACOM_PKGLEN_INTUOS,    53020, 33440, 1023, 
63,
+         WACOM_BEE, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 10 };
 static const struct wacom_features wacom_features_0x304 =
-       { "Wacom Cintiq 13HD",    WACOM_PKGLEN_INTUOS,    59552, 33848, 1023,
-         63, WACOM_13HD, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9,
+       { "Wacom Cintiq 13HD",    WACOM_PKGLEN_INTUOS,    59552, 33848, 1023, 
63,
+         WACOM_13HD, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET };
 static const struct wacom_features wacom_features_0x333 =
-       { "Wacom Cintiq 13HD touch", WACOM_PKGLEN_INTUOS, 59552, 33848, 2047,
-         63, WACOM_13HD, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9,
+       { "Wacom Cintiq 13HD touch", WACOM_PKGLEN_INTUOS, 59552, 33848, 2047, 
63,
+         WACOM_13HD, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x335 };
 static const struct wacom_features wacom_features_0x335 =
        { "Wacom Cintiq 13HD touch", .type = WACOM_24HDT, /* Touch */
-         .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x333, .touch_max = 10 }; 
+         .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x333, .touch_max = 10 };
 static const struct wacom_features wacom_features_0xC7 =
-       { "Wacom DTU1931",        WACOM_PKGLEN_GRAPHIRE,  37832, 30305,  511,
-         0, PL, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom DTU1931",        WACOM_PKGLEN_GRAPHIRE,  37832, 30305, 511, 0,
+         PL, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0xCE =
-       { "Wacom DTU2231",        WACOM_PKGLEN_GRAPHIRE,  47864, 27011,  511,
-         0, DTU, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom DTU2231",        WACOM_PKGLEN_GRAPHIRE,  47864, 27011, 511, 0,
+         DTU, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0xF0 =
-       { "Wacom DTU1631",        WACOM_PKGLEN_GRAPHIRE,  34623, 19553,  511,
-         0, DTU, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom DTU1631",        WACOM_PKGLEN_GRAPHIRE,  34623, 19553, 511, 0,
+         DTU, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0xFB =
-       { "Wacom DTU1031",        WACOM_PKGLEN_DTUS,      22096, 13960,  511,
-         0, DTUS, WACOM_INTUOS_RES, WACOM_INTUOS_RES, 4,
+       { "Wacom DTU1031",        WACOM_PKGLEN_DTUS,      22096, 13960, 511, 0,
+         DTUS, WACOM_INTUOS_RES, WACOM_INTUOS_RES, 4,
          WACOM_DTU_OFFSET, WACOM_DTU_OFFSET,
          WACOM_DTU_OFFSET, WACOM_DTU_OFFSET };
 static const struct wacom_features wacom_features_0x32F =
-       { "Wacom DTU1031X",       WACOM_PKGLEN_DTUS,      22672, 12928, 511,
-          0, DTUSX, WACOM_INTUOS_RES, WACOM_INTUOS_RES, 0,
+       { "Wacom DTU1031X",       WACOM_PKGLEN_DTUS,      22672, 12928, 511, 0,
+         DTUSX, WACOM_INTUOS_RES, WACOM_INTUOS_RES, 0,
          WACOM_DTU_OFFSET, WACOM_DTU_OFFSET,
          WACOM_DTU_OFFSET, WACOM_DTU_OFFSET };
 static const struct wacom_features wacom_features_0x336 =
-       { "Wacom DTU1141",        WACOM_PKGLEN_DTUS,      23672, 13403, 1023,
-         0, DTUS, WACOM_INTUOS_RES, WACOM_INTUOS_RES, 4,
+       { "Wacom DTU1141",        WACOM_PKGLEN_DTUS,      23672, 13403, 1023, 0,
+         DTUS, WACOM_INTUOS_RES, WACOM_INTUOS_RES, 4,
          WACOM_DTU_OFFSET, WACOM_DTU_OFFSET,
          WACOM_DTU_OFFSET, WACOM_DTU_OFFSET };
 static const struct wacom_features wacom_features_0x57 =
-       { "Wacom DTK2241",        WACOM_PKGLEN_INTUOS,    95840, 54260, 2047,
-         63, DTK, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 6,
+       { "Wacom DTK2241",        WACOM_PKGLEN_INTUOS,    95840, 54260, 2047, 
63,
+         DTK, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 6,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET };
 static const struct wacom_features wacom_features_0x59 = /* Pen */
-       { "Wacom DTH2242",        WACOM_PKGLEN_INTUOS,    95640, 54060, 2047,
-         63, DTK, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 6,
+       { "Wacom DTH2242",        WACOM_PKGLEN_INTUOS,    95840, 54260, 2047, 
63,
+         DTK, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 6,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x5D };
@@ -2948,18 +2955,18 @@ static const struct wacom_features wacom_features_0x5D 
= /* Touch */
        { "Wacom DTH2242",       .type = WACOM_24HDT,
          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x59, .touch_max = 10 };
 static const struct wacom_features wacom_features_0xCC =
-       { "Wacom Cintiq 21UX2",   WACOM_PKGLEN_INTUOS,    87200, 65600, 2047,
-         63, WACOM_21UX2, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 18,
+       { "Wacom Cintiq 21UX2",   WACOM_PKGLEN_INTUOS,    87200, 65600, 2047, 
63,
+         WACOM_21UX2, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 18,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET };
 static const struct wacom_features wacom_features_0xFA =
-       { "Wacom Cintiq 22HD",    WACOM_PKGLEN_INTUOS,    95840, 54260, 2047,
-         63, WACOM_22HD, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 18,
+       { "Wacom Cintiq 22HD",    WACOM_PKGLEN_INTUOS,    95840, 54260, 2047, 
63,
+         WACOM_22HD, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 18,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET };
 static const struct wacom_features wacom_features_0x5B =
-       { "Wacom Cintiq 22HDT", WACOM_PKGLEN_INTUOS,      95840, 54260, 2047,
-         63, WACOM_22HD, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 18,
+       { "Wacom Cintiq 22HDT", WACOM_PKGLEN_INTUOS,      95840, 54260, 2047, 
63,
+         WACOM_22HD, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 18,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x5e };
@@ -2967,183 +2974,166 @@ static const struct wacom_features 
wacom_features_0x5E =
        { "Wacom Cintiq 22HDT", .type = WACOM_24HDT,
          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x5b, .touch_max = 10 };
 static const struct wacom_features wacom_features_0x90 =
-       { "Wacom ISDv4 90",       WACOM_PKGLEN_GRAPHIRE,  26202, 16325,  255,
-         0, TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 90",       WACOM_PKGLEN_GRAPHIRE,  26202, 16325, 255, 0,
+         TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x93 =
-       { "Wacom ISDv4 93",       WACOM_PKGLEN_GRAPHIRE,  26202, 16325,  255,
-         0, TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 93",       WACOM_PKGLEN_GRAPHIRE,  26202, 16325, 255, 0,
+         TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x97 =
-       { "Wacom ISDv4 97",       WACOM_PKGLEN_GRAPHIRE,  26202, 16325,  511,
-         0, TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 97",       WACOM_PKGLEN_GRAPHIRE,  26202, 16325, 511, 0,
+         TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x9A =
-       { "Wacom ISDv4 9A",       WACOM_PKGLEN_GRAPHIRE,  26202, 16325,  255,
-         0, TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 9A",       WACOM_PKGLEN_GRAPHIRE,  26202, 16325, 255, 0,
+         TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x9F =
-       { "Wacom ISDv4 9F",       WACOM_PKGLEN_GRAPHIRE,  26202, 16325,  255,
-         0, TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 9F",       WACOM_PKGLEN_GRAPHIRE,  26202, 16325, 255, 0,
+         TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0xE2 =
-       { "Wacom ISDv4 E2",       WACOM_PKGLEN_TPC2FG,    26202, 16325,  255,
-         0, TABLETPC2FG, WACOM_INTUOS_RES, WACOM_INTUOS_RES,
-         .touch_max = 2 };
+       { "Wacom ISDv4 E2",       WACOM_PKGLEN_TPC2FG,    26202, 16325, 255, 0,
+         TABLETPC2FG, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 2 };
 static const struct wacom_features wacom_features_0xE3 =
-       { "Wacom ISDv4 E3",       WACOM_PKGLEN_TPC2FG,    26202, 16325,  255,
-         0, TABLETPC2FG, WACOM_INTUOS_RES, WACOM_INTUOS_RES,
-         .touch_max = 2 };
+       { "Wacom ISDv4 E3",       WACOM_PKGLEN_TPC2FG,    26202, 16325, 255, 0,
+         TABLETPC2FG, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 2 };
 static const struct wacom_features wacom_features_0xE5 =
-       { "Wacom ISDv4 E5",       WACOM_PKGLEN_MTOUCH,    26202, 16325,  255,
-         0, MTSCREEN, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 E5",       WACOM_PKGLEN_MTOUCH,    26202, 16325, 255, 0,
+         MTSCREEN, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0xE6 =
-       { "Wacom ISDv4 E6",       WACOM_PKGLEN_TPC2FG,    27760, 15694,  255,
-         0, TABLETPC2FG, WACOM_INTUOS_RES, WACOM_INTUOS_RES,
-         .touch_max = 2 };
+       { "Wacom ISDv4 E6",       WACOM_PKGLEN_TPC2FG,    27760, 15694, 255, 0,
+         TABLETPC2FG, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 2 };
 static const struct wacom_features wacom_features_0xEC =
-       { "Wacom ISDv4 EC",       WACOM_PKGLEN_GRAPHIRE,  25710, 14500,  255,
-         0, TABLETPC,    WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 EC",       WACOM_PKGLEN_GRAPHIRE,  25710, 14500, 255, 0,
+         TABLETPC,    WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0xED =
-       { "Wacom ISDv4 ED",       WACOM_PKGLEN_GRAPHIRE,  26202, 16325,  255,
-         0, TABLETPCE, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 ED",       WACOM_PKGLEN_GRAPHIRE,  26202, 16325, 255, 0,
+         TABLETPCE, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0xEF =
-       { "Wacom ISDv4 EF",       WACOM_PKGLEN_GRAPHIRE,  26202, 16325,  255,
-         0, TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 EF",       WACOM_PKGLEN_GRAPHIRE,  26202, 16325, 255, 0,
+         TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x100 =
-       { "Wacom ISDv4 100",      WACOM_PKGLEN_MTTPC,     26202, 16325,  255,
-         0, MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 100",      WACOM_PKGLEN_MTTPC,     26202, 16325, 255, 0,
+         MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x101 =
-       { "Wacom ISDv4 101",      WACOM_PKGLEN_MTTPC,     26202, 16325,  255,
-         0, MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 101",      WACOM_PKGLEN_MTTPC,     26202, 16325, 255, 0,
+         MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x10D =
-       { "Wacom ISDv4 10D",      WACOM_PKGLEN_MTTPC,     26202, 16325,  255,
-         0, MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 10D",      WACOM_PKGLEN_MTTPC,     26202, 16325, 255, 0,
+         MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x10E =
-       { "Wacom ISDv4 10E",      WACOM_PKGLEN_MTTPC,     27760, 15694,  255,
-         0, MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 10E",      WACOM_PKGLEN_MTTPC,     27760, 15694, 255, 0,
+         MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x10F =
-       { "Wacom ISDv4 10F",      WACOM_PKGLEN_MTTPC,     27760, 15694,  255,
-         0, MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 10F",      WACOM_PKGLEN_MTTPC,     27760, 15694, 255, 0,
+         MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x116 =
-       { "Wacom ISDv4 116",      WACOM_PKGLEN_GRAPHIRE,  26202, 16325,  255,
-         0, TABLETPCE, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 116",      WACOM_PKGLEN_GRAPHIRE,  26202, 16325, 255, 0,
+         TABLETPCE, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x12C =
-       { "Wacom ISDv4 12C",      WACOM_PKGLEN_GRAPHIRE,  27848, 15752,  2047,
-         0, TABLETPCE, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 12C",      WACOM_PKGLEN_GRAPHIRE,  27848, 15752, 2047, 0,
+         TABLETPCE, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x4001 =
-       { "Wacom ISDv4 4001",      WACOM_PKGLEN_MTTPC,     26202, 16325,  255,
-         0, MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 4001",      WACOM_PKGLEN_MTTPC,     26202, 16325, 255, 0,
+         MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x4004 =
-       { "Wacom ISDv4 4004",      WACOM_PKGLEN_MTTPC,     11060, 6220,  255,
-         0, MTTPC_B, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 4004",      WACOM_PKGLEN_MTTPC,     11060, 6220, 255, 0,
+         MTTPC_B, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x5000 =
-       { "Wacom ISDv4 5000",      WACOM_PKGLEN_MTTPC,     27848, 15752,  1023,
-         0, MTTPC_B, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 5000",      WACOM_PKGLEN_MTTPC,     27848, 15752, 1023, 
0,
+         MTTPC_B, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x5002 =
-       { "Wacom ISDv4 5002",      WACOM_PKGLEN_MTTPC,     29576, 16724,  1023,
-         0, MTTPC_B, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 5002",      WACOM_PKGLEN_MTTPC,     29576, 16724,  1023, 
0,
+         MTTPC_B, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x5010 =
-       { "Wacom ISDv4 5010",      WACOM_PKGLEN_MTTPC,     13756, 7736,  1023,
-         0, MTTPC_B, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 5010",      WACOM_PKGLEN_MTTPC,     13756, 7736,  1023, 
0,
+         MTTPC_B, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x5013 =
-       { "Wacom ISDv4 5013",      WACOM_PKGLEN_MTTPC,     11752, 6612,  1023,
-         0, MTTPC_B, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 5013",      WACOM_PKGLEN_MTTPC,     11752, 6612,  1023, 
0,
+         MTTPC_B, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x5044 =
-       { "Wacom ISDv4 5044",      WACOM_PKGLEN_MTTPC,     27648, 15552, 2047,
-         0, MTTPC_C, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 5044",      WACOM_PKGLEN_MTTPC,     27648, 15552, 2047, 
0,
+         MTTPC_C, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x5048 =
-       { "Wacom ISDv4 5048",      WACOM_PKGLEN_MTTPC,     27648, 15552, 2047,
-         0, MTTPC_C, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 5048",      WACOM_PKGLEN_MTTPC,     27648, 15552, 2047, 
0,
+         MTTPC_C, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x5090 =
-       { "Wacom ISDv4 5090",      WACOM_PKGLEN_MTTPC,     27648, 15552, 2047,
-         0, MTTPC_C, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom ISDv4 5090",      WACOM_PKGLEN_MTTPC,     27648, 15552, 2047, 
0,
+         MTTPC_C, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x47 =
-       { "Wacom Intuos2 6x8",    WACOM_PKGLEN_INTUOS,    20320, 16240, 1023,
-         31, INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Intuos2 6x8",    WACOM_PKGLEN_INTUOS,    20320, 16240, 1023, 
31,
+         INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x84 =
-       { "Wacom Wireless Receiver", WACOM_PKGLEN_WIRELESS, 0, 0, 0,
-         0, WIRELESS, 0, 0, .touch_max = 16 };
+       { "Wacom Wireless Receiver", WACOM_PKGLEN_WIRELESS, .type = WIRELESS, 
.touch_max = 16 };
 static const struct wacom_features wacom_features_0xD0 =
-       { "Wacom Bamboo 2FG",     WACOM_PKGLEN_BBFUN,     14720,  9200, 1023,
-         31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES,
-         .touch_max = 2 };
+       { "Wacom Bamboo 2FG",     WACOM_PKGLEN_BBFUN,     14720, 9200, 1023, 31,
+         BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 2 };
 static const struct wacom_features wacom_features_0xD1 =
-       { "Wacom Bamboo 2FG 4x5", WACOM_PKGLEN_BBFUN,     14720,  9200, 1023,
-         31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES,
-         .touch_max = 2 };
+       { "Wacom Bamboo 2FG 4x5", WACOM_PKGLEN_BBFUN,     14720, 9200, 1023, 31,
+         BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 2 };
 static const struct wacom_features wacom_features_0xD2 =
-       { "Wacom Bamboo Craft",   WACOM_PKGLEN_BBFUN,     14720,  9200, 1023,
-         31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES,
-         .touch_max = 2 };
+       { "Wacom Bamboo Craft",   WACOM_PKGLEN_BBFUN,     14720, 9200, 1023, 31,
+         BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 2 };
 static const struct wacom_features wacom_features_0xD3 =
-       { "Wacom Bamboo 2FG 6x8", WACOM_PKGLEN_BBFUN,     21648, 13700, 1023,
-         31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES,
-         .touch_max = 2 };
+       { "Wacom Bamboo 2FG 6x8", WACOM_PKGLEN_BBFUN,     21648, 13700, 1023, 
31,
+         BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 2 };
 static const struct wacom_features wacom_features_0xD4 =
-       { "Wacom Bamboo Pen",     WACOM_PKGLEN_BBFUN,     14720,  9200, 1023,
-         31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Bamboo Pen",     WACOM_PKGLEN_BBFUN,     14720, 9200, 1023, 31,
+         BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0xD5 =
-       { "Wacom Bamboo Pen 6x8",     WACOM_PKGLEN_BBFUN, 21648, 13700, 1023,
-         31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Bamboo Pen 6x8",     WACOM_PKGLEN_BBFUN, 21648, 13700, 1023, 
31,
+         BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0xD6 =
-       { "Wacom BambooPT 2FG 4x5", WACOM_PKGLEN_BBFUN,   14720,  9200, 1023,
-         31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES,
-         .touch_max = 2 };
+       { "Wacom BambooPT 2FG 4x5", WACOM_PKGLEN_BBFUN,   14720, 9200, 1023, 31,
+         BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 2 };
 static const struct wacom_features wacom_features_0xD7 =
-       { "Wacom BambooPT 2FG Small", WACOM_PKGLEN_BBFUN, 14720,  9200, 1023,
-         31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES,
-         .touch_max = 2 };
+       { "Wacom BambooPT 2FG Small", WACOM_PKGLEN_BBFUN, 14720, 9200, 1023, 31,
+         BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 2 };
 static const struct wacom_features wacom_features_0xD8 =
-       { "Wacom Bamboo Comic 2FG", WACOM_PKGLEN_BBFUN,   21648, 13700, 1023,
-         31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES,
-         .touch_max = 2 };
+       { "Wacom Bamboo Comic 2FG", WACOM_PKGLEN_BBFUN,   21648, 13700, 1023, 
31,
+         BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 2 };
 static const struct wacom_features wacom_features_0xDA =
-       { "Wacom Bamboo 2FG 4x5 SE", WACOM_PKGLEN_BBFUN,  14720,  9200, 1023,
-         31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES,
-         .touch_max = 2 };
+       { "Wacom Bamboo 2FG 4x5 SE", WACOM_PKGLEN_BBFUN,  14720, 9200, 1023, 31,
+         BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 2 };
 static const struct wacom_features wacom_features_0xDB =
-       { "Wacom Bamboo 2FG 6x8 SE", WACOM_PKGLEN_BBFUN,  21648, 13700, 1023,
-         31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES,
-         .touch_max = 2 };
+       { "Wacom Bamboo 2FG 6x8 SE", WACOM_PKGLEN_BBFUN,  21648, 13700, 1023, 
31,
+         BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 2 };
 static const struct wacom_features wacom_features_0xDD =
-        { "Wacom Bamboo Connect", WACOM_PKGLEN_BBPEN,     14720,  9200, 1023,
-          31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+        { "Wacom Bamboo Connect", WACOM_PKGLEN_BBPEN,     14720, 9200, 1023, 
31,
+          BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0xDE =
-        { "Wacom Bamboo 16FG 4x5", WACOM_PKGLEN_BBPEN,    14720,  9200, 1023,
-         31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES,
-         .touch_max = 16 };
+        { "Wacom Bamboo 16FG 4x5", WACOM_PKGLEN_BBPEN,    14720, 9200, 1023, 
31,
+         BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 16 };
 static const struct wacom_features wacom_features_0xDF =
-        { "Wacom Bamboo 16FG 6x8", WACOM_PKGLEN_BBPEN,    21648, 13700, 1023,
-         31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES,
-         .touch_max = 16 };
+        { "Wacom Bamboo 16FG 6x8", WACOM_PKGLEN_BBPEN,    21648, 13700, 1023, 
31,
+         BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 16 };
 static const struct wacom_features wacom_features_0x300 =
-       { "Wacom Bamboo One S",    WACOM_PKGLEN_BBPEN,    14720,  9225, 1023,
-         31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Bamboo One S",    WACOM_PKGLEN_BBPEN,    14720, 9225, 1023, 31,
+         BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x301 =
-       { "Wacom Bamboo One M",    WACOM_PKGLEN_BBPEN,    21648, 13530, 1023,
-         31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Bamboo One M",    WACOM_PKGLEN_BBPEN,    21648, 13530, 1023, 
31,
+         BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x302 =
-       { "Wacom Intuos PT S",     WACOM_PKGLEN_BBPEN,    15200,  9500, 1023,
-         31, INTUOSHT, WACOM_INTUOS_RES, WACOM_INTUOS_RES,
-         .touch_max = 16 };
+       { "Wacom Intuos PT S",     WACOM_PKGLEN_BBPEN,    15200, 9500, 1023, 31,
+         INTUOSHT, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 16 };
 static const struct wacom_features wacom_features_0x303 =
-       { "Wacom Intuos PT M",     WACOM_PKGLEN_BBPEN,    21600, 13500, 1023,
-         31, INTUOSHT, WACOM_INTUOS_RES, WACOM_INTUOS_RES,
-         .touch_max = 16 };
+       { "Wacom Intuos PT M",     WACOM_PKGLEN_BBPEN,    21600, 13500, 1023, 
31,
+         INTUOSHT, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 16 };
 static const struct wacom_features wacom_features_0x30E =
-       { "Wacom Intuos S",        WACOM_PKGLEN_BBPEN,    15200,  9500, 1023,
-         31, INTUOSHT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Intuos S",        WACOM_PKGLEN_BBPEN,    15200, 9500, 1023, 31,
+         INTUOSHT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x6004 =
-       { "ISD-V4",               WACOM_PKGLEN_GRAPHIRE,  12800,  8000,  255,
-         0, TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
-static const struct wacom_features wacom_features_0x0307 =
-       { "Wacom ISDv5 307",      WACOM_PKGLEN_INTUOS,    59552, 33848, 2047,
-         63, CINTIQ_HYBRID, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9,
+       { "ISD-V4",               WACOM_PKGLEN_GRAPHIRE,  12800, 8000, 255, 0,
+         TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+static const struct wacom_features wacom_features_0x307 =
+       { "Wacom ISDv5 307", WACOM_PKGLEN_INTUOS,  59552, 33848, 2047, 63,
+         CINTIQ_HYBRID, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x309 };
-static const struct wacom_features wacom_features_0x0309 =
+static const struct wacom_features wacom_features_0x309 =
        { "Wacom ISDv5 309", .type = WACOM_24HDT, /* Touch */
          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x0307, .touch_max = 10 };
 static const struct wacom_features wacom_features_0x30A =
-       { "Wacom ISDv5 30A",      WACOM_PKGLEN_INTUOS,    59552, 33848, 2047,
-         63, CINTIQ_HYBRID, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9,
+       { "Wacom ISDv5 30A", WACOM_PKGLEN_INTUOS, 59552, 33848, 2047, 63,
+         CINTIQ_HYBRID, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x30C };
@@ -3151,37 +3141,37 @@ static const struct wacom_features wacom_features_0x30C 
=
        { "Wacom ISDv5 30C", .type = WACOM_24HDT, /* Touch */
          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x30A, .touch_max = 10 };
 static const struct wacom_features wacom_features_0x323 =
-       { "Wacom Intuos P M",      WACOM_PKGLEN_BBPEN,    21600, 13500, 1023,
-         31, INTUOSHT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Intuos P M", WACOM_PKGLEN_BBPEN,    21600, 13500, 1023, 31,
+         INTUOSHT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x325 =
-       { "Wacom ISDv5 325",      WACOM_PKGLEN_INTUOS,    59552, 33848, 2047,
-         63, CINTIQ_COMPANION_2, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 11,
+       { "Wacom ISDv5 325", WACOM_PKGLEN_INTUOS,    59552, 33848, 2047, 63,
+         CINTIQ_COMPANION_2, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 11,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x326 };
 static const struct wacom_features wacom_features_0x326 = /* Touch */
-       { "Wacom ISDv5 326", .type = WACOM_24HDT,
-         .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x325, .touch_max = 10 };
+       { "Wacom ISDv5 326", .type = WACOM_24HDT, .oVid = USB_VENDOR_ID_WACOM,
+         .oPid = 0x325, .touch_max = 10 };
 static const struct wacom_features wacom_features_0x331 =
-       { "Wacom Express Key Remote", WACOM_PKGLEN_WIRELESS,
-         .type = REMOTE, .numbered_buttons = 18 };
+       { "Wacom Express Key Remote", WACOM_PKGLEN_WIRELESS, .type = REMOTE,
+         .numbered_buttons = 18 };
 static const struct wacom_features wacom_features_0x33B =
-       { "Wacom Intuos S 2",      WACOM_PKGLEN_INTUOS,   15200,  9500, 2047,
-          63, INTUOSHT2, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Intuos S 2", WACOM_PKGLEN_INTUOS, 15200, 9500, 2047, 63,
+         INTUOSHT2, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x33C =
-       { "Wacom Intuos PT S 2",   WACOM_PKGLEN_INTUOS,   15200,  9500, 2047,
-         63, INTUOSHT2, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 16 };
+       { "Wacom Intuos PT S 2", WACOM_PKGLEN_INTUOS, 15200, 9500, 2047, 63,
+         INTUOSHT2, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 16 };
 static const struct wacom_features wacom_features_0x33D =
-       { "Wacom Intuos P M 2",    WACOM_PKGLEN_INTUOS,   21600, 13500, 2047,
-         63, INTUOSHT2, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+       { "Wacom Intuos P M 2",  WACOM_PKGLEN_INTUOS, 21600, 13500, 2047, 63,
+         INTUOSHT2, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x33E =
-       { "Wacom Intuos PT M 2",   WACOM_PKGLEN_INTUOS,   21600, 13500, 2047,
-         63, INTUOSHT2, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 16 };
+       { "Wacom Intuos PT M 2", WACOM_PKGLEN_INTUOS, 21600, 13500, 2047, 63,
+         INTUOSHT2, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 16 };
 static const struct wacom_features wacom_features_0x343 =
-       { "Wacom DTK1651",         WACOM_PKGLEN_DTUS,     34816, 19759, 1023,
-         0, DTUS, WACOM_INTUOS_RES, WACOM_INTUOS_RES, 4,
+       { "Wacom DTK1651", WACOM_PKGLEN_DTUS, 34816, 19759, 1023, 0,
+         DTUS, WACOM_INTUOS_RES, WACOM_INTUOS_RES, 4,
          WACOM_DTU_OFFSET, WACOM_DTU_OFFSET,
-         WACOM_DTU_OFFSET, WACOM_DTU_OFFSET};
+         WACOM_DTU_OFFSET, WACOM_DTU_OFFSET };
 static const struct wacom_features wacom_features_0x34A =
        { "Wacom MobileStudio Pro 13 Touch", WACOM_PKGLEN_MSPROT, .type = 
WACOM_MSPROT, /* Touch */
          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x34D };
@@ -3193,19 +3183,19 @@ static const struct wacom_features wacom_features_0x34D 
=
          WACOM_MSPRO, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 11,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
-          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x34A };
+         .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x34A };
 static const struct wacom_features wacom_features_0x34E =
        { "Wacom MobileStudio Pro 16", WACOM_PKGLEN_MSPRO, 69920, 39680, 8191, 
63,
          WACOM_MSPRO, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 13,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
-          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x34B };
+         .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x34B };
 static const struct wacom_features wacom_features_0x34F =
        { "Wacom Cintiq Pro 13 FHD", WACOM_PKGLEN_MSPRO, 59552, 33848, 8191, 63,
          WACOM_MSPRO, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 0,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
          WACOM_CINTIQ_OFFSET, WACOM_CINTIQ_OFFSET,
-          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x353 };
+         .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x353 };
 static const struct wacom_features wacom_features_0x350 =
        { "Wacom Cintiq Pro 16UHD", WACOM_PKGLEN_MSPRO, 69920, 39680, 8191, 63,
          WACOM_MSPRO, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 0,
@@ -3219,14 +3209,14 @@ static const struct wacom_features wacom_features_0x354 
=
        { "Wacom Cintiq Pro 16UHD Touch", WACOM_PKGLEN_MSPROT, .type = 
WACOM_MSPROT,
          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x350 }; /* Touch */
 static const struct wacom_features wacom_features_0x357 =
-       { "Wacom Intuos Pro M", WACOM_PKGLEN_INTUOSP2, 44800, 29600, 8191,
-         63, INTUOSP2, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9, .touch_max = 
10 };
+       { "Wacom Intuos Pro M", WACOM_PKGLEN_INTUOSP2, 44800, 29600, 8191, 63,
+         INTUOSP2, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9, .touch_max = 10 };
 static const struct wacom_features wacom_features_0x358 =
-       { "Wacom Intuos Pro L", WACOM_PKGLEN_INTUOSP2, 62200, 43200, 8191,
-         63, INTUOSP2, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9, .touch_max = 
10 };
+       { "Wacom Intuos Pro L", WACOM_PKGLEN_INTUOSP2, 62200, 43200, 8191, 63,
+         INTUOSP2, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9, .touch_max = 10 };
 static const struct wacom_features wacom_features_0x35A =
-       { "Wacom DTH-1152", WACOM_PKGLEN_DTH1152, 22320, 12555, 1024,
-         0, DTH1152, WACOM_INTUOS_RES, WACOM_INTUOS_RES,
+       { "Wacom DTH-1152", WACOM_PKGLEN_DTH1152, 22320, 12555, 1024, 0,
+         DTH1152, WACOM_INTUOS_RES, WACOM_INTUOS_RES,
          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x368 };
 static const struct wacom_features wacom_features_0x368 =
        { "Wacom DTH-1152 Touch", WACOM_PKGLEN_27QHDT,
@@ -3248,6 +3238,7 @@ static const struct wacom_features wacom_features_0x368 =
 
 const struct usb_device_id wacom_ids[] = {
        { USB_DEVICE_WACOM(0x00) },
+       { USB_DEVICE_WACOM(0x03) },
        { USB_DEVICE_WACOM(0x10) },
        { USB_DEVICE_WACOM(0x11) },
        { USB_DEVICE_WACOM(0x12) },
@@ -3258,20 +3249,16 @@ const struct usb_device_id wacom_ids[] = {
        { USB_DEVICE_WACOM(0x17) },
        { USB_DEVICE_WACOM(0x18) },
        { USB_DEVICE_WACOM(0x19) },
-       { USB_DEVICE_WACOM(0x60) },
-       { USB_DEVICE_WACOM(0x61) },
-       { USB_DEVICE_WACOM(0x62) },
-       { USB_DEVICE_WACOM(0x63) },
-       { USB_DEVICE_WACOM(0x64) },
-       { USB_DEVICE_WACOM(0x65) },
-       { USB_DEVICE_WACOM(0x69) },
-       { USB_DEVICE_WACOM(0x6A) },
-       { USB_DEVICE_WACOM(0x6B) },
        { USB_DEVICE_WACOM(0x20) },
        { USB_DEVICE_WACOM(0x21) },
        { USB_DEVICE_WACOM(0x22) },
        { USB_DEVICE_WACOM(0x23) },
        { USB_DEVICE_WACOM(0x24) },
+       { USB_DEVICE_WACOM(0x26) },
+       { USB_DEVICE_WACOM(0x27) },
+       { USB_DEVICE_WACOM(0x28) },
+       { USB_DEVICE_WACOM(0x29) },
+       { USB_DEVICE_WACOM(0x2A) },
        { USB_DEVICE_WACOM(0x30) },
        { USB_DEVICE_WACOM(0x31) },
        { USB_DEVICE_WACOM(0x32) },
@@ -3281,20 +3268,33 @@ const struct usb_device_id wacom_ids[] = {
        { USB_DEVICE_WACOM(0x37) },
        { USB_DEVICE_WACOM(0x38) },
        { USB_DEVICE_WACOM(0x39) },
-       { USB_DEVICE_WACOM(0xC4) },
-       { USB_DEVICE_WACOM(0xC0) },
-       { USB_DEVICE_WACOM(0xC2) },
-       { USB_DEVICE_WACOM(0x03) },
+       { USB_DEVICE_WACOM(0x3F) },
        { USB_DEVICE_WACOM(0x41) },
        { USB_DEVICE_WACOM(0x42) },
        { USB_DEVICE_WACOM(0x43) },
        { USB_DEVICE_WACOM(0x44) },
        { USB_DEVICE_WACOM(0x45) },
+       { USB_DEVICE_WACOM(0x47) },
        { USB_DEVICE_WACOM(0x57) },
        { USB_DEVICE_WACOM(0x59) },
-       { USB_DEVICE_DETAILED(0x5D, USB_CLASS_HID, 0, 0) },
        { USB_DEVICE_WACOM(0x5B) },
+       { USB_DEVICE_DETAILED(0x5D, USB_CLASS_HID, 0, 0) },
        { USB_DEVICE_DETAILED(0x5E, USB_CLASS_HID, 0, 0) },
+       { USB_DEVICE_WACOM(0x60) },
+       { USB_DEVICE_WACOM(0x61) },
+       { USB_DEVICE_WACOM(0x62) },
+       { USB_DEVICE_WACOM(0x63) },
+       { USB_DEVICE_WACOM(0x64) },
+       { USB_DEVICE_WACOM(0x65) },
+       { USB_DEVICE_WACOM(0x69) },
+       { USB_DEVICE_WACOM(0x6A) },
+       { USB_DEVICE_WACOM(0x6B) },
+       { USB_DEVICE_WACOM(0x84) },
+       { USB_DEVICE_WACOM(0x90) },
+       { USB_DEVICE_WACOM(0x93) },
+       { USB_DEVICE_WACOM(0x97) },
+       { USB_DEVICE_WACOM(0x9A) },
+       { USB_DEVICE_WACOM(0x9F) },
        { USB_DEVICE_WACOM(0xB0) },
        { USB_DEVICE_WACOM(0xB1) },
        { USB_DEVICE_WACOM(0xB2) },
@@ -3307,15 +3307,13 @@ const struct usb_device_id wacom_ids[] = {
        { USB_DEVICE_WACOM(0xBA) },
        { USB_DEVICE_WACOM(0xBB) },
        { USB_DEVICE_WACOM(0xBC) },
-       { USB_DEVICE_WACOM(0x26) },
-       { USB_DEVICE_WACOM(0x27) },
-       { USB_DEVICE_WACOM(0x28) },
-       { USB_DEVICE_WACOM(0x29) },
-       { USB_DEVICE_WACOM(0x2A) },
-       { USB_DEVICE_WACOM(0x3F) },
+       { USB_DEVICE_WACOM(0xC0) },
+       { USB_DEVICE_WACOM(0xC2) },
+       { USB_DEVICE_WACOM(0xC4) },
        { USB_DEVICE_WACOM(0xC5) },
        { USB_DEVICE_WACOM(0xC6) },
        { USB_DEVICE_WACOM(0xC7) },
+       { USB_DEVICE_WACOM(0xCC) },
        /*
         * DTU-2231 has two interfaces on the same configuration,
         * only one is used.
@@ -3323,7 +3321,6 @@ const struct usb_device_id wacom_ids[] = {
        { USB_DEVICE_DETAILED(0xCE, USB_CLASS_HID,
                              USB_INTERFACE_SUBCLASS_BOOT,
                              USB_INTERFACE_PROTOCOL_MOUSE) },
-       { USB_DEVICE_WACOM(0x84) },
        { USB_DEVICE_WACOM(0xD0) },
        { USB_DEVICE_WACOM(0xD1) },
        { USB_DEVICE_WACOM(0xD2) },
@@ -3338,13 +3335,6 @@ const struct usb_device_id wacom_ids[] = {
        { USB_DEVICE_WACOM(0xDD) },
        { USB_DEVICE_WACOM(0xDE) },
        { USB_DEVICE_WACOM(0xDF) },
-       { USB_DEVICE_WACOM(0xF0) },
-       { USB_DEVICE_WACOM(0xCC) },
-       { USB_DEVICE_WACOM(0x90) },
-       { USB_DEVICE_WACOM(0x93) },
-       { USB_DEVICE_WACOM(0x97) },
-       { USB_DEVICE_WACOM(0x9A) },
-       { USB_DEVICE_WACOM(0x9F) },
        { USB_DEVICE_WACOM(0xE2) },
        { USB_DEVICE_WACOM(0xE3) },
        { USB_DEVICE_WACOM(0xE5) },
@@ -3352,6 +3342,12 @@ const struct usb_device_id wacom_ids[] = {
        { USB_DEVICE_WACOM(0xEC) },
        { USB_DEVICE_WACOM(0xED) },
        { USB_DEVICE_WACOM(0xEF) },
+       { USB_DEVICE_WACOM(0xF0) },
+       { USB_DEVICE_WACOM(0xF4) },
+       { USB_DEVICE_DETAILED(0xF6, USB_CLASS_HID, 0, 0) },
+       { USB_DEVICE_WACOM(0xF8) },
+       { USB_DEVICE_WACOM(0xFA) },
+       { USB_DEVICE_WACOM(0xFB) },
        { USB_DEVICE_WACOM(0x100) },
        { USB_DEVICE_WACOM(0x101) },
        { USB_DEVICE_WACOM(0x10D) },
@@ -3363,38 +3359,23 @@ const struct usb_device_id wacom_ids[] = {
        { USB_DEVICE_WACOM(0x301) },
        { USB_DEVICE_DETAILED(0x302, USB_CLASS_HID, 0, 0) },
        { USB_DEVICE_DETAILED(0x303, USB_CLASS_HID, 0, 0) },
-       { USB_DEVICE_DETAILED(0x30E, USB_CLASS_HID, 0, 0) },
        { USB_DEVICE_WACOM(0x304) },
+       { USB_DEVICE_WACOM(0x307) },
+       { USB_DEVICE_DETAILED(0x309, USB_CLASS_HID, 0, 0) },
+       { USB_DEVICE_WACOM(0x30A) },
+       { USB_DEVICE_WACOM(0x30C) },
+       { USB_DEVICE_DETAILED(0x30E, USB_CLASS_HID, 0, 0) },
        { USB_DEVICE_DETAILED(0x314, USB_CLASS_HID, 0, 0) },
        { USB_DEVICE_DETAILED(0x315, USB_CLASS_HID, 0, 0) },
        { USB_DEVICE_DETAILED(0x317, USB_CLASS_HID, 0, 0) },
-       { USB_DEVICE_WACOM(0x4001) },
-       { USB_DEVICE_WACOM(0x4004) },
-       { USB_DEVICE_WACOM(0x5000) },
-       { USB_DEVICE_WACOM(0x5002) },
-       { USB_DEVICE_WACOM(0x5010) },
-       { USB_DEVICE_WACOM(0x5013) },
-       { USB_DEVICE_WACOM(0x5044) },
-       { USB_DEVICE_WACOM(0x5048) },
-       { USB_DEVICE_WACOM(0x5090) },
-       { USB_DEVICE_WACOM(0x47) },
-       { USB_DEVICE_WACOM(0xF4) },
-       { USB_DEVICE_WACOM(0xF8) },
-       { USB_DEVICE_DETAILED(0xF6, USB_CLASS_HID, 0, 0) },
-       { USB_DEVICE_WACOM(0xFA) },
-       { USB_DEVICE_WACOM(0xFB) },
-       { USB_DEVICE_WACOM(0x0307) },
-       { USB_DEVICE_WACOM(0x30A) },
-       { USB_DEVICE_WACOM(0x30C) },
+       { USB_DEVICE_DETAILED(0x323, USB_CLASS_HID, 0, 0) },
+       { USB_DEVICE_WACOM(0x325) },
+       { USB_DEVICE_WACOM(0x326) },
        { USB_DEVICE_WACOM(0x32A) },
        { USB_DEVICE_WACOM(0x32B) },
        { USB_DEVICE_WACOM(0x32C) },
        { USB_DEVICE_WACOM(0x32F) },
-       { USB_DEVICE_DETAILED(0x0309, USB_CLASS_HID, 0, 0) },
-       { USB_DEVICE_DETAILED(0x323, USB_CLASS_HID, 0, 0) },
        { USB_DEVICE_DETAILED(0x331, USB_CLASS_HID, 0, 0) },
-       { USB_DEVICE_WACOM(0x325) },
-       { USB_DEVICE_WACOM(0x326) },
        { USB_DEVICE_WACOM(0x333) },
        { USB_DEVICE_WACOM(0x335) },
        { USB_DEVICE_WACOM(0x336) },
@@ -3415,6 +3396,15 @@ const struct usb_device_id wacom_ids[] = {
        { USB_DEVICE_DETAILED(0x358, USB_CLASS_HID, 0, 0) },
        { USB_DEVICE_WACOM(0x35A) },
        { USB_DEVICE_WACOM(0x368) },
+       { USB_DEVICE_WACOM(0x4001) },
+       { USB_DEVICE_WACOM(0x4004) },
+       { USB_DEVICE_WACOM(0x5000) },
+       { USB_DEVICE_WACOM(0x5002) },
+       { USB_DEVICE_WACOM(0x5010) },
+       { USB_DEVICE_WACOM(0x5013) },
+       { USB_DEVICE_WACOM(0x5044) },
+       { USB_DEVICE_WACOM(0x5048) },
+       { USB_DEVICE_WACOM(0x5090) },
        { USB_DEVICE_LENOVO(0x6004) },
        { }
 };
diff --git a/3.7/wacom_sys.c b/3.7/wacom_sys.c
index 7bac2d6..5f17669 100644
--- a/3.7/wacom_sys.c
+++ b/3.7/wacom_sys.c
@@ -1288,7 +1288,7 @@ static int __wacom_initialize_battery(struct wacom *wacom,
 static int wacom_initialize_battery(struct wacom *wacom)
 {
        if (wacom->wacom_wac.features.quirks & WACOM_QUIRK_BATTERY)
-                return __wacom_initialize_battery(wacom, &wacom->battery);
+               return __wacom_initialize_battery(wacom, &wacom->battery);
 
        return 0;
 }
-- 
2.14.3


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to