(not subscribed please CC me) I tried to compile sata_sil on a 2.6.27 kernel on powerpc32 and I found that it failed to compile -lots of dmi related errors. I found that I had to include the broken_systems handling code in #ifdef CONFIG_DMI (DMI is not supported on platforms other than i386/x86_64). Lennert on #mklinux told me that this commit broke the non-dmi support, and that a similar patch to mine is used on ARM systems : commit e57db7bde7bff95ae812736ca00c73bd5271455b SATA Sil: Blacklist system that spins off disks during ACPI power off With this patch, sata_sil compiles on ppc (and I guess on other platforms). I'm using it for a while with no problems with a Delock 4-port SATA PCI card. Regards -- Konstantinos Margaritis Codex http://www.codex.gr
--- sata_sil.c.orig 2009-05-06 20:03:16.472876188 +0300 +++ sata_sil.c 2009-05-06 20:04:22.693209638 +0300 @@ -698,6 +698,7 @@ static bool sil_broken_system_poweroff(struct pci_dev *pdev) { +#ifdef CONFIG_DMI static const struct dmi_system_id broken_systems[] = { { .ident = "HP Compaq nx6325", @@ -718,7 +719,7 @@ /* apply the quirk only to on-board controllers */ return slot == PCI_SLOT(pdev->devfn); } - +#endif return false; }