From: Enrik Berkhan <Enrik.Berkhan@planb.de>
To: Grant Grundler <grundler@dsl2.external.hp.com>
Cc: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] serial baud_base, high baud rates and divisors
Date: Fri, 8 Feb 2002 12:14:05 +0100 [thread overview]
Message-ID: <20020208121405.C5128@electra.intern.planb.de> (raw)
In-Reply-To: <20020207163107.5E08A482A@dsl2.external.hp.com>
On Thu, Feb 07, 2002 at 09:31:07AM -0700, Grant Grundler wrote:
> > - get/set_serial_info have to be enhanced for memory mapped ports
> > - setserial should be enhanced accordingly
>
> If other non-intel architectures don't have a solution for this.
> My first thought was to assign fake port addresses.
Looks like most other architectures have their own code even when
using 16450 like UARTs (e.g. arch/mips/au1000/common/serial.c).
Especially set_serial_info is architecture dependent, because it just
doesn't make much sense to fiddle with irq and port settings on
parisc, does it? Faking port adresses could be a workaround, but it's
not clean as it might make the ports show up in /proc/ioports ...
But enhancing the test for doubly assigned ports to
if ((rs_table[i].port == port) &&
(rs_table[i].iomem_base == req->iomem_base))
might be ok. This code can be found in register_serial().
BTW, drivers/gsc/serial.c does no request_mem_region(). Is this in-
tentional?
> Do PCI serial cards also use MMIO?
I don't know.
> > - baud_base should be initialized correctly for other gsc based ports.
>
> We'd have to dig a bit for documentation on this.
> Please poke me offline if that doesn't happen in the next week or so.
The hardball ers states a 7.3728MHz (== 16 * 460800) baud rate clock,
which confirms the output of my DMM. So we would need a table holding
the baud_base for each device?
Enrik
--
Enrik Berkhan plan b. GmbH
Rüppurrer Straße 4
+49-721-388582 (voice) 76137 Karlsruhe
+49-721-388581 (fax) Germany
next prev parent reply other threads:[~2002-02-08 11:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-07 12:08 [parisc-linux] serial baud_base, high baud rates and divisors Enrik Berkhan
2002-02-07 14:41 ` Helge Deller
2002-02-07 16:31 ` Enrik Berkhan
2002-02-07 16:36 ` Grant Grundler
2002-02-07 16:31 ` Grant Grundler
2002-02-08 11:14 ` Enrik Berkhan [this message]
2002-02-10 6:50 ` Grant Grundler
2002-02-10 15:36 ` Matthew Wilcox
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=20020208121405.C5128@electra.intern.planb.de \
--to=enrik.berkhan@planb.de \
--cc=grundler@dsl2.external.hp.com \
--cc=parisc-linux@lists.parisc-linux.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