diff --git a/Makefile b/Makefile
index 66ee8b8..e6964f1 100644
--- a/Makefile
+++ b/Makefile
@@ -182,8 +182,8 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
 # Default value for CROSS_COMPILE is not to prefix executables
 # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
 
-ARCH		?= $(SUBARCH)
-CROSS_COMPILE	?=
+ARCH		?= sh
+CROSS_COMPILE	?= sh4-linux-
 
 # Architecture as present in compile.h
 UTS_MACHINE := $(ARCH)
diff --git a/arch/sh/boards/se/770x/setup.c b/arch/sh/boards/se/770x/setup.c
index 45cbc36..e8074b8 100644
--- a/arch/sh/boards/se/770x/setup.c
+++ b/arch/sh/boards/se/770x/setup.c
@@ -63,6 +63,31 @@ static void __init smsc_setup(char **cmdline_p)
 	outb_p(CONFIG_EXIT, CONFIG_PORT);
 }
 
+static struct resource cf_ide_resources[] = {
+	[0] = {
+		.start  = PA_MRSHPC_IO + 0x1f0,
+		.end    = PA_MRSHPC_IO + 0x1f0 + 8,
+		.flags  = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start  = PA_MRSHPC_IO + 0x1f0 + 0x206,
+		.end    = PA_MRSHPC_IO + 0x1f0 +8 + 0x206 + 8,
+		.flags  = IORESOURCE_MEM,
+	},
+	[2] = {
+		.start  = 7,
+		.flags  = IORESOURCE_IRQ,
+	},
+};
+
+static struct platform_device cf_ide_device  = {
+	.name           = "pata_platform",
+	.id             = -1,
+	.num_resources  = ARRAY_SIZE(cf_ide_resources),
+	.resource       = cf_ide_resources,
+};
+
+
 static unsigned char heartbeat_bit_pos[] = { 8, 9, 10, 11, 12, 13, 14, 15 };
 
 static struct resource heartbeat_resources[] = {
@@ -85,6 +110,7 @@ static struct platform_device heartbeat_device = {
 
 static struct platform_device *se_devices[] __initdata = {
 	&heartbeat_device,
+	&cf_ide_device,
 };
 
 static int __init se_devices_setup(void)
diff --git a/arch/sh/kernel/cf-enabler.c b/arch/sh/kernel/cf-enabler.c
index 3e5fa1e..66f8a61 100644
--- a/arch/sh/kernel/cf-enabler.c
+++ b/arch/sh/kernel/cf-enabler.c
@@ -29,7 +29,7 @@
  * 0xB8001000 : Common Memory
  * 0xBA000000 : I/O
  */
-#if defined(CONFIG_IDE) && defined(CONFIG_CPU_SH4)
+#if defined(CONFIG_ATA) && defined(CONFIG_CPU_SH4)
 /* SH4 can't access PCMCIA interface through P2 area.
  * we must remap it with appropreate attribute bit of the page set.
  * this part is based on Greg Banks' hd64465_ss.c implementation - Masahiro Abe */
@@ -71,7 +71,7 @@ static int __init cf_init_default(void)
 /* You must have enabled the card, and set the level interrupt
  * before reaching this point. Possibly in boot ROM or boot loader.
  */
-#if defined(CONFIG_IDE) && defined(CONFIG_CPU_SH4)
+#if defined(CONFIG_ATA) && defined(CONFIG_CPU_SH4)
 	allocate_cf_area();
 #endif
 #if defined(CONFIG_SH_UNKNOWN)
@@ -137,6 +137,8 @@ static int __init cf_init_se(void)
 	ctrl_outw(0x2000, MRSHPC_ICR);
 	ctrl_outb(0x00, PA_MRSHPC_MW2 + 0x206);
 	ctrl_outb(0x42, PA_MRSHPC_MW2 + 0x200);
+
+	printk("OUT %s\n" , __func__ );
 	return 0;
 }
 #endif
diff --git a/arch/sh/kernel/cpu/irq/pint.c b/arch/sh/kernel/cpu/irq/pint.c
index f600077..3ad0dce 100644
--- a/arch/sh/kernel/cpu/irq/pint.c
+++ b/arch/sh/kernel/cpu/irq/pint.c
@@ -1,5 +1,5 @@
 /*
- * arch/sh/kernel/cpu/irq/pint.c - Interrupt handling for PINT-based IRQs.
+0 * arch/sh/kernel/cpu/irq/pint.c - Interrupt handling for PINT-based IRQs.
  *
  * Copyright (C) 1999  Niibe Yutaka & Takeshi Yaegashi
  * Copyright (C) 2000  Kazumoto Kojima
@@ -83,6 +83,20 @@ void make_pint_irq(unsigned int irq)
 	irq_desc[irq].chip = &pint_irq_type;
 	disable_pint_irq(irq);
 }
+#if defined(CONFIG_CPU_SUBTYPE_SH7705)
+#define PINT0_IPR_ADDR	0xA4000018
+#define PINT8_IPR_ADDR  0xA4000018
+#define PINT0_IPR_POS	12
+#define PINT8_IPR_POS	8
+#define PINT0_PRIORITY	PINT0_IRQ
+#define PINT8_PRIORITY	PINT8_IRQ
+#define PORT_PCDR     0xA4000124UL
+#define PORT_PFDR     0xA400012AUL
+#define PORT_PFCR2    0xA405014AUL
+#define PORT_PFCR     0xA400010AUL
+#define INTC_ICR2     0xA4000012UL
+#define PORT_PCCR     0xA4000104UL
+#endif
 
 static struct ipr_data pint_ipr_map[] = {
 	{ PINT0_IRQ, PINT0_IPR_ADDR, PINT0_IPR_POS, PINT0_PRIORITY },
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig
index 6b0d28a..9fdd3a4 100644
--- a/arch/sh/mm/Kconfig
+++ b/arch/sh/mm/Kconfig
@@ -110,6 +110,7 @@ config CPU_SUBTYPE_SH7750
 	bool "Support SH7750 processor"
 	select CPU_SH4
 	select CPU_HAS_IPR_IRQ
+	select CPU_HAS_PINT_IRQ
 	help
 	  Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
 
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index d16b5b0..805a14f 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -20,7 +20,7 @@ config ATA
 if ATA
 
 config ATA_NONSTANDARD
-       bool
+       bool "non standard"
        default n
 
 config SATA_AHCI
diff --git a/include/asm-sh/cpu-sh3/addrspace.h b/include/asm-sh/cpu-sh3/addrspace.h
index 872e9e1..13c1a16 100644
--- a/include/asm-sh/cpu-sh3/addrspace.h
+++ b/include/asm-sh/cpu-sh3/addrspace.h
@@ -10,7 +10,8 @@
 #ifndef __ASM_CPU_SH3_ADDRSPACE_H
 #define __ASM_CPU_SH3_ADDRSPACE_H
 
-/* Should fill here */
-
+#define INTC_INTER    0xA4000014UL
+#define PINT0_IRQ       40
+#define PINT8_IRQ       41
 #endif /* __ASM_CPU_SH3_ADDRSPACE_H */
 
diff --git a/include/linux/libata.h b/include/linux/libata.h
index e3f32f3..fb4d7b5 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -52,6 +52,8 @@
  * converted to the new debugging mechanism
  */
 #undef ATA_DEBUG		/* debugging output */
+//#ifdef ATA_DEBUG		/* debugging output */
+//#ifdef ATA_VERBOSE_DEBUG	/* yet more debugging output */
 #undef ATA_VERBOSE_DEBUG	/* yet more debugging output */
 #undef ATA_IRQ_TRAP		/* define to ack screaming irqs */
 #undef ATA_NDEBUG		/* define to disable quick runtime checks */
