From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752674AbXDHHmD (ORCPT ); Sun, 8 Apr 2007 03:42:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752668AbXDHHmC (ORCPT ); Sun, 8 Apr 2007 03:42:02 -0400 Received: from cacti.profiwh.com ([85.93.165.66]:47184 "EHLO smtp.wsc.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752674AbXDHHmA (ORCPT ); Sun, 8 Apr 2007 03:42:00 -0400 Message-ID: <46189CC6.2070004@gmail.com> Date: Sun, 08 Apr 2007 09:41:58 +0200 From: Jiri Slaby User-Agent: Thunderbird 2.0b2 (X11/20070116) MIME-Version: 1.0 To: "S. Vishnu Priya" Cc: linux-kernel@vger.kernel.org Subject: Re: pci card detection by kernel References: In-Reply-To: X-Enigmail-Version: 0.95b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org S. Vishnu Priya napsal(a): > > Dear All, > > I am new to this group. I was asked to write a device driver for a > new pci card. My doubt is, Kernel will detect a new pci card which is > attached to the system? Or how we can make the kernel to detect the new > card which is newly attached? I am using kernel 2.6.11.12. Please > suggest me regarding this. See drivers/*, search for pci_driver -- driver, probe, remove, suspend, resume and pci_device_id table. regards, -- http://www.fi.muni.cz/~xslaby/ Jiri Slaby faculty of informatics, masaryk university, brno, cz e-mail: jirislaby gmail com, gpg pubkey fingerprint: B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E