Received: from mail.onstor.com (66.201.51.107) by exch1.onstor.net
 (10.0.0.225) with Microsoft SMTP Server id 8.1.311.2; Tue, 13 Jan 2009
 12:48:39 -0800
Received: from chiesmta2-1.messageone.com ([216.203.30.55]) by mail.onstor.com
 with Microsoft SMTPSVC(6.0.3790.3959);	 Tue, 13 Jan 2009 12:48:38 -0800
Received: from ftp.linux-mips.org (ftp.linux-mips.org [213.58.128.207])	by
 chiesmta2-1.messageone.com (8.13.8/8.13.8) with ESMTP id n0DKmfah032609	for
 <andy.sharp@onstor.com>; Tue, 13 Jan 2009 14:48:41 -0600
Received: from localhost.localdomain ([127.0.0.1]:36556 "EHLO
	ftp.linux-mips.org") by ftp.linux-mips.org with ESMTP	id S21364957AbZAMUsS
 (ORCPT <rfc822;andy.sharp@onstor.com>);	Tue, 13 Jan 2009 20:48:18 +0000
Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 13 Jan 2009 20:48:01
 +0000 (GMT)
Received: from mail3.caviumnetworks.com ([12.108.191.235]:7732 "EHLO
	mail3.caviumnetworks.com") by ftp.linux-mips.org with ESMTP	id
 S21364955AbZAMUr4 (ORCPT <rfc822;linux-mips@linux-mips.org>);	Tue, 13 Jan
 2009 20:47:56 +0000
Received: from exch4.caveonetworks.com (Not Verified[192.168.16.23]) by
 mail3.caviumnetworks.com with MailMarshal (v6,2,2,3503)	id <B496cfde90000>;
 Tue, 13 Jan 2009 15:47:41 -0500
Received: from exch4.caveonetworks.com ([192.168.16.23]) by
 exch4.caveonetworks.com with Microsoft SMTPSVC(6.0.3790.3959);	 Tue, 13 Jan
 2009 12:46:50 -0800
Received: from dd1.caveonetworks.com ([64.169.86.201]) by
 exch4.caveonetworks.com over TLS secured channel with Microsoft
 SMTPSVC(6.0.3790.3959);	 Tue, 13 Jan 2009 12:46:49 -0800
Received: from dd1.caveonetworks.com (localhost.localdomain [127.0.0.1])	by
 dd1.caveonetworks.com (8.14.2/8.14.2) with ESMTP id n0DKkjuw030165;	Tue, 13
 Jan 2009 12:46:45 -0800
Received: (from ddaney@localhost)	by dd1.caveonetworks.com
 (8.14.2/8.14.2/Submit) id n0DKki0V030163;	Tue, 13 Jan 2009 12:46:44 -0800
From: David Daney <ddaney@caviumnetworks.com>
To: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>
CC: David Daney <ddaney@caviumnetworks.com>
Sender: "linux-mips-bounce@linux-mips.org" <linux-mips-bounce@linux-mips.org>
Date: Tue, 13 Jan 2009 12:46:44 -0800
Subject: [PATCH] 8250: Initialize more fields in early_serial_setup.
Thread-Topic: [PATCH] 8250: Initialize more fields in early_serial_setup.
Thread-Index: Acl1wFBoODKUl+qdSY6Q7LjNgW/bSQ==
Message-ID: <1231879604-30140-1-git-send-email-ddaney@caviumnetworks.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Exchange-Organization-AuthAs: Internal
X-MS-Exchange-Organization-AuthMechanism: 0b
X-MS-Exchange-Organization-AuthSource: exch1.onstor.net
X-MS-Has-Attach:
X-Auto-Response-Suppress: All
X-MS-TNEF-Correlator:
x-originalarrivaltime: 13 Jan 2009 20:46:49.0639 (UTC)
 FILETIME=[0EA14370:01C975C0]
errors-to: linux-mips-bounce@linux-mips.org
x-ems-proccessed: 2K3Xl1OQTInXD6xxuA8z3Q==
x-ems-stamp: G86Qq0wTm/suu3/SRh+Wcg==
x-messageone-virus-version: vendor=fsecure
 engine=4.65.7400:2.4.4,1.2.40,4.0.164
 definitions=2009-01-13_08:2009-01-08,2009-01-13,2009-01-13 signatures=0
x-messageone-virus-scanned: Clean
x-messageone-envelope-sender: linux-mips-bounce@linux-mips.org
x-messageone-spam-details: rule=m773emszm_notspam policy=m773emszm score=31
 spamscore=31 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam
 adjust=0 reason=mlx engine=3.1.0-0810130000 definitions=main-0901130146
x-messageone-spam-score: 31
x-messageone-spam-bar: ****
x-list: linux-mips
x-archive-position: 21732
x-ecartis-version: Ecartis v1.0.0
x-original-sender: ddaney@caviumnetworks.com
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

The initial patch that initialized the fields individually omitted a
couple that evidently are required by mips/rb532.  This should fix it.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
---
 drivers/serial/8250.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c
index 1889a63..e2c3a85 100644
--- a/drivers/serial/8250.c
+++ b/drivers/serial/8250.c
@@ -2837,6 +2837,8 @@ int __init early_serial_setup(struct uart_port *port)
 	p->regshift     =3D port->regshift;
 	p->iotype       =3D port->iotype;
 	p->flags        =3D port->flags;
+	p->type		=3D port->type;
+	p->line		=3D port->line;
 	p->mapbase      =3D port->mapbase;
 	p->private_data =3D port->private_data;
=20
--=20
1.5.6.6


