Re: [PATCH] fix sata_sil compilation on non-DMI platforms

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

 



On Mon, May 11, 2009 at 02:12:06PM -0400, Jeff Garzik wrote:

> > 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.
> 
> (CC'ing various Lennerts)

That was moi.


> What is the breakage?
> 
> Ideally the DMI subsystem should be provided wrappers for platforms 
> without DMI, rendering patches like this unnecessary.

It seems that the commit below should fix it.  Since that only went
into 2.6.29, that would explain why 2.6.27 is broken.


	commit d8204ee2ad1c9babd7e33d4c118ec99a78a8442e
	Author: Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx>
	Date:   Wed Jan 28 00:07:20 2009 -0600

	    dmi: Fix build breakage

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

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux