2004-10-21 03:28:59

by Shaohua Li

[permalink] [raw]
Subject: [PATCH 5/5]8250_pnp fix

Hi,
This is a small fix found when debugging the 8250 driver in IA64.

Thanks,
Shaohua

Signed-off-by: Li Shaohua <[email protected]>

--- 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);


Attachments:
8250.patch (587.00 B)

2004-10-28 06:15:44

by Brown, Len

[permalink] [raw]
Subject: Re: [PATCH 5/5]8250_pnp fix

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 <[email protected]>
>
> --- 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);
>
>
>