From: "Pekka Enberg" <penberg@cs.helsinki.fi>
To: "Greg KH" <greg@kroah.com>
Cc: "Bert Thomas" <bert@brothom.nl>, linux-kernel@vger.kernel.org
Subject: Re: PCI device driver writing newbie trouble
Date: Sun, 23 Apr 2006 10:50:38 +0300 [thread overview]
Message-ID: <84144f020604230050q71001601qadd7572a9fb169ba@mail.gmail.com> (raw)
In-Reply-To: <20060422060045.GA18067@kroah.com>
On Thu, Apr 20, 2006 at 04:04:07PM +0100, Bert Thomas wrote:
> > static const struct pci_device_id cif50_ids[] = {
> > {
> > .vendor = 0x10B5,
> > .device = 0x9050,
> > .subvendor = PCI_ANY_ID, //0x10B5,
> > .subdevice = PCI_ANY_ID, //0x1080,
> > .class = PCI_ANY_ID,
> > .class_mask = PCI_ANY_ID
> > },
On 4/22/06, Greg KH <greg@kroah.com> wrote:
> Try the PCI_DEVICE() macro here instead.
>
> But that should not matter, this should work, I don't know why it
> doesn't sorry.
No device class will ever match the above class and class_mask.
Changing them to zero makes it work according to Bert.
Pekka
next prev parent reply other threads:[~2006-04-23 7:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-20 15:04 Bert Thomas
2006-04-22 6:00 ` Greg KH
2006-04-23 7:50 ` Pekka Enberg [this message]
2006-04-23 16:02 ` Greg KH
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=84144f020604230050q71001601qadd7572a9fb169ba@mail.gmail.com \
--to=penberg@cs.helsinki.fi \
--cc=bert@brothom.nl \
--cc=greg@kroah.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
all inboxes | Powered by JetHome®