From owner-freebsd-arch@FreeBSD.ORG Thu Jan 22 13:31:45 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1707A16A4CE for ; Thu, 22 Jan 2004 13:31:45 -0800 (PST) Received: from dswu83.btconnect.com (dswu83.btconnect.com [193.113.154.14]) by mx1.FreeBSD.org (Postfix) with SMTP id D966E43D39 for ; Thu, 22 Jan 2004 13:31:40 -0800 (PST) (envelope-from BPICKLES@btconnect.com) Received: from sdlbase (actually host 117.152.134.81.in-addr.arpa) by dswu83 with SMTP-CUST (XT-PP) with ESMTP; Thu, 22 Jan 2004 21:31:38 +0000 Message-ID: <01b701c3e130$0ca90870$1d02a8c0@sdlbase> From: "Bob Pickles" To: "Poul-Henning Kamp" References: <2146.1074805732@critter.freebsd.dk> Date: Thu, 22 Jan 2004 21:38:13 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-arch@freebsd.org Subject: Re: Device Driver Deleopment X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Bob Pickles List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2004 21:31:45 -0000 Poul I looked at other drivers and this has done the job... it installs now. I should have done this before. Many Thanks Bob ----- Original Message ----- From: "Poul-Henning Kamp" To: "Bob Pickles" Cc: Sent: Thursday, January 22, 2004 9:08 PM Subject: Re: Device Driver Deleopment > In message <018b01c3e12c$042b19d0$1d02a8c0@sdlbase>, "Bob Pickles" writes: > >Hi > > > >Looking for some help with FreeBSD 5.1, I am new to this but I am > >fairly quick to learn. > > > >Problem that I am having, is that in my device driver, it see's my PCI card, but when > >I call make_dev the system hangs, then resets. > > > >If I try to use mknod, then it fails also. Looked at the /dev mount and even devfs fails. > >Is there some form of protection here that I don't know about? > >How can I create a device on /dev? > > It sounds to me like you are calling make_dev() with wrong parameters, > all our other device drivers get this to work, so I suggest finding a > similar one and compare it to your own code. > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" > > ***This message has been scanned for virus, spam, and undesirable content.*** > ***For further information, contact your mail administrator.***