From: "YOSHIFUJI Hideaki / 吉藤英明" <yoshfuji@linux-ipv6.org>
To: nicolas@boichat.ch
Cc: greg@kroah.com, linux-usb-devel@lists.sourceforge.net,
johannes@sipsolutions.net, stelian@popies.net,
mactel-linux-devel@lists.sourceforge.net,
dtor_core@ameritech.net, linux-kernel@vger.kernel.org,
frank@scirocco-5v-turbo.de, petero2@telia.com,
linux-kernel@hansmi.ch, yoshfuji@linux-ipv6.org
Subject: Re: [PATCH] MacBook Pro touchpad support
Date: Tue, 18 Apr 2006 21:25:25 +0900 (JST) [thread overview]
Message-ID: <20060418.212525.21076744.yoshfuji@linux-ipv6.org> (raw)
In-Reply-To: <1145358431.14816.18.camel@localhost>
In article <1145358431.14816.18.camel@localhost> (at Tue, 18 Apr 2006 13:07:11 +0200), Nicolas Boichat <nicolas@boichat.ch> says:
> @@ -147,13 +164,22 @@ MODULE_PARM_DESC(debug, "Activate debugg
> /* Checks if the device a Geyser 2 (ANSI, ISO, JIS) */
> static inline int atp_is_geyser_2(struct atp *dev)
> {
> - int16_t productId = le16_to_cpu(dev->udev->descriptor.idProduct);
> + int productId = le16_to_cpu(dev->udev->descriptor.idProduct);
>
> return (productId == GEYSER_ANSI_PRODUCT_ID) ||
> (productId == GEYSER_ISO_PRODUCT_ID) ||
> (productId == GEYSER_JIS_PRODUCT_ID);
> }
Any good reasons to change this?
>
> +static inline int atp_is_geyser_3(struct atp *dev)
> +{
> + int productId = le16_to_cpu(dev->udev->descriptor.idProduct);
> +
> + return (productId == GEYSER3_ANSI_PRODUCT_ID) ||
> + (productId == GEYSER3_ISO_PRODUCT_ID) ||
> + (productId == GEYSER3_JIS_PRODUCT_ID);
> +}
> +
> static int atp_calculate_abs(int *xy_sensors, int nb_sensors, int fact,
> int *z, int *fingers)
> {
If no, use int16 productId.
--yoshfuji
next prev parent reply other threads:[~2006-04-18 12:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-18 11:07 Nicolas Boichat
2006-04-18 12:25 ` YOSHIFUJI Hideaki / 吉藤英明 [this message]
[not found] ` <1145373471.23139.10.camel@localhost.localdomain>
2006-04-18 16:41 ` Greg KH
2006-04-19 11:33 ` Nicolas Boichat
2006-04-19 19:50 ` Greg KH
2006-04-19 21:36 ` Nicolas Boichat
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060418.212525.21076744.yoshfuji@linux-ipv6.org \
--to=yoshfuji@linux-ipv6.org \
--cc=dtor_core@ameritech.net \
--cc=frank@scirocco-5v-turbo.de \
--cc=greg@kroah.com \
--cc=johannes@sipsolutions.net \
--cc=linux-kernel@hansmi.ch \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=mactel-linux-devel@lists.sourceforge.net \
--cc=nicolas@boichat.ch \
--cc=petero2@telia.com \
--cc=stelian@popies.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®