From: Dmitry Torokhov <dtor_core@ameritech.net>
To: irda-users@lists.sourceforge.net
Cc: Jean Tourrilhes <jt@hpl.hp.com>, linux-kernel@vger.kernel.org
Subject: [patch 0/9] smsc-ircc2: sysfs, suspend and other patches
Date: Wed, 25 May 2005 01:37:38 -0500 [thread overview]
Message-ID: <20050525063738.864916000.dtor_core@ameritech.net> (raw)
[ This is a resend. I apologize if you already received copy of these
patches...]
Hi,
The following patches attempt to convert smsc-ircc2 driver to the new
power management scheme by registering driver/device as platform device.
Additionally, suspend and resume methods were adjusted to keep network
device open and not release IRQ/DMA upon suspend to make sure that they
will still be available at resume time (IRQ and DMA simply disabled when
suspending). Plus there some less significant cleanups.
The resulting driver loads on my laptop and survives swsusp suspend/resume
cycle. Borrowed windows laptop recognizes and is being recognzed when
moved into vicinity of the box. Unfortunately I was not able to test any
higher-level protocols because IRDA connection would not stay on, but
it is the same with the original driver as well.
I would appreciate if owners of laptops with this chip could give these
patches a try. Thanks!
ircc2-whitespace.patch
- whitespace fixes
ircc2-formatting.patch
- some formatting changes for better readability
ircc2-remove-dim.patch
- remove homegrown DIM macro in favor of ARRAY_SIZE, fix out-of-bounds
array access
ircc2-remove-typedef.patch
- drop some typedefs, use 'struct blah' instead
ircc2-cleanup.patch
- do not pass around iobase, it is available from smsc_ircc_cb structure
ircc2-pm.patch
- add smsc-ircc2 to sysfs/driver model as platform device/driver,
switch to the new PM scheme.
ircc2-pm2.patch
- avoid closing interface in suspend methods - it will cause IRQ/DMA be
released and they may not be availabe at resume.
ircc2-netdev-priv.patch
- switch to using netdev_priv().
ircc2-cleanup2.patch
- avoid using void * pointers where specific type will do.
--
Dmitry
next reply other threads:[~2005-05-25 6:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-25 6:37 Dmitry Torokhov [this message]
2005-05-25 6:37 ` [patch 1/9] smsc-ircc2: whitespace fixes Dmitry Torokhov
2005-05-25 6:37 ` [patch 2/9] smsc-ircc2: formatting fixes Dmitry Torokhov
2005-05-25 6:37 ` [patch 3/9] smsc-ircc2: drop DIM macro in favor of ARRAY_SIZE Dmitry Torokhov
2005-05-25 6:37 ` [patch 4/9] smsc-ircc2: remove typedefs Dmitry Torokhov
2005-05-25 6:37 ` [patch 5/9] smsc-ircc2: dont pass iobase around Dmitry Torokhov
2005-05-25 6:37 ` [patch 6/9] smsc-ircc2: add to sysfs as platform device, new PM Dmitry Torokhov
2005-05-25 6:37 ` [patch 7/9] smsc-ircc2: PM cleanup - do not close device when suspending Dmitry Torokhov
2005-05-25 6:37 ` [patch 8/9] smsc-ircc2: use netdev_priv() Dmitry Torokhov
2005-05-25 6:37 ` [patch 9/9] smsc-ircc2: dont use void * where specific type will do Dmitry Torokhov
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=20050525063738.864916000.dtor_core@ameritech.net \
--to=dtor_core@ameritech.net \
--cc=irda-users@lists.sourceforge.net \
--cc=jt@hpl.hp.com \
--cc=linux-kernel@vger.kernel.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
Powered by JetHome