All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Courtier-Dutton <James@superbug.co.uk>
To: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Alsa driver PCMCIA question.
Date: Thu, 21 Apr 2005 22:33:09 +0100	[thread overview]
Message-ID: <42681C15.1020709@superbug.co.uk> (raw)

I have a PCMCIA sound card that as soon as I insert it, it appears as a
PCI device, and lspci lists it.
It even appears if cardmgr is not running.
pci commands work on it.
e.g.
 pci_read_config_byte(pci, PCI_REVISION_ID, &revision);

and
port = pci_resource_start(pci, 0);

does return the base port io for the card, as listed by lspci.

The problem comes when I do:
value = inl(port);

The whole PC just hangs at that point, and I have to reboot it.

Is there some extra api calls I have to make in order to get the inl()
command to work?

James


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

                 reply	other threads:[~2005-04-21 21:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=42681C15.1020709@superbug.co.uk \
    --to=james@superbug.co.uk \
    --cc=alsa-devel@lists.sourceforge.net \
    /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.