[Top] [All Lists]

[PATCH] [2.60-test1] Alchemy UART build problems

To: linux-mips <>
Subject: [PATCH] [2.60-test1] Alchemy UART build problems
From: Liam Girdwood <>
Date: 16 Jul 2003 13:39:37 +0100
Original-recipient: rfc822;

I've found some function/type naming errors within the Alchemy serial
driver. Patch below.

Index: drivers/serial/au1x00_uart.c
RCS file: /home/cvs/linux/drivers/serial/au1x00_uart.c,v
retrieving revision 1.1
diff -r1.1 au1x00_uart.c
<               up->port.irq      = irq_cannonicalize(old_serial_port[i].irq);
>               up->port.irq      = irq_canonicalize(old_serial_port[i].irq);
< int __init early_serial_setup(struct serial_struct *req)
> int __init early_serial_setup(struct uart_port *req)

There is also a reference to a non existant member called change_speed
of struct uart_ops on line 1055 i.e. 

        .change_speed   = serial_au1x00_change_speed,

This builds if it is commented out, however serial_au1x00_change_speed()
is not called anywhere in the driver and the change_speed member is not
used anywhere else in the kernel!

It looks like this file is still in transition between 2.4 and 2.6 as
the 2.4 driver works fine. Does anyone have a working 2.5/2.6 Alchemy
uart driver ?



Liam Girdwood <>

Wolfson Microelectronics plc
t: +44 131 272-7000
f: +44 131 272-7001
Registered in Scotland 89839

This message may contain confidential or proprietary information. If you 
receive this message in error, please
immediately delete it, destroy all copies of it and notify the sender. Any 
views expressed in this message are those of the individual sender,
except where the message states otherwise. We take reasonable precautions to 
ensure our Emails are virus free.
However, we cannot accept responsibility for any virus transmitted by us
and recommend that you subject any incoming Email to your own virus
checking procedures.

<Prev in Thread] Current Thread [Next in Thread>