Search Linux Wireless

Re: [PATCH 11/30] iwlwifi: using PCI_DEVICE macro

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

 



> >  struct pci_device_id iwl_hw_card_ids[] = {
> > -	{0x8086, 0x4222, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
> > -	{0x8086, 0x4227, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
> > +	{PCI_DEVICE(0x8086, 0x4222)},
> > +	{PCI_DEVICE(0x8086, 0x4227)},

> FWIW I would recommend
>
> 	PCI_VDEVICE(INTEL, 0x4229)

I wonder why.

When I do "lspci -n" to find out the id of an unknown card, then 
I cannot just do

$ cd linux/drivers
$ grep -rl 0x8086 .

to find (from the source), which driver claims to be for the 
device. Because there is this unneeded indirection via a header 
file ...

-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux