All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] PCI serial card support
Date: Sun, 9 Nov 2008 22:57:30 +0100	[thread overview]
Message-ID: <20081109215730.GA26330@thorin> (raw)
In-Reply-To: <20081109015819.GA4022@xolotl.n0ano.com>

On Sat, Nov 08, 2008 at 06:58:19PM -0700, n0ano@n0ano.com wrote:
> I think this is pretty much what I'm in the middle of doing.  I want to
> put the infrastructure in place so that we can handle an arbitrary PCI
> device but I will only put the actual code in to handle the PCI card that
> I have (the only one I can test).
> 
> What I'm doing is creating a table that matches the tuple (vendor id,
> device id, subsystem vendor id, subsystem device id, device type, device
> type mask) to a base baud and a configuration function.  The default
> configuration function does nothing so the table only provides the base
> baud.  We can add config functions for different cards as time goes by.

Nice!  Aside from base baud and configuration function, I assume we'd also
want to specify the I/O port?

> Note that what I'm doing will make the serial module dependent upon the
> pci module but I don't see that that's a big concern.  Pretty much any
> modern machine will have a PCI bus so scanning it should not be a
> problem.  Also, note that the legacy serial devices (I/O ports at
> 0x3f8 & 0x2f8) are going away, in the not too distant future the only
> way to get serial output will be through PCI or USB.  Given that USB
> controllers hang off the PCI bus I don't see an issue with having the
> serial module require the pci module.

If we want to soften the dependency on the pci module, I guess it can
always be done afterwards.  Vesa, what do you think?

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."



  reply	other threads:[~2008-11-09 21:58 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-04  0:38 [PATCH] PCI serial card support donald.d.dugger
2008-11-04 15:39 ` Robert Millan
2008-11-04 18:24   ` Dugger, Donald D
2008-11-05  9:58     ` Robert Millan
2008-11-05 15:37       ` Dugger, Donald D
2008-11-06 15:02         ` Robert Millan
2008-11-06 15:28           ` Dugger, Donald D
2008-11-06 16:06             ` Robert Millan
2008-11-06 16:30               ` Dugger, Donald D
2008-11-06 17:00                 ` Dugger, Donald D
2008-11-07 16:07                   ` n0ano
2008-11-07 16:52                     ` Vesa Jääskeläinen
2008-11-08 11:25                       ` Robert Millan
2008-11-08 12:23                         ` Vesa Jääskeläinen
2008-11-08 12:45                           ` Robert Millan
2008-11-08 14:00                             ` Vesa Jääskeläinen
2008-11-09  1:58                             ` n0ano
2008-11-09 21:57                               ` Robert Millan [this message]
2008-11-09 22:13                                 ` Vesa Jääskeläinen
2008-11-09 22:14                                 ` n0ano
2008-11-12 18:58                                 ` n0ano
2008-11-13 18:05                                   ` Vesa Jääskeläinen
2008-11-13 20:13                                     ` n0ano
2008-11-14 19:24                                     ` n0ano
2008-11-22  2:53                                       ` Neo Jia
2008-11-22  7:18                                         ` Vesa Jääskeläinen
2008-11-04 18:26   ` Vesa Jääskeläinen
2008-11-04 18:38     ` Dugger, Donald D
2009-07-21  8:11 ` tony.gugo

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=20081109215730.GA26330@thorin \
    --to=rmh@aybabtu.com \
    --cc=grub-devel@gnu.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 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.