From owner-freebsd-stable Wed Jul 8 14:10:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA29231 for freebsd-stable-outgoing; Wed, 8 Jul 1998 14:10:55 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from mailhub.dgii.com (mailhub-n110.dgii.com [204.221.110.192]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA29226 for ; Wed, 8 Jul 1998 14:10:53 -0700 (PDT) (envelope-from "Robert_Wagner"@dgii.com) From: "Robert_Wagner"@dgii.com Received: from msp-ln01.dgii.com by mailhub.dgii.com (SMI-8.6/SMI-SVR4) id QAA03070; Wed, 8 Jul 1998 16:09:49 -0500 Received: by msp-ln01.dgii.com(Lotus SMTP MTA v4.6.1 (569.2 2-6-1998)) id 8625663B.00743CFE ; Wed, 8 Jul 1998 16:09:37 -0500 X-Lotus-FromDomain: DGII To: freebsd-stable@FreeBSD.ORG Message-ID: <8625663B.00742455.00@msp-ln01.dgii.com> Date: Wed, 8 Jul 1998 16:11:06 -0500 Subject: driver needs to read file when loading Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG when loading a pci driver I need to read in a firmware file for the filesystem and put it in a place in memory. Any suggestions on how I can open a file and read it into a buffer in the attach portion of the driver. This driver is an PCI LKM. Bob W. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message