diff options
author | Hannes Reinecke <hare@suse.de> | 2012-12-19 15:12:47 +0100 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-01-08 22:45:26 -0500 |
commit | 261e8706ac85912f5bb155c1246a0b91c40b1b06 (patch) | |
tree | ce5040195cdc2085e59855399fa6f49d689c21a5 /src | |
parent | 57174c7276a3ae87ca5cbdc7c2aca4812a4fac0a (diff) | |
download | seabios-hppa-261e8706ac85912f5bb155c1246a0b91c40b1b06.zip seabios-hppa-261e8706ac85912f5bb155c1246a0b91c40b1b06.tar.gz seabios-hppa-261e8706ac85912f5bb155c1246a0b91c40b1b06.tar.bz2 |
megasas: Invert PCI device selection
Stupid typo from my side ...
Signed-off-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/megasas.c | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/src/megasas.c b/src/megasas.c index f710cd7..3ccdd0a 100644 --- a/src/megasas.c +++ b/src/megasas.c @@ -382,18 +382,17 @@ megasas_setup(void) if (pci->vendor != PCI_VENDOR_ID_LSI_LOGIC && pci->vendor != PCI_VENDOR_ID_DELL) continue; - if (pci->device != PCI_DEVICE_ID_LSI_SAS1064R || - pci->device != PCI_DEVICE_ID_LSI_SAS1078 || - pci->device != PCI_DEVICE_ID_LSI_SAS1078DE || - pci->device != PCI_DEVICE_ID_LSI_SAS2108 || - pci->device != PCI_DEVICE_ID_LSI_SAS2108E || - pci->device != PCI_DEVICE_ID_LSI_SAS2004 || - pci->device != PCI_DEVICE_ID_LSI_SAS2008 || - pci->device != PCI_DEVICE_ID_LSI_VERDE_ZCR || - pci->device != PCI_DEVICE_ID_DELL_PERC5 || - pci->device != PCI_DEVICE_ID_LSI_SAS2208 || - pci->device != PCI_DEVICE_ID_LSI_SAS3108) - continue; - init_megasas(pci); + if (pci->device == PCI_DEVICE_ID_LSI_SAS1064R || + pci->device == PCI_DEVICE_ID_LSI_SAS1078 || + pci->device == PCI_DEVICE_ID_LSI_SAS1078DE || + pci->device == PCI_DEVICE_ID_LSI_SAS2108 || + pci->device == PCI_DEVICE_ID_LSI_SAS2108E || + pci->device == PCI_DEVICE_ID_LSI_SAS2004 || + pci->device == PCI_DEVICE_ID_LSI_SAS2008 || + pci->device == PCI_DEVICE_ID_LSI_VERDE_ZCR || + pci->device == PCI_DEVICE_ID_DELL_PERC5 || + pci->device == PCI_DEVICE_ID_LSI_SAS2208 || + pci->device == PCI_DEVICE_ID_LSI_SAS3108) + init_megasas(pci); } } |