All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: David Holm <dholmster@gmail.com>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux@sierrawireless.com, klloyd@sierrawireless.com
Subject: Re: [PATCH] Backport of Sierra Wireless USB serial driver from 2.6 to kernel 2.4.37
Date: Tue, 19 Jan 2010 11:26:26 -0800	[thread overview]
Message-ID: <20100119192626.GA31490@kroah.com> (raw)
In-Reply-To: <3194316b1001191119h6c15dd2bvbf32bf93a2d1730e@mail.gmail.com>

On Tue, Jan 19, 2010 at 08:19:40PM +0100, David Holm wrote:
> This is a backport of the Sierra Wireless USB modem from
> linux/kernel/git/torvalds/linux-2.6.git to kernel 2.4. We are actively
> using this driver on our embedded systems running uClinux 2.4.26 on an
> ARM7TDMI but the patch has been produced against 2.4.37. I did not
> have time to prepare and run the entire 2.4.37 on our platform but I
> did backport usbserial.c just to make sure that there woudln't be any
> obvious problems. Hence, if anyone owns a Sierra Wireless modem and is
> running 2.4.37 please help me double check that there are no hidden
> surprises.
> The driver has been run extensively with usbserial and sierra
> debugging turned on. I've also done some tests with debugging enabled
> in the USB subsystem but this was the first time ever that I had to
> code a driver for a USB device so those message were usually of
> limited help to me.
> 
> I've tried to retain formatting of the 2.6 code as much as possible to
> make it easier to diff against newer revisions. This also means that I
> intentionally did not fix code guideline errors in that code. The
> portions that I have written myself should follow the guidelines
> though.
> 
> The power management code was removed completely due to lack of
> support in 2.4. Other than that I believe I was able to retain all of
> the remaining functionality. We only have access to the Sierra
> Wireless Compass 889 at work so that is the only hardware I've been
> running it against but the only hardware that seems to need special
> handling are the "direct IP modems" and that code should still be in
> there untouched.
> 
> I'm pretty sure "sierra_intf_private" as well as the variable "opened"
> in the "sierra_port_private" struct can be removed completely but I
> left them in for now.
> 
> Even though I've worked on a couple of Linux projects before this is
> my first submission so please be gentle. Any feedback will be greatly
> appreciated.

Minor complaint, your email client wrapped the patch, so it would have
to be edited by hand in order to apply it.

Main question though is, why did you do this?  Is there some reason you
are stuck with such an old, and unsupported kernel version that you
required this driver?  What is keeping you from moving to a 2.6 kernel
on this hardware platform, and can we help you out with that in any way?

Otherwise, looks fine at first glance, but I don't know what to do with
the patch as no one is doing 2.4 work upstream anymore except for
security and other minor bugfixes.

thanks,

greg k-h

  reply	other threads:[~2010-01-19 19:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-19 19:19 [PATCH] Backport of Sierra Wireless USB serial driver from 2.6 to kernel 2.4.37 David Holm
2010-01-19 19:26 ` Greg KH [this message]
2010-01-19 19:41   ` David Holm

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=20100119192626.GA31490@kroah.com \
    --to=greg@kroah.com \
    --cc=dholmster@gmail.com \
    --cc=klloyd@sierrawireless.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=linux@sierrawireless.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.