From owner-freebsd-hackers Mon Aug 6 23: 8:12 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 527B337B401 for ; Mon, 6 Aug 2001 23:08:10 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f77688l01164; Tue, 7 Aug 2001 00:08:08 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.4) with ESMTP id f77687111610; Tue, 7 Aug 2001 00:08:08 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200108070608.f77687111610@harmony.village.org> To: Assem Salama Subject: Re: detach Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Mon, 06 Aug 2001 12:16:37 EDT." <3B6EC2E5.CF2077FC@twcny.rr.com> References: <3B6EC2E5.CF2077FC@twcny.rr.com> Date: Tue, 07 Aug 2001 00:08:07 -0600 From: Warner Losh 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 In message <3B6EC2E5.CF2077FC@twcny.rr.com> Assem Salama writes: : Hello, : I have a question. I'm trying to make a module for a PCI card. My : problem is my 'detach' function never get's called when I unload the : module. Al my other functions get called correctly. Here is my source: Don't use uprintf in drivers. Use printf instead. Is DEBUG defined? Becuase I know that my detach routines are getting called and I define them just this way. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message