2008/2/27, Luis R. Rodriguez <mcgrof@xxxxxxxxx>: > On Sun, Feb 24, 2008 at 1:58 PM, Nick Kossifidis <mickflemm@xxxxxxxxx> wrote: > > 2008/2/24, Bob Copeland <me@xxxxxxxxxxxxxxx>: > > > > > > > On Sun, Feb 24, 2008 at 06:45:33AM +0200, Nick Kossifidis wrote: > > > > > + /* Identify PCI-E cards */ > > > > > + if((srev >= AR5K_SREV_VER_AR2424 && srev <= AR5K_SREV_VER_AR5424) || > > > > > + srev >= AR5K_SREV_VER_AR5416) { > > > > > + ah->ah_pcie = true; > > > struct pci_dev now has member, "is_pcie" which could be used here I > think instead. No need to add to ath5k_hw the ah_pcie then. > > > Luis > What if there is a pci-e card in the future that needs _PCI bit ? I guess for now we can work on with srevs to be safe but it's good to know of that feature, thanx ;-) -- GPG ID: 0xD21DB2DB As you read this post global entropy rises. Have Fun ;-) Nick - 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