From: Tonnerre <tonnerre@thundrix.ch>
To: Hanna Linder <hannal@us.ibm.com>
Cc: rth@twiddle.net, ink@jurassic.park.msu.ru,
linux-kernel@vger.kernel.org, greg@kroah.com, wli@holomorphy.com
Subject: Re: [RFT 2.6.9-rc1 alpha sys_sio.c] [2/2] convert pci_find_device to pci_get_device
Date: Tue, 14 Sep 2004 02:29:33 +0200 [thread overview]
Message-ID: <20040914002933.GA20390@thundrix.ch> (raw)
In-Reply-To: <806430000.1095118643@w-hlinder.beaverton.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 1267 bytes --]
Salut,
On Mon, Sep 13, 2004 at 04:37:23PM -0700, Hanna Linder wrote:
> diff -Nrup linux-2.6.9-rc1/arch/alpha/kernel/sys_sio.c linux-2.6.9-rc1-alpha/arch/alpha/kernel/sys_sio.c
> --- linux-2.6.9-rc1/arch/alpha/kernel/sys_sio.c 2004-08-13 22:36:12.000000000 -0700
> +++ linux-2.6.9-rc1-alpha/arch/alpha/kernel/sys_sio.c 2004-09-13 16:04:58.135130904 -0700
> @@ -105,7 +105,7 @@ sio_collect_irq_levels(void)
> struct pci_dev *dev = NULL;
>
> /* Iterate through the devices, collecting IRQ levels. */
> - while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {
> + while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {
> if ((dev->class >> 16 == PCI_BASE_CLASS_BRIDGE) &&
> (dev->class >> 8 != PCI_CLASS_BRIDGE_PCMCIA))
> continue;
> @@ -229,7 +229,7 @@ alphabook1_init_pci(void)
> */
>
> dev = NULL;
> - while ((dev = pci_find_device(PCI_VENDOR_ID_NCR, PCI_ANY_ID, dev))) {
> + while ((dev = pci_get_device(PCI_VENDOR_ID_NCR, PCI_ANY_ID, dev))) {
> if (dev->device == PCI_DEVICE_ID_NCR_53C810
> || dev->device == PCI_DEVICE_ID_NCR_53C815
> || dev->device == PCI_DEVICE_ID_NCR_53C820
Don't we need to put these devices in some place?
Tonnerre
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-09-14 0:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-13 23:37 [RFT 2.6.9-rc1 alpha sys_sio.c] [2/2] convert pci_find_device to pci_get_device Hanna Linder
2004-09-14 0:29 ` Tonnerre [this message]
2004-09-14 2:02 ` Richard Henderson
2004-09-14 2:21 ` Tonnerre
2004-09-14 16:37 ` Hanna Linder
-- strict thread matches above, loose matches on Subject: below --
2004-09-14 22:56 Judith Lebzelter
2004-09-14 23:11 ` Hanna Linder
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=20040914002933.GA20390@thundrix.ch \
--to=tonnerre@thundrix.ch \
--cc=greg@kroah.com \
--cc=hannal@us.ibm.com \
--cc=ink@jurassic.park.msu.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=rth@twiddle.net \
--cc=wli@holomorphy.com \
/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