mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Alexander Sirotkin <demiurg@ti.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: cardbus/pci question
Date: Tue, 6 Jul 2004 14:00:00 +0100	[thread overview]
Message-ID: <20040706140000.A15348@flint.arm.linux.org.uk> (raw)
In-Reply-To: <40EA9B31.3000404@ti.com>; from demiurg@ti.com on Tue, Jul 06, 2004 at 03:29:37PM +0300

On Tue, Jul 06, 2004 at 03:29:37PM +0300, Alexander Sirotkin wrote:
> I could not find any information on this in the archives, so I thought I 
> might ask it here.
> 
> Theoretically, it should be possible to write cardbus driver as a 
> regular PCI driver.

In Linux, a cardbus driver is exactly the same as a regular PCI driver.
There is no difference.  You get all the resources (device BARs) and
interrupts from the pci device structure, just like a regular PCI
driver.

There's no need to fiddle with the cardbus bridge at all.  In fact,
we'll scream at you if you attempt to do that because its a violation
of the system layering.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core

      reply	other threads:[~2004-07-06 13:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-06 12:29 Alexander Sirotkin
2004-07-06 13:00 ` Russell King [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=20040706140000.A15348@flint.arm.linux.org.uk \
    --to=rmk+lkml@arm.linux.org.uk \
    --cc=demiurg@ti.com \
    --cc=linux-kernel@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

Powered by JetHome