NetBSD Problem Report #52868

From petar@starling.NGC068  Wed Dec 27 20:18:35 2017
Return-Path: <petar@starling.NGC068>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 440877A18E
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 27 Dec 2017 20:18:35 +0000 (UTC)
Message-Id: <20171227201830.E6CC8912516@starling.NGC068>
Date: Wed, 27 Dec 2017 21:18:30 +0100 (CET)
From: Petar Bogdanovic <petar@smokva.net>
To: gnats-bugs@gnats.NetBSD.org
Subject: Add support for Manhattan 158220 card
X-Send-Pr-Version: 3.95

>Number:         52868
>Category:       kern
>Synopsis:       Add support for Manhattan 158220 card
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 27 20:20:00 +0000 2017
>Closed-Date:    Sat Jan 13 05:58:37 +0000 2018
>Last-Modified:  Sat Jan 13 05:58:37 +0000 2018
>Originator:     Petar Bogdanovic
>Release:        NetBSD 8.0_BETA
>Organization:
-
>Environment:
NetBSD 8.0_BETA, amd64
>Description:
	puc(4) supports many NM9865 UART/LPT combinations but not the
	one I recently purchased (a single LPT card):
	http://www.manhattan-products.com/parallel-pci-card4
>How-To-Repeat:
-
>Fix:
--- sys/dev/pci/pucdata.c.orig	2017-12-27 20:45:45.000000000 +0100
+++ sys/dev/pci/pucdata.c	2017-12-27 20:49:24.000000000 +0100
@@ -879,6 +879,15 @@
 	    },
 	},

+	/* NetMos PCI NM9865 : 1P */
+	{   "NetMos NM9865 Single LPT",
+	    {	PCI_VENDOR_NETMOS, PCI_PRODUCT_NETMOS_NM9865, 0xa000, 0x2000 },
+	    {	0xffff,	0xffff,	0xffff,	0xffff	},
+	    {
+		{ PUC_PORT_TYPE_LPT, PCI_BAR0, 0x00, 0x00 },
+	    },
+	},
+
 	/* NetMos 2S PCI NM9865 : 2S */
 	{   "NetMos NM9865 2 UART",
 	    {	PCI_VENDOR_NETMOS, PCI_PRODUCT_NETMOS_NM9865, 0xa000, 0x3002 },

>Release-Note:

>Audit-Trail:
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52868 CVS commit: src/sys/dev/pci
Date: Wed, 27 Dec 2017 15:27:02 -0500

 Module Name:	src
 Committed By:	christos
 Date:		Wed Dec 27 20:27:02 UTC 2017

 Modified Files:
 	src/sys/dev/pci: pucdata.c

 Log Message:
 PR/52868: Petar Bogdanovic: Add support for Manhattan 158220 card


 To generate a diff of this commit:
 cvs rdiff -u -r1.99 -r1.100 src/sys/dev/pci/pucdata.c

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

State-Changed-From-To: open->pending-pullups
State-Changed-By: maya@NetBSD.org
State-Changed-When: Thu, 28 Dec 2017 06:25:33 +0000
State-Changed-Why:
pullup-8 #472, pullup-7 #1547


From: "Soren Jacobsen" <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52868 CVS commit: [netbsd-7] src/sys/dev/pci
Date: Wed, 3 Jan 2018 21:37:36 +0000

 Module Name:	src
 Committed By:	snj
 Date:		Wed Jan  3 21:37:36 UTC 2018

 Modified Files:
 	src/sys/dev/pci [netbsd-7]: pcidevs pucdata.c

 Log Message:
 Pull up following revision(s) (requested by maya in ticket #1547):
 	sys/dev/pci/pucdata.c: revision 1.99-1.100
 	sys/dev/pci/pcidevs: revision 1.1278
 Add Intel 200 series chipset devices from "Table 2-2. PCH-H Device and
 Revision ID Table, Intel 200 Series Chipset Family Platform Controller
 Hub(PCI) Datasheet Volume 1 of 2 (335192-001)".
 --
 Add Intel 200 series devices.
 --
 PR/52868: Petar Bogdanovic: Add support for Manhattan 158220 card


 To generate a diff of this commit:
 cvs rdiff -u -r1.1199.2.10 -r1.1199.2.11 src/sys/dev/pci/pcidevs
 cvs rdiff -u -r1.93.4.2 -r1.93.4.3 src/sys/dev/pci/pucdata.c

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

From: "Soren Jacobsen" <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52868 CVS commit: [netbsd-8] src/sys/dev/pci
Date: Sat, 13 Jan 2018 05:36:03 +0000

 Module Name:	src
 Committed By:	snj
 Date:		Sat Jan 13 05:36:03 UTC 2018

 Modified Files:
 	src/sys/dev/pci [netbsd-8]: pucdata.c

 Log Message:
 Pull up following revision(s) (requested by maya in ticket #472):
 	sys/dev/pci/pucdata.c: revision 1.100
 PR/52868: Petar Bogdanovic: Add support for Manhattan 158220 card


 To generate a diff of this commit:
 cvs rdiff -u -r1.99 -r1.99.8.1 src/sys/dev/pci/pucdata.c

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

State-Changed-From-To: pending-pullups->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sat, 13 Jan 2018 05:58:37 +0000
State-Changed-Why:
Pullups done, thanks for the patch!


>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-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.