* [PATCH 5/5]8250_pnp fix
@ 2004-10-21 3:00 Li Shaohua
2004-10-28 6:11 ` Len Brown
0 siblings, 1 reply; 2+ messages in thread
From: Li Shaohua @ 2004-10-21 3:00 UTC (permalink / raw)
To: ACPI-DEV, lkml; +Cc: Len Brown, Adam Belay, Matthieu, Bjorn Helgaas
[-- Attachment #1: Type: text/plain, Size: 726 bytes --]
Hi,
This is a small fix found when debugging the 8250 driver in IA64.
Thanks,
Shaohua
Signed-off-by: Li Shaohua <shaohua.li@intel.com>
--- 2.6/drivers/serial/8250_pnp.c.stg4 2004-09-28 11:27:42.371840736
+0800
+++ 2.6/drivers/serial/8250_pnp.c 2004-09-28 11:28:14.036027048 +0800
@@ -407,7 +407,7 @@ serial_pnp_probe(struct pnp_dev * dev, c
serial_req.irq = pnp_irq(dev,0);
serial_req.port = pnp_port_start(dev, 0);
if (HIGH_BITS_OFFSET)
- serial_req.port = pnp_port_start(dev, 0) >> HIGH_BITS_OFFSET;
+ serial_req.port_high = pnp_port_start(dev, 0) >> HIGH_BITS_OFFSET;
#ifdef SERIAL_DEBUG_PNP
printk("Setup PNP port: port %x, irq %d, type %d\n",
serial_req.port, serial_req.irq, serial_req.io_type);
[-- Attachment #2: 8250.patch --]
[-- Type: text/x-patch, Size: 587 bytes --]
--- 2.6/drivers/serial/8250_pnp.c.stg4 2004-09-28 11:27:42.371840736 +0800
+++ 2.6/drivers/serial/8250_pnp.c 2004-09-28 11:28:14.036027048 +0800
@@ -407,7 +407,7 @@ serial_pnp_probe(struct pnp_dev * dev, c
serial_req.irq = pnp_irq(dev,0);
serial_req.port = pnp_port_start(dev, 0);
if (HIGH_BITS_OFFSET)
- serial_req.port = pnp_port_start(dev, 0) >> HIGH_BITS_OFFSET;
+ serial_req.port_high = pnp_port_start(dev, 0) >> HIGH_BITS_OFFSET;
#ifdef SERIAL_DEBUG_PNP
printk("Setup PNP port: port %x, irq %d, type %d\n",
serial_req.port, serial_req.irq, serial_req.io_type);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 5/5]8250_pnp fix
2004-10-21 3:00 [PATCH 5/5]8250_pnp fix Li Shaohua
@ 2004-10-28 6:11 ` Len Brown
0 siblings, 0 replies; 2+ messages in thread
From: Len Brown @ 2004-10-28 6:11 UTC (permalink / raw)
To: Shaohua Li; +Cc: ACPI Developers, lkml, Adam Belay, Matthieu, Bjorn Helgaas
Applied.
thanks,
-Len
On Wed, 2004-10-20 at 23:00, Li Shaohua wrote:
> Hi,
> This is a small fix found when debugging the 8250 driver in IA64.
>
> Thanks,
> Shaohua
>
> Signed-off-by: Li Shaohua <shaohua.li@intel.com>
>
> --- 2.6/drivers/serial/8250_pnp.c.stg4 2004-09-28 11:27:42.371840736
> +0800
> +++ 2.6/drivers/serial/8250_pnp.c 2004-09-28 11:28:14.036027048
> +0800
> @@ -407,7 +407,7 @@ serial_pnp_probe(struct pnp_dev * dev, c
> serial_req.irq = pnp_irq(dev,0);
> serial_req.port = pnp_port_start(dev, 0);
> if (HIGH_BITS_OFFSET)
> - serial_req.port = pnp_port_start(dev, 0) >>
> HIGH_BITS_OFFSET;
> + serial_req.port_high = pnp_port_start(dev, 0) >>
> HIGH_BITS_OFFSET;
> #ifdef SERIAL_DEBUG_PNP
> printk("Setup PNP port: port %x, irq %d, type %d\n",
> serial_req.port, serial_req.irq, serial_req.io_type);
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-10-28 6:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-21 3:00 [PATCH 5/5]8250_pnp fix Li Shaohua
2004-10-28 6:11 ` Len Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®