From: Jiri Slaby <jirislaby@gmail.com>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: Greg KH <gregkh@suse.de>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-pci@atrey.karlin.mff.cuni.cz
Subject: Re: [PATCH 5/10] drivers/char: pci_find_device remove (drivers/char/specialix.c)
Date: Sat, 10 Sep 2005 23:00:34 +0200 [thread overview]
Message-ID: <43234972.3010003@gmail.com> (raw)
In-Reply-To: <43234860.7050206@pobox.com>
Jeff Garzik napsal(a):
> Jiri Slaby wrote:
>
>> Signed-off-by: Jiri Slaby <xslaby@fi.muni.cz>
>>
>> specialix.c | 9 ++++++---
>> 1 files changed, 6 insertions(+), 3 deletions(-)
>>
>> diff --git a/drivers/char/specialix.c b/drivers/char/specialix.c
>> --- a/drivers/char/specialix.c
>> +++ b/drivers/char/specialix.c
>> @@ -2502,9 +2502,9 @@ static int __init specialix_init(void)
>> i++;
>> continue;
>> }
>> - pdev = pci_find_device (PCI_VENDOR_ID_SPECIALIX,
>> - PCI_DEVICE_ID_SPECIALIX_IO8,
>> - pdev);
>> + pdev = pci_get_device (PCI_VENDOR_ID_SPECIALIX,
>> + PCI_DEVICE_ID_SPECIALIX_IO8,
>> + pdev);
>> if (!pdev) break;
>>
>> if (pci_enable_device(pdev))
>> @@ -2517,7 +2517,10 @@ static int __init specialix_init(void)
>> sx_board[i].flags |= SX_BOARD_IS_PCI;
>> if (!sx_probe(&sx_board[i]))
>> found ++;
>> +
>> }
>> + if (i >= SX_NBOARD)
>> + pci_dev_put(pdev);
>
>
> should be converted to PCI probing, rather than this.
I won't do that, i did that for 2 drivers and nobody was interested in
that (and its much time left for nothing). These (unrewritten) drivers
would be deleted in some time. Greg wants simply wipe this function out.
regards,
--
Jiri Slaby www.fi.muni.cz/~xslaby
~\-/~ jirislaby@gmail.com ~\-/~
241B347EC88228DE51EE A49C4A73A25004CB2A10
next prev parent reply other threads:[~2005-09-10 21:00 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-10 12:19 [PATCH 0/10] drivers/char: pci_find_device remove Jiri Slaby
2005-09-10 12:21 ` [PATCH 1/10] drivers/char: pci_find_device remove (drivers/char/ip2main.c) Jiri Slaby
2005-09-10 20:17 ` Jiri Slaby
2005-09-11 22:54 ` Jiri Slaby
2005-10-06 22:16 ` Jiri Slaby
2005-10-12 16:47 ` Jiri Slaby
2005-10-12 17:06 ` [PATCH 2.6.14-rc4] Maintainers one entry removed Jiri Slaby
2005-10-12 18:14 ` Michael Krufky
2005-10-12 18:56 ` Alan Cox
[not found] ` <4af2d03a0510121137h2c89ee1fw35109a41351a8b2e@mail.gmail.com>
2005-10-12 19:14 ` Michael H. Warfield
2005-10-12 20:09 ` Jiri Slaby
2005-10-12 20:46 ` David S. Miller
2005-10-12 19:52 ` Michael H. Warfield
2005-09-10 20:57 ` [PATCH 1/10] drivers/char: pci_find_device remove (drivers/char/ip2main.c) Jeff Garzik
2005-09-10 12:21 ` [PATCH 7/10] drivers/char: pci_find_device remove (drivers/char/sx.c) Jiri Slaby
2005-09-10 12:21 ` [PATCH 8/10] drivers/char: pci_find_device remove (drivers/char/watchdog/alim1535_wdt.c) Jiri Slaby
2005-09-10 12:21 ` [PATCH 9/10] drivers/char: pci_find_device remove (drivers/char/watchdog/alim7101_wdt.c) Jiri Slaby
2005-09-10 12:21 ` [PATCH 5/10] drivers/char: pci_find_device remove (drivers/char/specialix.c) Jiri Slaby
2005-09-10 20:19 ` Jiri Slaby
2005-10-06 22:20 ` Jiri Slaby
2005-09-10 20:56 ` Jeff Garzik
2005-09-10 21:00 ` Jiri Slaby [this message]
2005-09-10 21:17 ` Greg KH
2005-09-10 21:35 ` Jiri Slaby
2005-09-10 21:41 ` Jeff Garzik
2005-09-10 22:39 ` [PATCH] (i)stallion remove Jiri Slaby
2005-09-11 0:03 ` Alan Cox
2005-09-10 23:39 ` Matthew Wilcox
2005-09-11 0:10 ` Alan Cox
2005-09-12 1:39 ` Peter Chubb
2005-09-12 9:22 ` Jiri Slaby
2005-09-12 9:31 ` Christoph Hellwig
2005-09-10 21:38 ` [PATCH 5/10] drivers/char: pci_find_device remove (drivers/char/specialix.c) Jiri Slaby
2005-09-10 12:21 ` [PATCH 4/10] drivers/char: pci_find_device remove (drivers/char/rocket.c) Jiri Slaby
2005-09-10 20:56 ` Jeff Garzik
2005-09-10 12:21 ` [PATCH 3/10] drivers/char: pci_find_device remove (drivers/char/mxser.c) Jiri Slaby
2005-09-10 12:21 ` [PATCH 2/10] drivers/char: pci_find_device remove (drivers/char/istallion.c) Jiri Slaby
2005-09-10 12:21 ` [PATCH 6/10] drivers/char: pci_find_device remove (drivers/char/stallion.c) Jiri Slaby
2005-09-10 20:56 ` Jeff Garzik
2005-09-10 12:21 ` [PATCH 10/10] drivers/char: pci_find_device remove (drivers/char/watchdog/i8xx_tco.c) Jiri Slaby
2005-09-10 20:15 ` Jiri Slaby
2005-09-10 20:44 ` Nils Faerber
2005-09-10 20:58 ` Jeff Garzik
2005-09-10 22:00 ` Matthieu CASTET
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=43234972.3010003@gmail.com \
--to=jirislaby@gmail.com \
--cc=gregkh@suse.de \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@atrey.karlin.mff.cuni.cz \
/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