From: shyam <shyamkumar@multitech.co.in>
To: linux-hotplug@vger.kernel.org
Subject: Re: modules.pcimap
Date: Mon, 17 Jan 2005 14:42:58 +0000 [thread overview]
Message-ID: <41EBCC22.8090504@multitech.co.in> (raw)
In-Reply-To: <41EB89A5.7040706@multitech.co.in>
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
> (<kernel source>/Documentation/pci.txt & <kernel
> 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 ver>/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
next prev parent reply other threads:[~2005-01-17 14:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-17 9:59 modules.pcimap shyam
2005-01-17 11:48 ` modules.pcimap Jan Zwiegers
2005-01-17 14:42 ` shyam [this message]
2005-01-17 18:25 ` modules.pcimap Greg KH
2005-01-18 20:35 ` modules.pcimap David Brownell
2005-01-18 20:43 ` modules.pcimap Greg KH
2005-01-19 6:23 ` modules.pcimap Jan Zwiegers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41EBCC22.8090504@multitech.co.in \
--to=shyamkumar@multitech.co.in \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).