linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Unbreak build of PMP with ACPI disabled
@ 2007-07-13  6:56 Petr Vandrovec
  2007-07-13  7:09 ` Tejun Heo
  0 siblings, 1 reply; 11+ messages in thread
From: Petr Vandrovec @ 2007-07-13  6:56 UTC (permalink / raw)
  To: htejun; +Cc: linux-ide

[-- Attachment #1: Type: text/plain, Size: 2335 bytes --]

Hello,
  first let me thank you for your PMP code.  Works great.  Though I could not
built it with ACPI disable - it is possible that I did merge wrong (I'm using
your tree with current Linus's TOT), though I do not think.  Patch is at
the end.

If you are interested in success report, then my dmesg is attached.  SiI3132,
with Sans Digital MS4UM, with SiI3726 multiplier.  Multipliers ports 0-3 are
connected to hotpluggable slots, port 4 is not connected anywhere, and port
5 is connected to some well hidden 1.5Gbps device.

Only problem I've noticed is that smartctl on drives connected to sata_nv
needs '-T permissive', while if same drive is connected to sata_sil24's PMP,
it works without problem.  

Error SMART Status command failed
Please get assistance from http://smartmontools.sourceforge.net/
Values from ATA status return descriptor are:
 00     09 0c 00 00 00 00 00 00  00 00 00 00 00 50
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

							Thanks,
								Petr Vandrovec


From: Petr Vandrovec <petr@vandrovec.name>

Unbreak building port multiplier without ACPI

ata_acpi_associate_sata_port exists only if ACPI is enabled, so it is
wise to provide dummy implementation for disabled ACPI.  Otherwise build
breaks...

Signed-off-by: Petr Vandrovec <petr@vandrovec.name>

---
commit 15cf93ebda55fc16ab4ad3f52d9186c536505a62
tree ea4a2b38471cc5bba5c5f23743ef8f8c53ccb250
parent 61e519cb5dbfa3fa87f57e60204e86d92344dc32
author Petr Vandrovec <petr@vandrovec.name> Thu, 12 Jul 2007 23:29:36 -0700
committer Petr Vandrovec <petr@vandrovec.name> Thu, 12 Jul 2007 23:29:36 -0700

 drivers/ata/libata.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h
index 9577db0..d568c53 100644
--- a/drivers/ata/libata.h
+++ b/drivers/ata/libata.h
@@ -107,6 +107,7 @@ extern int ata_acpi_on_suspend(struct ata_port *ap);
 extern void ata_acpi_on_resume(struct ata_port *ap);
 extern int ata_acpi_on_devcfg(struct ata_device *adev);
 #else
+static inline void ata_acpi_associate_sata_port(struct ata_port *ap) { }
 static inline void ata_acpi_associate(struct ata_host *host) { }
 static inline int ata_acpi_on_suspend(struct ata_port *ap) { return 0; }
 static inline void ata_acpi_on_resume(struct ata_port *ap) { }

[-- Attachment #2: dmesg.gz --]
[-- Type: application/octet-stream, Size: 9133 bytes --]

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-07-20 11:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-13  6:56 [PATCH] Unbreak build of PMP with ACPI disabled Petr Vandrovec
2007-07-13  7:09 ` Tejun Heo
2007-07-13 23:30   ` Robert Hancock
2007-07-14  0:00     ` Ryan Power
2007-07-14  2:31       ` Tejun Heo
2007-07-14 12:13         ` Petr Vandrovec
2007-07-16  3:38           ` Ryan Power
2007-07-16 10:32           ` Tejun Heo
2007-07-17 10:54             ` [PATCH] Fix SMART reporting on 2.6.22 Petr Vandrovec
2007-07-18  3:08               ` Tejun Heo
2007-07-20 11:44               ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).