Skip to contentSkip to conversation

pata_acpi: restore driver

PATCH Applied [email protected] 2 participants 2 messages Jul 9, 2007 libata

lore
Share & tools
lore
#0 lore raw

PATCH 2/11 pata_acpi: restore driver

From: Alan Cox <[email protected]>

This patch assumes the mode filter patches were applied, if not then ping me and I'll send the trivially different patch (extra argument to mode_filter)

---

 drivers/ata/Kconfig     |    9 
 drivers/ata/Makefile    |    2 
 drivers/ata/pata_acpi.c |  423 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 434 insertions(+)
drivers/ata/Kconfig renamed from drivers/ata/Kconfig~pata_acpi-restore-driver +9 -0
diff -puN drivers/ata/Kconfig~pata_acpi-restore-driver drivers/ata/Kconfig
@@ -173,6 +173,15 @@ config SATA_INIC162X
 	help
 	  This option enables support for Initio 162x Serial ATA.
 
+config PATA_ACPI
+	tristate "ACPI firmware driver for PATA"
+	depends on ACPI && PCI && SATA_ACPI
+	help
+	  This option enables an ACPI method driver which drives
+	  motherboard PATA controller interfaces through the ACPI
+	  firmware in the BIOS. This driver can sometimes handle
+	  otherwise unsupported hardware.
+
 config PATA_ALI
 	tristate "ALi PATA support (Experimental)"
 	depends on PCI && EXPERIMENTAL
drivers/ata/Makefile renamed from drivers/ata/Makefile~pata_acpi-restore-driver +2 -0
diff -puN drivers/ata/Makefile~pata_acpi-restore-driver drivers/ata/Makefile
@@ -63,6 +63,8 @@ obj-$(CONFIG_PATA_IXP4XX_CF)	+= pata_ixp
 obj-$(CONFIG_PATA_SCC)		+= pata_scc.o
 obj-$(CONFIG_PATA_PLATFORM)	+= pata_platform.o
 obj-$(CONFIG_PATA_ICSIDE)	+= pata_icside.o
+# Should be last but two libata driver
+obj-$(CONFIG_PATA_ACPI)		+= pata_acpi.o
 # Should be last but one libata driver
 obj-$(CONFIG_ATA_GENERIC)	+= ata_generic.o
 # Should be last libata driver
drivers/ata/pata_acpi.c new file +423 -0

423 lines not on this page · raw message

_

#1 lore raw
Quoted 5 lines · On Mon, 09 Jul 2007 11:46:12 -0700 [email protected] wrote:

From: Alan Cox <[email protected]>

This patch assumes the mode filter patches were applied, if not then ping me and I'll send the trivially different patch (extra argument to mode_filter)

Can we leave this for a moment. I want to do some reworking on it next week and redo it based upon experience of what ACPI bios code actually seems to be doing and a ton of info about how the Windoze one uses it