From mboxrd@z Thu Jan 1 00:00:00 1970 From: shyam Date: Mon, 17 Jan 2005 14:42:58 +0000 Subject: Re: modules.pcimap Message-Id: <41EBCC22.8090504@multitech.co.in> List-Id: References: <41EB89A5.7040706@multitech.co.in> In-Reply-To: <41EB89A5.7040706@multitech.co.in> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org hi, I have implemented the driver using the new PCI driver structure.And I am able to load the module but I feel my probe routine does not seem to work. I feel the driver is not getting bound to the device at all. There is one more thing that I have come to know. Kay maybe you can understand my problem now. I see that the vendor ID for the Exar card is being supported by the 8250/16550 device driver part of the kernel. Hence I think that the this serial driver is getting control of the device and getting bound to it. Hence my driver can not probe the device now. Is there anyway other than recompiling the kernel without this driver which can override this kernel driver so that I can load my driver as module and register to the device. thanks, shyam Jan Zwiegers wrote: > Hi Shyam > > I have also just started on Linux Kernel 2.6 and went through a bit of > darkness to get my drivers going, so I might be able to help you. > 1) Have you used the new PCI driver structure to write your driver > (/Documentation/pci.txt & source>/Documentation/driver-model/driver.txt) > 2) Can you load an unload your driver successfully with depmod from > your source directory and any other directory? > 3) Have you install the driver under the correct directory under > /lib/modules//kernel/drivers/ ? > > Cheers > Jan > > shyam wrote: > >> Hi, >> I find that on doing depmod in /lib/modules/'uname-r'/ the >> modules.pcimap does not contain the serial PCI driver that I am >> implementing. My kernel version is 2.6.9-1.667 and I have >> module-init-tools-3.1-0.pre5.3 installed. I am not able to understand >> whether it the MODULE_DEVICE_TABLE that I am exporting that is >> creating the problem or it is a depmod bug. >> thanks in advance, >> shyam >> >> >> ------------------------------------------------------- >> The SF.Net email is sponsored by: Beat the post-holiday blues >> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >> _______________________________________________ >> Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net >> Linux-hotplug-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel >> > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net > Linux-hotplug-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel