On 01/08/2013 12:35 AM, Kevin O'Connor wrote:
It's been a few months since the last SeaBIOS release. I'd like to
start preparing for the next release. If you know of any defects or
critical features that should go into the next release, please let me
know.
I'd like to target January 18th for the next release.
There's a patch for megasas support which is rather critical;
without it megasas won't load properly.
Please apply.
Thanks.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
[email protected] +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
>From ee39f059660d0b8f9d01c165e1b030e63d46254f Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <[email protected]>
Date: Wed, 19 Dec 2012 15:12:47 +0100
Subject: [PATCH] megasas: Invert PCI device selection
Stupid typo from my side ...
Signed-off-by: Hannes Reinecke <[email protected]>
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);
}
}
_______________________________________________
SeaBIOS mailing list
[email protected]
http://www.seabios.org/mailman/listinfo/seabios