All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Edwards <edwardsg@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [PATCH]: TIOCX: Do not autoload TIOCX & FPGA drivers
Date: Fri, 20 May 2005 18:50:45 +0000	[thread overview]
Message-ID: <20050520185045.GE20644@sgi.com> (raw)
In-Reply-To: <20050520131215.19334.51045.sendpatchset@prarit.boston.redhat.com>

On Fri, May 20, 2005 at 09:12:29AM -0400, Prarit Bhargava wrote:
| [PATCH]: ia64/sn : Do not autoload TIOCX & FPGA driver
| 
| When built-in the TIOCX driver has functions exposed to the FPGA driver
| in the kernel.  If a TIOCX is not found, this can lead to an oops when the
| FPGA attempts to register against the TIOCX driver.
| 
| This fix makes found_tiocx_device a static int which is queried when FPGA
| driver(s) attempt to register against the TIOCX driver.  The functions
| cx_driver_register and cx_driver_unregister now return -ENODEV and NULL
| respectively if nr_tiocx_found = 0, preventing the FPGA driver from loading.

Let's hold off on this until we understand the problem a little better.
This seems to be dependent on config settings.  For example, it works fine
to have TIOCX and MBCS compiled statically if the kernel is compiled
CONFIG_IA64_SGI_SN2.

Greg

      reply	other threads:[~2005-05-20 18:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-20 13:12 [PATCH]: TIOCX: Do not autoload TIOCX & FPGA drivers Prarit Bhargava
2005-05-20 18:50 ` Greg Edwards [this message]

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=20050520185045.GE20644@sgi.com \
    --to=edwardsg@sgi.com \
    --cc=linux-ia64@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 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.