From owner-freebsd-questions Wed Aug 29 0:27:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp017.mail.yahoo.com (smtp017.mail.yahoo.com [216.136.174.114]) by hub.freebsd.org (Postfix) with SMTP id 9315C37B403 for ; Wed, 29 Aug 2001 00:27:14 -0700 (PDT) (envelope-from fatalloy@yahoo.com) Received: from unknown (HELO alloy) (61.170.141.106) by smtp.mail.vip.sc5.yahoo.com with SMTP; 29 Aug 2001 07:27:13 -0000 X-Apparently-From: Date: Wed, 29 Aug 2001 15:26:34 +0800 From: Fat Alloy To: freebsd-questions@freebsd.org Subject: __about device_shutdown of PCI device Message-Id: <20010829151611.C5A3.FATALLOY@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.00.03 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hello everyone when i try to write a PCI device driver according to the URL http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/pci.html i found attach() and detach() function will be executed when i load and unload the module, because i can see the printf() function is executed. but when i shutdown the computer, it seems the shutdown() function is not executed, because i can't see the print message. what wrong? thanks a lot -- I am slim but they all call me fat alloy ^O^ Fat Alloy _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message