Re: [PATCH 1/8] Char: istallion, convert to pci probing

From: Jiri Slaby
Date: Mon Nov 06 2006 - 06:48:25 EST


Rolf Eike Beer wrote:
> Jiri Slaby wrote:
>> istallion, convert to pci probing
>>
>> Use probing for pci devices. Change some __inits to __devinits to use these
>> functions in probe function. Create stli_cleanup_ports and move there
>> cleanup code from module_exit() code to not have duplicite cleanup code.
>>
>> Signed-off-by: Jiri Slaby <jirislaby@xxxxxxxxx>
>>
>> ---
>> commit b90798585707a33d1835b752a18f1ca3b6a7da7b
>> tree 7c99e2bcca81b25dc3ffdcf288b5a9c35433c098
>> parent 7e8fb7980d776e6a7c0bd84cc48b1cb9de139b8f
>> author Jiri Slaby <jirislaby@xxxxxxxxx> Sun, 29 Oct 2006 23:37:48 +0100
>> committer Jiri Slaby <jirislaby@xxxxxxxxx> Sat, 04 Nov 2006 18:26:39 +0059
>>
>> drivers/char/istallion.c | 116
>> +++++++++++++++++++++++++++------------------- 1 files changed, 67
>> insertions(+), 49 deletions(-)
>>
>> diff --git a/drivers/char/istallion.c b/drivers/char/istallion.c
>> index f07716b..9e73d0d 100644
>> --- a/drivers/char/istallion.c
>> +++ b/drivers/char/istallion.c
>> @@ -402,7 +402,6 @@ static int stli_eisamempsize = ARRAY_SIZ
>> /*
>> * Define the Stallion PCI vendor and device IDs.
>> */
>> -#ifdef CONFIG_PCI
>> #ifndef PCI_VENDOR_ID_STALLION
>> #define PCI_VENDOR_ID_STALLION 0x124d
>> #endif
>
> Remove that ifdef and define too. We _have_ the id in include/linux/pci_ids.h

Yup, you're right, I removed it in stallion, but not here, I'll post a patch.

thanks,
--
http://www.fi.muni.cz/~xslaby/ Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/