The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: "Luis R. Rodriguez" <lrodriguez@atheros.com>
Cc: akpm@linux-foundation.org, mingo@redhat.com, tglx@linutronix.de,
	hpa@zytor.com, x86@kernel.org, linux-kernel@vger.kernel.org,
	linux-wireless@vger.kernel.org, allen.kao@atheros.com,
	roman.gezikov@atheros.com, joonas.viskari@atheros.com
Subject: Re: [RFC 0/2] x86: Add support for Atheros AR1520 GPS devices
Date: Fri, 6 May 2011 17:38:18 -0700	[thread overview]
Message-ID: <20110507003818.GA23997@kroah.com> (raw)
In-Reply-To: <1304719780-27347-1-git-send-email-lrodriguez@atheros.com>

On Fri, May 06, 2011 at 03:09:38PM -0700, Luis R. Rodriguez wrote:
> These two patches adds support for the Atheros AR1520 GPS device,
> currently only pegged onto an mrst platform. This creates a character
> device called ar1520 and lets userspace talk to it through it. My only
> concern against this approach is that it this requires a custom userspace
> application for reseting the device, waking it up and for blocking reads
> through ioctl. The character device can be used to read/write data to it
> as well.

I really don't like using a character device for this, what's wrong with
a tty device instead like other GPS devices are using today (i.e. a
number of USB GPS devices)?

I don't understand what these ioctls are supposed to be doing, can't
they map to standard tty ioctls that we already have for flow control so
that userspace doesn't have to write a whole new application just to
talk to yet-another-gps-device?

thanks,

greg k-h

  parent reply	other threads:[~2011-05-07  0:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-06 22:09 [RFC 0/2] x86: Add support for Atheros AR1520 GPS devices Luis R. Rodriguez
2011-05-06 22:09 ` [RFC 1/2] misc: add Atheros ar1520 GPS support Luis R. Rodriguez
2011-05-06 22:15   ` Randy Dunlap
2011-05-06 22:26   ` Alan Cox
2011-05-06 23:31     ` Luis R. Rodriguez
2011-05-06 22:09 ` [RFC 2/2] x86: add Atheros ar1520 platform support for mrst Luis R. Rodriguez
2011-05-06 22:28   ` Alan Cox
2011-05-06 23:27     ` Luis R. Rodriguez
2011-05-07  0:38 ` Greg KH [this message]
2011-05-07  4:32   ` [RFC 0/2] x86: Add support for Atheros AR1520 GPS devices Luis R. Rodriguez

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=20110507003818.GA23997@kroah.com \
    --to=greg@kroah.com \
    --cc=akpm@linux-foundation.org \
    --cc=allen.kao@atheros.com \
    --cc=hpa@zytor.com \
    --cc=joonas.viskari@atheros.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lrodriguez@atheros.com \
    --cc=mingo@redhat.com \
    --cc=roman.gezikov@atheros.com \
    --cc=tglx@linutronix.de \
    --cc=x86@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