From: Ivo Manca <pinkel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>,
"Mark M. Hoffman"
<mhoffman-xQSgfq/1h4JiLUuM0BA3LQ@public.gmane.org>
Cc: i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org,
Hans de Goede <j.w.r.degoede-fbo2DhPpy/Q@public.gmane.org>
Subject: [PATCH 00/03] i2c-i801: Add basic interrupt support
Date: Wed, 23 Jul 2008 18:56:00 +0200 [thread overview]
Message-ID: <488762A0.8030409@gmail.com> (raw)
Hey All,
It's been a while since I last posted about this matter, but the patch
is finally there.
This patch adds basic interrupt support to the i2c-i801 bus driver. This
means i2c transactions can be completed without useless and pricy
waiting loops (the polling) and speeds things up.
Currently only basic transactions are support. The HW PEC or i2c block
transactions still use polling.
To write this patch, I've extensively used Mark M. Hoffman's i2c-i801
rewrite of the i2c-i801 driver dating back from 28 Nov 2008. This can be
found at http://archives.andrew.net.au/lm-sensors/msg28496.html
I've tested this patch extensively on a machine provided by the Hague
University (Thanks Hans! ;) which is ICH5 based, but it needs a lot of
more testing. So please be welcome to give the patch a shot.
Since I’m completely new to linux device driver development, interrupts
and i2c, stupid mistakes can be very well possible. Please use this
patch with caution and let me know whatever I did wrong :). Oh, and if
your PC won’t start up anymore, removing power from the PC always worked
for me ;p.
All patches are made against 2.6.26-rc9
Patch 1 implements the functionality, while patch 2 only adds the
alignment changes. This is done to make it easier reviewable. Patch 3 is
quite unrelated and only fixes some checkPatch warnings..
---
Ivo Manca
_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c
next reply other threads:[~2008-07-23 16:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-23 16:56 Ivo Manca [this message]
[not found] ` <488762A0.8030409-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-08-10 17:05 ` [PATCH 00/03] i2c-i801: Add basic interrupt support Jean Delvare
[not found] ` <20080810190522.76a61673-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-08-10 20:08 ` Ivo Manca
[not found] ` <489F4AA3.3070101-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-08-11 16:07 ` Jean Delvare
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=488762A0.8030409@gmail.com \
--to=pinkel-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org \
--cc=j.w.r.degoede-fbo2DhPpy/Q@public.gmane.org \
--cc=khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org \
--cc=mhoffman-xQSgfq/1h4JiLUuM0BA3LQ@public.gmane.org \
/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