From owner-freebsd-hackers Thu Jan 11 11:12: 0 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from email_server.midstream.com (unknown [63.113.115.195]) by hub.freebsd.org (Postfix) with ESMTP id 3B4CA37B400; Thu, 11 Jan 2001 11:11:30 -0800 (PST) Received: by EMAIL_SERVER with Internet Mail Service (5.5.2650.21) id ; Thu, 11 Jan 2001 11:13:47 -0800 Message-ID: <31E4B6337A4FD411BD45000102472E0C05E724@EMAIL_SERVER> From: Jeff Roberson To: 'Jeff Fellin' , freebsd-hackers@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: RE: PCI interface Date: Thu, 11 Jan 2001 11:13:42 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C07C02.9F7442E0" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C07C02.9F7442E0 Content-Type: text/plain; charset="iso-8859-1" The Daemon News has a decent article on the new device driver framework. The article is at http://www.daemonnews.org/200007/newbus-intro.html. Jeff -----Original Message----- From: Jeff Fellin [mailto:jkf@research.bell-labs.com] Sent: Thursday, January 11, 2001 10:48 AM To: freebsd-hackers@FreeBSD.org; freebsd-questions@FreeBSD.org Subject: PCI interface This is posted on hackers and questions mailing lists. I am porting a PCI device driver from BSD 3.1 to current. I noticed the interfaces for the PCI support functions has changed. I have looked at the hackers, questions, current mail lists and cannot find any description of the interface changes for the PCI system. I have noticed some drivers have a COMPAT_OLDPCI, but that isn't a supported config option. Is there a description of how to convert the old pci support function interface into the current pci support funtion interface that someone could point me to. If not, is there a description of the current pci support function interface. I need to memory map two board regions, board registers and board memory, and to access the PCI configuration registers. Thank you in advance. Jeff Fellin MH 2A-352 (908) 582-7673 fellin@lucent.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message ------_=_NextPart_001_01C07C02.9F7442E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: PCI interface

The Daemon News has a decent article on the new = device driver framework.  The article is at http://www.daemonnews.org/200007/newbus-intro.html= .

Jeff

-----Original Message-----
From: Jeff Fellin [mailto:jkf@research.bell-labs= .com]
Sent: Thursday, January 11, 2001 10:48 AM
To: freebsd-hackers@FreeBSD.org; = freebsd-questions@FreeBSD.org
Subject: PCI interface



This is posted on hackers and questions mailing = lists.


I am porting a PCI device driver from BSD 3.1 to = current. I noticed
the interfaces for the PCI support functions has = changed. I have
looked at the hackers, questions, current mail lists = and cannot
find any description of the interface changes for = the PCI system.

I have noticed some drivers have a COMPAT_OLDPCI, but = that isn't
a supported config option.

Is there a description of how to convert the old pci = support
function interface into the current pci support = funtion interface
that someone could point me to. If not, is there a = description of
the current pci support function interface.

I need to memory map two board regions, board = registers and
board memory, and to access the PCI configuration = registers.

Thank you in advance.


        Jeff = Fellin
        MH = 2A-352
        (908) = 582-7673
        fellin@lucent.com


To Unsubscribe: send mail to = majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the = body of the message

------_=_NextPart_001_01C07C02.9F7442E0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message