이지보드의 IDE 확장 보드 에서
모든 커넥터를 모두 활성화 하기 위한

배포된 하우투와 다른 내용을 이곳에 올려 놓겠읍니다.
기존 내용과 같이 참조하셔서 수정하세요...


=====[커널디렉토리/include/asm/arch/ezboard.h]==================================================================

/******************************************************************************
* *GPIO assignements
* ******************************************************************************/

#define EZBOARD_GPIO_IDE_IRQ0 GPIO_GPIO1
#define EZBOARD_GPIO_IDE_IRQ1 GPIO_GPIO2

/******************************************************************************
* *IRQ assignements
* ******************************************************************************/

/*GPIO interrupts */
#define EZBOARD_IRQ_IDE_IRQ0 IRQ_GPIO1
#define EZBOARD_IRQ_IDE_IRQ1 IRQ_GPIO2


===================================================================================



=====[커널디렉토리/include/asm/ide.h]==================================================================

#define ide_default_io_base(i) ((ide_ioreg_t) ( EZBOARD_IDE_IO_BASE + ( EZBOARD_IDE_IO_RANGE * i ) ))

=====[커널디렉토리/include/asm/ide.h]==================================================================


=====[커널디렉토리/include/asm/arch/ide.h]==================================================================
else if (machine_is_ezboard()){
#ifdef CONFIG_SA1100_EZBOARD
hw_regs_t hw;

/* First IDE Inteface Append */

/*Enable GPIO as interrupt line */
GPDR &=~EZBOARD_GPIO_IDE_IRQ0;
set_GPIO_IRQ_edge(EZBOARD_GPIO_IDE_IRQ0,GPIO_RISING_EDGE);

/*init the interface */
ide_init_hwif_ports(&hw,
EZBOARD_IDE_IO_BASE + 0x0000 + ( EZBOARD_IDE_IO_RANGE * 0 ) ,
EZBOARD_IDE_IO_BASE + 0x100+(0x6<<1) + ( EZBOARD_IDE_IO_RANGE * 0 ) ,
NULL );
hw.irq =EZBOARD_IRQ_IDE_IRQ0;

ide_register_hw(&hw,NULL);

/* Second IDE Interface Appedn */

GPDR &=~EZBOARD_GPIO_IDE_IRQ1;
set_GPIO_IRQ_edge(EZBOARD_GPIO_IDE_IRQ1,GPIO_RISING_EDGE);

/*init the interface */
ide_init_hwif_ports(&hw,
EZBOARD_IDE_IO_BASE + 0x0000 + ( EZBOARD_IDE_IO_RANGE * 1 ) ,
EZBOARD_IDE_IO_BASE + 0x100+(0x6<<1) + ( EZBOARD_IDE_IO_RANGE * 1 ) ,
NULL );

hw.irq =EZBOARD_IRQ_IDE_IRQ1;
ide_register_hw(&hw,NULL);

#endif
}

=====[커널디렉토리/include/asm/arch/ide.h]==================================================================