linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* platform_serial.h
@ 2001-11-30 11:49 Paul Mackerras
  0 siblings, 0 replies; only message in thread
From: Paul Mackerras @ 2001-11-30 11:49 UTC (permalink / raw)
  To: linuxppc-dev


Currently include/asm-ppc/serial.h has definitions for the 4 standard
PC serial ports plus other oddball ISA multiport serial adaptors:
fourport, accent, boca and hub6.

Has anyone *ever* used any of these ISA multiport adaptors on a PPC
system?  I wouldn't be at all surprised if the answer was no.

I would like to move those extra oddball things out to
include/asm-ppc/isa-serial.h.  Then I think <asm/serial.h> should
include <platform_serial.h>, and if that doesn't define
STD_SERIAL_PORT_DEFNS, define that to be the 4 standard PC serial
ports.

It boils down to the question of what default serial ports we think a
platform should get if it doesn't provide a platform_serial.h file:

- none,
- the four standard PC ports, or
- the four standard PC ports plus the oddball ones?

If we go for the second option and a platform wants the oddball ones,
it can #include <asm/isa-serial.h> in its platform_serial.h file.

Note that none of this will affect PCI multiport serial cards at all.

Comments?

Paul.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-11-30 11:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-30 11:49 platform_serial.h Paul Mackerras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).