From dds@istlab.dmst.aueb.gr  Fri Dec 13 09:17:15 2002
Return-Path: <dds@istlab.dmst.aueb.gr>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BBEA537B401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 13 Dec 2002 09:17:15 -0800 (PST)
Received: from istlab.dmst.aueb.gr (istlab.dmst.aueb.gr [195.251.253.207])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B282B43EB2
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 13 Dec 2002 09:17:14 -0800 (PST)
	(envelope-from dds@istlab.dmst.aueb.gr)
Received: from istlab.dmst.aueb.gr (localhost [127.0.0.1])
	by istlab.dmst.aueb.gr (8.12.6/8.12.6) with ESMTP id gBDHH84c058291
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 13 Dec 2002 19:17:08 +0200 (EET)
	(envelope-from dds@istlab.dmst.aueb.gr)
Received: (from dds@localhost)
	by istlab.dmst.aueb.gr (8.12.6/8.12.6/Submit) id gBDHH72A058290;
	Fri, 13 Dec 2002 19:17:07 +0200 (EET)
Message-Id: <200212131717.gBDHH72A058290@istlab.dmst.aueb.gr>
Date: Fri, 13 Dec 2002 19:17:07 +0200 (EET)
From: "Diomidis D. Spinellis" <dds@istlab.dmst.aueb.gr>
Reply-To: "Diomidis D. Spinellis" <dds@istlab.dmst.aueb.gr>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [code] Driver for the PCL-724 ISA card
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         46238
>Category:       i386
>Synopsis:       [code] Driver for the PCL-724 ISA card
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dds
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 13 09:20:01 PST 2002
>Closed-Date:    Thu Apr 07 21:54:23 GMT 2005
>Last-Modified:  Thu Apr 07 21:54:23 GMT 2005
>Originator:     Diomidis D. Spinellis
>Release:        FreeBSD 4.7-RELEASE-p1 i386
>Organization:
Athens University of Economics and Business
>Environment:
System: FreeBSD istlab.dmst.aueb.gr 4.7-RELEASE-p1 FreeBSD 4.7-RELEASE-p1 #6: Tue Oct 29 00:47:36 EET 2002 dds@istlab.dmst.aueb.gr:/usr/obj/usr/src/sys/ISTLAB i386


>Description:
The source files in http://www.dmst.aueb.gr/dds/sw/ifurnace/#pbio
comprise a FreeBSD device driver and its documentation for the
Adaptec PCL-724 card. The PCL-724 card emulates the Intel 8255A
programmable peripheral interface chip running in mode 0 (simple
I/O). It provides two 8-bit ports (port A and port B) and two 4-bit
ports (port C upper, port C lower). Each port can be individually
programmed for input and (latched) output and appears at a different
offset of the device's base I/O address. A separate register allows
the configuration of ports for input or output. The device is so
simple, that reliably probing for it when input data arrives at its
terminals is impossible; therefore the kernel configuration has to
specify the device's base address. The device driver provides four
character devices that correspond to the card's I/O ports. Opening
a device for read or write, automatically configures the corresponding
hardware port for input or output. Initially all ports are set for
input to avoid damaging external circuitry. A set of ioctl requests
allow polled input and paced output to be efficiently performed at
the driver level without expensive user/kernel context switching.

>How-To-Repeat:

>Fix:
Add the following to the FreeBSD distribution:
http://www.dmst.aueb.gr/dds/sw/ifurnace/pbio.c (driver)
http://www.dmst.aueb.gr/dds/sw/ifurnace/pbioio.h (ioctl definitions)
http://www.dmst.aueb.gr/dds/sw/ifurnace/pbio.4 (documentation)

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->dds@FreeBSD.org 
Responsible-Changed-By: dds 
Responsible-Changed-When: Fri Jun 20 15:03:07 PDT 2003 
Responsible-Changed-Why:  
Assignment to responsible party.  



http://www.freebsd.org/cgi/query-pr.cgi?pr=46238 
Responsible-Changed-From-To: dds@FreeBSD.org->dds 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Aug 30 21:17:27 GMT 2004 
Responsible-Changed-Why:  
canonicalize Responsible. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=46238 
State-Changed-From-To: open->feedback 
State-Changed-By: dds 
State-Changed-When: Thu Oct 7 11:57:17 GMT 2004 
State-Changed-Why:  
Changes committed to RELENG_4. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=46238 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Apr 7 21:53:43 GMT 2005 
State-Changed-Why:  
Changes already committed to RELENG_4. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=46238 
>Unformatted:
