NetBSD Problem Report #28228

From darkstar@city-net.com  Thu Nov 11 21:24:43 2004
Return-Path: <darkstar@city-net.com>
Received: from goku.city-net.com (mail.city-net.com [198.144.32.6])
	by narn.netbsd.org (Postfix) with ESMTP id E0A5F251EB8
	for <gnats-bugs@gnats.netbsd.org>; Thu, 11 Nov 2004 21:24:42 +0000 (UTC)
Message-Id: <Pine.BSF.4.51.0411111623210.25481@vegeta.city-net.com>
Date: Thu, 11 Nov 2004 16:24:24 -0500 (EST)
From: Matthew Orgass <darkstar@city-net.com>
To: gnats-bugs@gnats.netbsd.org
Subject: PCMCIA support for Clio C-1050

>Number:         28228
>Category:       port-hpcmips
>Synopsis:       PCMCIA support for Clio C-1050
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-hpcmips-maintainer
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 11 21:25:00 +0000 2004
>Closed-Date:    Thu Dec 29 16:30:18 +0000 2016
>Last-Modified:  Thu Dec 29 16:30:18 +0000 2016
>Originator:     darkstar@city-net.com
>Release:        NetBSD 2.0_RC4
>Organization:
>Environment:

>Description:

  The Clio C-1050 needs a isaportoffset of 0 for PCMCIA to function.  Pbsdboot
and hpcboot also incorrectly identify the C-1050 as the Sharp Tripad.  (For
anyone wanting to use the 1050 kernel patches before the boot loaders are
updated, the machine id (right id box in pbsdboot) is 02810102).

  For some reason, 1.6 kernels would attach pcic at the incorrect address (but
trying to use it would hang the system).  This does not happen in 2.0_RC4.

>How-To-Repeat:

>Fix:

Index: sys/arch/hpcmips/conf/GENERIC
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcmips/conf/GENERIC,v
retrieving revision 1.145.2.3
diff -u -r1.145.2.3 GENERIC
--- sys/arch/hpcmips/conf/GENERIC	15 Jul 2004 20:19:16 -0000	1.145.2.3
+++ sys/arch/hpcmips/conf/GENERIC	11 Nov 2004 21:10:37 -0000
@@ -314,7 +314,8 @@
 # Vadem Clio and Sharp Tripad
 #
 vrisab3	at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000
-vrisab3	at vrgiu? platform VADEM_CLIO_C isaportoffset 0x1000000
+vrisab3	at vrgiu? platform VADEM_CLIO_C1000 isaportoffset 0x1000000
+vrisab3	at vrgiu? platform VADEM_CLIO_C1050 isaportoffset 0x0
 isa3	at vrisab3
 pcic0	at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003

Index: sys/arch/hpcmips/conf/MPC303
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcmips/conf/MPC303,v
retrieving revision 1.25.2.2
diff -u -r1.25.2.2 MPC303
--- sys/arch/hpcmips/conf/MPC303	15 Jul 2004 20:16:56 -0000	1.25.2.2
+++ sys/arch/hpcmips/conf/MPC303	11 Nov 2004 21:10:38 -0000
@@ -373,7 +373,8 @@
 # Vadem Clio and Sharp Tripad
 #
 vrisab3	at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000
-vrisab3	at vrgiu? platform VADEM_CLIO_C isaportoffset 0x1000000
+vrisab3	at vrgiu? platform VADEM_CLIO_C1000 isaportoffset 0x1000000
+vrisab3	at vrgiu? platform VADEM_CLIO_C1050 isaportoffset 0x0
 isa3	at vrisab3
 pcic0	at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003

Index: sys/arch/hpcmips/conf/VR41XX
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcmips/conf/VR41XX,v
retrieving revision 1.16.2.2
diff -u -r1.16.2.2 VR41XX
--- sys/arch/hpcmips/conf/VR41XX	15 Jul 2004 20:17:31 -0000	1.16.2.2
+++ sys/arch/hpcmips/conf/VR41XX	11 Nov 2004 21:10:39 -0000
@@ -302,7 +302,8 @@
 # Vadem Clio and Sharp Tripad
 #
 vrisab3	at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000
-vrisab3	at vrgiu? platform VADEM_CLIO_C isaportoffset 0x1000000
+vrisab3	at vrgiu? platform VADEM_CLIO_C1000 isaportoffset 0x1000000
+vrisab3	at vrgiu? platform VADEM_CLIO_C1050 isaportoffset 0x0
 isa3	at vrisab3
 pcic0	at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003


