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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>
>>
>> ---
>> commit b90798585707a33d1835b752a18f1ca3b6a7da7b
>> tree 7c99e2bcca81b25dc3ffdcf288b5a9c35433c098
>> parent 7e8fb7980d776e6a7c0bd84cc48b1cb9de139b8f
>> author Jiri Slaby <[email protected]> Sun, 29 Oct 2006 23:37:48 +0100
>> committer Jiri Slaby <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux