From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from web15901.mail.cnb.yahoo.com (web15901.mail.cnb.yahoo.com [202.165.103.82]) by ozlabs.org (Postfix) with SMTP id 0FA0EDE26B for ; Thu, 17 Apr 2008 17:31:36 +1000 (EST) Date: Thu, 17 Apr 2008 15:31:34 +0800 (CST) From: =?gb2312?q?=D0=F1=20=C2=DE?= Subject: A question about the 8250/16550 Driver To: Linu PPC Mail list MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1887967415-1208417494=:9457" Message-ID: <351993.9457.qm@web15901.mail.cnb.yahoo.com> Cc: scottwood@freescale.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --0-1887967415-1208417494=:9457 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit Hello: I have founded that the serial can't be initialized as the bootting process. My platform is MPC8313 and my kernel version is linux-2.6.23.9. I look though the source code and find that the MPC8313 driver is compatible with 8250/16550. The driver is in the \drivers\serial\8250.c In the function serial8250_isa_init_ports we should use the structer old_serial_port but i can't find the definition for this struct. I can only find the following senrense in the head of this file #ifndef SERIAL_PORT_DFNS #define SERIAL_PORT_DFNS #endif static const struct old_serial_port old_serial_port[] = { SERIAL_PORT_DFNS /* defined in asm/serial.h */ }; i think this is a bug for this driver. Could any one can told me how to define the SERIAL_PORT_DFNS for the MPC8313 system? Hi Scott, Have you ever find this problem and how do you solve it. Thanks Best Wishs --------------------------------- ÑÅ»¢ÓÊÏ䣬ÄúµÄÖÕÉúÓÊÏ䣡 --0-1887967415-1208417494=:9457 Content-Type: text/html; charset=gb2312 Content-Transfer-Encoding: 8bit Hello:
    I have founded that the serial can't be initialized as the bootting process. My platform is MPC8313 and my kernel version is linux-2.6.23.9. I look though the source code and find that the MPC8313 driver is compatible with 8250/16550. The driver is in the \drivers\serial\8250.c

In the function serial8250_isa_init_ports we should use the structer old_serial_port  but i can't find the definition for this struct. I can only find the following senrense in the head of this file

#ifndef SERIAL_PORT_DFNS
#define SERIAL_PORT_DFNS
#endif

static const struct old_serial_port old_serial_port[] = {
    SERIAL_PORT_DFNS /* defined in asm/serial.h */
};

i think this is a bug for this driver. Could any one can told me how to define the SERIAL_PORT_DFNS  for the MPC8313 system? Hi Scott, Have you ever find this problem and how do you solve it.


Thanks
Best Wishs



ÑÅ»¢ÓÊÏ䣬ÄúµÄÖÕÉúÓÊÏ䣡 --0-1887967415-1208417494=:9457--