From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 14 03:00:21 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E399E16A41F for ; Wed, 14 Sep 2005 03:00:21 +0000 (GMT) (envelope-from nsrashmi@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B07543D49 for ; Wed, 14 Sep 2005 03:00:21 +0000 (GMT) (envelope-from nsrashmi@gmail.com) Received: by xproxy.gmail.com with SMTP id i27so57285wxd for ; Tue, 13 Sep 2005 20:00:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=pfTQHddDgWSgneSHB/soB50X0ShXyaVx5mGUhHs3NWapqlSRswLfsMWQP8Zvu75dVjTQtLNMDmD+jQ9ufHEenM0oKwPaXf1zPHMA6xtwtQfgusbAgvZGG48JS457ulpD3hTk2Koy3ZUbvb8hc2AYTF5F+e1hADmUBlgnPmC1AuA= Received: by 10.70.42.8 with SMTP id p8mr31533wxp; Tue, 13 Sep 2005 20:00:20 -0700 (PDT) Received: by 10.70.15.12 with HTTP; Tue, 13 Sep 2005 20:00:20 -0700 (PDT) Message-ID: <9f99931605091320002845705e@mail.gmail.com> Date: Wed, 14 Sep 2005 08:30:20 +0530 From: rashmi ns To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: PCI_MULTI FUNCTION DEVICE DRIVERS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nsrashmi@gmail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 03:00:22 -0000 Hello All, While writing a pci-driver for hdlc controller which has two functions=20 1.BRIDGE 2.Network Do we need to write two separate drivers for each class-code or how can a= =20 single driver manage two different functionalites .Are there any examples o= n=20 pci-multifunction drivers .I read in the documents that we need to use mbuf= =20 structure for multi-function devises are there any drivers which uses the= =20 same. Thanks in advance , Rashmi.N.S