Index: sys/arch/hpcmips/stand/pbsdboot/main.c
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcmips/stand/pbsdboot/main.c,v
retrieving revision 1.59
diff -u -r1.59 main.c
--- sys/arch/hpcmips/stand/pbsdboot/main.c	17 Nov 2003 10:07:58 -0000	1.59
+++ sys/arch/hpcmips/stand/pbsdboot/main.c	11 Nov 2004 04:48:17 -0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: main.c,v 1.59 2003/11/17 10:07:58 keihan Exp $	*/
+ /*	$NetBSD: main.c,v 1.59 2003/11/17 10:07:58 keihan Exp $	*/

 /*-
  * Copyright (c) 1999, 2000 Shin Takemura.
@@ -257,7 +257,7 @@
 		PLATID_CPU_MIPS_VR_4111, PLATID_MACH_SHARP_TRIPAD_PV6000 },
 	{ TEXT("Vadem Clio C-1050"), BIFB_D16_FFFF,
 		640, 480, 1280, 0xa200000,
-		PLATID_CPU_MIPS_VR_4121, PLATID_MACH_SHARP_TRIPAD_PV6000 },
+		PLATID_CPU_MIPS_VR_4121, PLATID_MACH_VADEM_CLIO_C1050 },
 	{ TEXT("E-55"), BIFB_D2_M2L_0,
 		240, 320, 256, 0xa000000,
 		PLATID_CPU_MIPS_VR_4111, PLATID_MACH_CASIO_CASSIOPEIAE_E55 },


Index: sys/arch/hpc/stand/hpcboot/machine_config.cpp
===================================================================
RCS file: /cvsroot/src/sys/arch/hpc/stand/hpcboot/machine_config.cpp,v
retrieving revision 1.8
diff -u -r1.8 machine_config.cpp
--- sys/arch/hpc/stand/hpcboot/machine_config.cpp	18 Dec 2003 12:21:36 -0000	1.8
+++ sys/arch/hpc/stand/hpcboot/machine_config.cpp	11 Nov 2004 21:18:06 -0000
@@ -69,6 +69,7 @@
 	{ PLATID_CPU_MIPS_VR_4111, PLATID_MACH_NEC_MCR_500A                ,        8,      640,      240,     1024, 0xb3000000 },
 	{ PLATID_CPU_MIPS_VR_4111, PLATID_MACH_NEC_MCR_FORDOCOMO           ,        2,      640,      240,      256, 0xaa000000 },
 	{ PLATID_CPU_MIPS_VR_4111, PLATID_MACH_SHARP_TRIPAD_PV6000         ,        8,      640,      480,      640, 0xaa000000 },
+	{ PLATID_CPU_MIPS_VR_4111, PLATID_MACH_VADEM_CLIO_C1000            ,        8,      640,      480,      640, 0xaa000000 },
 	{ PLATID_CPU_MIPS_VR_4121, PLATID_MACH_CASIO_CASSIOPEIAE_E100      ,       16,      240,      320,      512, 0xaa200000 },
 	{ PLATID_CPU_MIPS_VR_4121, PLATID_MACH_CASIO_CASSIOPEIAE_E500      ,       16,      240,      320,      512, 0xaa200000 },
 	{ PLATID_CPU_MIPS_VR_4121, PLATID_MACH_CASIO_POCKETPOSTPET_POCKETPOSTPET,  16,      320,      240,     1024, 0xaa200000 },
@@ -92,7 +93,7 @@
 	{ PLATID_CPU_MIPS_VR_4121, PLATID_MACH_NEC_MCR_730A                ,       16,      800,      600,     1600, 0xaa0ea600 },
 	{ PLATID_CPU_MIPS_VR_4121, PLATID_MACH_NEC_MCR_SIGMARION           ,       16,      640,      240,     1280, 0xaa000000 },
 	{ PLATID_CPU_MIPS_VR_4131, PLATID_MACH_NEC_MCR_SIGMARION2          ,       16,      640,      240,     1280, 0xb0800000 },
-	{ PLATID_CPU_MIPS_VR_4121, PLATID_MACH_SHARP_TRIPAD_PV6000         ,       16,      640,      480,     1280, 0xaa200000 },
+	{ PLATID_CPU_MIPS_VR_4121, PLATID_MACH_VADEM_CLIO_C1050            ,       16,      640,      480,     1280, 0xaa200000 },
         { PLATID_CPU_MIPS_VR_4121, PLATID_MACH_FUJITSU_PENCENTRA_130       ,        8,      640,      480,      640, 0xb0201e00 },
 	{ PLATID_CPU_MIPS_VR_4122, PLATID_MACH_VICTOR_INTERLINK_MPC303     ,       16,      800,      600,        0, 0x00000000 },
 	// TX39 (can't determine frame buffer address)
>Release-Note:

>Audit-Trail:
From: Izumi Tsutsui <tsutsui@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/28228 CVS commit: src/sys/arch/hpcmips/conf
Date: Tue, 28 Mar 2006 14:26:56 +0000 (UTC)

 Module Name:	src
 Committed By:	tsutsui
 Date:		Tue Mar 28 14:26:56 UTC 2006

 Modified Files:
 	src/sys/arch/hpcmips/conf: GENERIC MPC303 VR41XX

 Log Message:
 Fix isaportoffset for SHARP_TRIPAD and VADEM_CLIO_C.
 Patch from Matthew Orgass on port-hpcmips, as part of PR port-hpcmips/28228.


 To generate a diff of this commit:
 cvs rdiff -r1.184 -r1.185 src/sys/arch/hpcmips/conf/GENERIC
 cvs rdiff -r1.42 -r1.43 src/sys/arch/hpcmips/conf/MPC303
 cvs rdiff -r1.36 -r1.37 src/sys/arch/hpcmips/conf/VR41XX

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: skrll@NetBSD.org
State-Changed-When: Thu, 29 Dec 2016 16:30:18 +0000
State-Changed-Why:
patch committed 10years agao


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.