From owner-freebsd-hackers Sun May 24 23:12:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA27774 for freebsd-hackers-outgoing; Sun, 24 May 1998 23:12:37 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from antipodes.cdrom.com (castles213.castles.com [208.214.165.213]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA27746 for ; Sun, 24 May 1998 23:12:31 -0700 (PDT) (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id WAA10353; Sun, 24 May 1998 22:07:19 -0700 (PDT) Message-Id: <199805250507.WAA10353@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Chuck Robey cc: hackers@FreeBSD.ORG Subject: Re: devices In-reply-to: Your message of "Sun, 24 May 1998 23:14:21 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 24 May 1998 22:07:19 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Does anyone know how a device gets itself in the list to be probed? I > know how a device file gets into the kernel, and I see the probe > function, but I don't see what calls all the probe functions. The specifics depend on the device; for ISA/EISA/PCI/ppbus you use a DATA_SET declaration to make your _device structure visible. Pseudo-devices use a SYSINIT to call their establishment functions at the appropriate time. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message