Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 4 Jun 2002 12:50:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 4 Jun 2002 12:50:14 -0400 Received: from [195.63.194.11] ([195.63.194.11]:35084 "EHLO mail.stock-world.de") by vger.kernel.org with ESMTP id ; Tue, 4 Jun 2002 12:49:28 -0400 Message-ID: <3CFCE1E2.1040906@evision-ventures.com> Date: Tue, 04 Jun 2002 17:50:58 +0200 From: Martin Dalecki User-Agent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.0rc3) Gecko/20020523 X-Accept-Language: en-us, pl MIME-Version: 1.0 To: Patrick Mochel CC: linux-kernel@vger.kernel.org Subject: Re: device model documentation 2/3 In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Patrick Mochel wrote: > Document 2: driver.txt > > This callback only verifies that there actually is supported hardware > present. It may allocate a driver-specific structure, but it should > not do any initialization of the hardware itself. The device-specific > structure may be stored in the device's driver_data field. > > int (*init) (struct device * dev); > > init is called during the binding stage. It is called after probe has > successfully returned and the device has been registered with its > class. It is responsible for initializing the hardware. "init is called during the *attachment*." You see it even sounds more naturall. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/