From owner-freebsd-hackers Mon Nov 12 14:12:35 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from seven.Alameda.net (seven.Alameda.net [64.81.63.137]) by hub.freebsd.org (Postfix) with ESMTP id D8B1737B405 for ; Mon, 12 Nov 2001 14:12:28 -0800 (PST) Received: by seven.Alameda.net (Postfix, from userid 1000) id 813303A23B; Mon, 12 Nov 2001 14:12:28 -0800 (PST) Date: Mon, 12 Nov 2001 14:12:28 -0800 From: Ulf Zimmermann To: Julian Elischer Cc: Ulf Zimmermann , hackers@freebsd.org Subject: Re: Skeleton pseudo device driver for 4.4-STABLE ? Message-ID: <20011112141228.G8046@seven.alameda.net> Reply-To: ulf@Alameda.net References: <20011112122216.E8046@seven.alameda.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from julian@elischer.org on Mon, Nov 12, 2001 at 01:36:16PM -0800 Organization: Alameda Networks, Inc. X-Operating-System: FreeBSD 4.4-STABLE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Nov 12, 2001 at 01:36:16PM -0800, Julian Elischer wrote: > Try the one from -current.. > If it works maybe it should be MFC'd Nope, more or less same stuff: On 4.4-STABLE: # \$FreeBSD: src/share/examples/drivers/make_pseudo_driver.sh,v 1.5.2.1 2001/07/25 15:56:09 dd Exp $" From a fresh cvsuped -current: # \$FreeBSD: src/share/examples/drivers/make_pseudo_driver.sh,v 1.6 2001/05/01 09:14:45 schweikh Exp $" Last modification on -current is longer ago then on -STABLE. Both have the same symtons: playtoy root examples/drivers # sh make_pseudo_driver.sh els files.ELS: `device-driver' flag obsolete. make: don't know how to make depend. Stop make: don't know how to make els.o. Stop make: no target to make. Files created by the script: /usr/src/sys/i386/conf/ELS /usr/src/sys/i386/conf/files.ELS Diff of ELS to GENERIC: 1,3d0 < # Configuration file for kernel type: ELS < ident ELS < # $FreeBSD: src/share/examples/drivers/make_pseudo_driver.sh,v 1.6 2001/05/01 09:14:45 schweikh Exp $" 4a2 > # GENERIC -- Generic kernel configuration file for FreeBSD/i386 19a18 > # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.35 2001/09/27 17:43:06 alfred Exp $ 25a25 > ident GENERIC 251,253d250 < # trust me, you'll need this < options DDB < device els 4 # might as well allow 4 of them Contents of files.ELS: dev/els.c optional els device-driver > > julian > > On Mon, 12 Nov 2001, Ulf Zimmermann wrote: > > > I looked at /usr/share/examples/drivers/make_pseudo_driver.sh but it > > seems to be a bit out of date. Running it, it creates a file > > "files." in /usr/src/sys/i386/conf, where "files" doesn't > > exists there anymore. It also adds "device-driver" at the end of > > line which is obsolete as far I can tell. > > > > Anyone wanna give me a pointer at what to look at for a skeleton > > driver ? I got finaly an Digi Etherlite unit and want to see if > > I can port the linux driver. > > > > -- > > Regards, Ulf. > > > > --------------------------------------------------------------------- > > Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204 > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > > > -- Regards, Ulf. --------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message