Re: wrong number of serial port detected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Russell King <[email protected]>
To: Bjorn Helgaas <[email protected]>
CC: Jason Dravet <[email protected]>, [email protected]
Subject: Re: wrong number of serial port detected
Date: Sat, 10 Dec 2005 10:35:38 +0000

On Fri, Dec 09, 2005 at 12:54:44PM -0700, Bjorn Helgaas wrote:
> On Friday 09 December 2005 7:37 am, Jason Dravet wrote:
> > The question I have
> > is with all of this plug and play stuff in our PCs shouldn't it be possible
> > to get the correct number of ports, ask the bios or the pci bus or
> > something?
>
> Yes.  ACPI (or even PNPBIOS) should tell us about all the "legacy"
> ports, and PCI or other bus enumeration should tell us about all the
> rest.

Unless I stick a serial card into an industrial PC.  And yes, ISA
serial cards are still sold:

http://www.amplicon.co.uk/dr-prod3.cfm/groupId/10740/secid/10177.htm

ISA serial cards will not show up in ACPI, PNPBIOS or any other bus
enumeration scheme.  The only way to use them is via setserial.

--
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core

How is this for an idea? The serial driver enumerates ACPI, PNPBIOS, or whaterver it needs for the onboard serial ports. If you have a PCI based serial card it would show up in the emuneration of the PCI bus, right? For the case of ISA serial cards couldn't they have an option in modprobe.conf to tell the kernel about the ISA serial card and the proper number of serial ports on the card itself?

Thanks,
Jason


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux