All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Kisdaroczi <kisda@domain.hid>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-help] IXXAT-PCI-CAN driver hijacks my pci board
Date: Wed, 20 May 2009 13:25:51 +0200	[thread overview]
Message-ID: <4A13E8BF.3030703@domain.hid> (raw)
In-Reply-To: <4A13D9F6.30602@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 980 bytes --]

Hi Wolfgang,

Wolfgang Grandegger schrieb:
> [...]
>>> dmesg output, there is no IXXAT-PCI-CAN board installed:
>>>> RT-Socket-CAN 0.90.2 - (C) 2006 RT-Socket-CAN Development Team
>>>> RTCAN SJA1000 driver initialized
>>>> PCI: setting IRQ 12 as level-triggered
>>>> IXXAT-PCI-CAN 0000:00:11.0: found PCI INT A -> IRQ 12
>>>> IXXAT-PCI-CAN: Initializing device 10b5:9050:2503
> 
> OK, it finding a variant of the PLX9050, but it will not use the device  
> because of the following lines after the above printout:
> 
>     if (sub_sys_id != IXXAT_PCI_SUB_SYS_ID)
>              return -ENODEV;
>                 
> But ...
> 
>>> The following patch fixed it for me (my own driver loads again).
> 
> ... obviously it does  not probe again.

it probes again, but pci_request_regions() failed in my driver.

In the -ENODEV case, the function pci_release_regions() is not
called in the ixxat driver, so access is blocked for other drivers.

Stefan




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  parent reply	other threads:[~2009-05-20 11:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-05 19:04 [Xenomai-help] IXXAT-PCI-CAN driver hijacks my pci board Stefan Kisdaroczi
2009-05-20  9:42 ` [Xenomai-core] " Philippe Gerum
2009-05-20 10:22   ` Wolfgang Grandegger
2009-05-20 10:36     ` Wolfgang Grandegger
2009-05-20 10:40       ` Philippe Gerum
2009-05-25  7:36         ` Wolfgang Grandegger
2009-05-20 11:25     ` Stefan Kisdaroczi [this message]
2009-05-21  7:39       ` Wolfgang Grandegger
2009-05-22  8:16         ` Sebastian Smolorz
2009-05-22 15:13           ` Wolfgang Grandegger
2009-05-22 15:20             ` Sebastian Smolorz

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=4A13E8BF.3030703@domain.hid \
    --to=kisda@domain.hid \
    --cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.