Bjorn Helgaas | 16 Sep 2005 19:42
Picon
Favicon

[PATCH] serial: remove 8250_acpi (subsumed by 8250_pnp and PNPACPI)

With the combination of PNPACPI and 8250_pnp, we no longer need
8250_acpi.

The only in-tree configs that contain CONFIG_SERIAL_8250_ACPI are ia64.
ia64 users should make sure CONFIG_PNP and CONFIG_PNPACPI are set so
8250_pnp.c can discover built-in serial ports.  Tony has already
accepted a patch to turn them on in the default configs.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas <at> hp.com>

Index: work-vga2/drivers/serial/Kconfig
===================================================================
--- work-vga2.orig/drivers/serial/Kconfig	2005-09-14 09:29:08.000000000 -0600
+++ work-vga2/drivers/serial/Kconfig	2005-09-15 09:58:40.000000000 -0600
 <at>  <at>  -77,14 +77,6  <at>  <at> 

 	  If unsure, say N.

-config SERIAL_8250_ACPI
-	bool "8250/16550 device discovery via ACPI namespace"
-	default y if IA64
-	depends on ACPI && SERIAL_8250
-	---help---
-	  If you wish to enable serial port discovery via the ACPI
-	  namespace, say Y here.  If unsure, say N.
-
 config SERIAL_8250_NR_UARTS
 	int "Maximum number of 8250/16550 serial ports"
 	depends on SERIAL_8250
Index: work-vga2/drivers/serial/Makefile
(Continue reading)

Bjorn Helgaas | 20 Sep 2005 18:04
Picon
Favicon

Re: [PATCH] serial: remove 8250_acpi (subsumed by 8250_pnp and PNPACPI)

On Friday 16 September 2005 11:42 am, Bjorn Helgaas wrote:
> With the combination of PNPACPI and 8250_pnp, we no longer need
> 8250_acpi.
> 
> The only in-tree configs that contain CONFIG_SERIAL_8250_ACPI are ia64.
> ia64 users should make sure CONFIG_PNP and CONFIG_PNPACPI are set so
> 8250_pnp.c can discover built-in serial ports.  Tony has already
> accepted a patch to turn them on in the default configs.

Please don't apply this just yet.  Tony Luck tried it and tripped
over a deficiency in PNPACPI that I'll have to fix first.

(HP rx1620 has an ACPI_RSTYPE_ADDRESS32 item in its _PRS, and
PNPACPI doesn't know what to do with it.)

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
Geoffrey Barnard | 24 Sep 2005 12:35
Picon

Buzy cials-tabs at Unbelievable Prices


Be ERECT in less than 15 mins

PRlCE: $ 2 / use

visit us: greenones.com

-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Dominik Wilczynski | 28 Sep 2005 13:27
Favicon

PROBLEM: linux serial rs-232 bug when open()

Hi,

I'm doing embedded development with rs-232 interface and I noticed a bug in
serial driver. When I open ttySx device, open() function returns 0 instead
of proper file descriptor. I have to perform open() twice before I get exact
file descriptor. 

Some guys were discussing similar bug:
http://www.uwsg.iu.edu/hypermail/linux/kernel/0104.2/0830.html

I use kernel 2.6.11.4-20a-default on SUSE 9.3 disctribution. If you would
like to have more details on this, please let me know and I 'll send you
description of my configuration.

Best Regards,

 
Dominik Wilczynski
-----------------------------------------
Software Design Engeneer

dominik.wilczynski <at> s3group.com

Silicon & Software Systems
www.s3group.com

The information contained in this e-mail and in any attachments is confidential and is designated solely
for the attention of the intended recipient(s). If you are not an intended recipient, you must not use,
disclose, copy, distribute or retain this e-mail or any part thereof. If you have received this e-mail in
error, please notify the sender by return e-mail and delete all copies of this e-mail from your computer system(s).
(Continue reading)


Gmane