1 #ifndef __IDECTRL_H__
\r
2 #define __IDECTRL_H__
\r
5 #include "harddisk.h"
\r
7 #define MAX_IDE_CONTROLLERS 1
\r
11 void (*interrupt)(int state);
\r
14 int ide_controller_init(int which, struct ide_interface *intf);
\r
15 void ide_controller_reset(int which);
\r
16 uint8 *ide_get_features(int which);
\r
18 READ32_HANDLER( ide_controller32_0_r );
\r
19 WRITE32_HANDLER( ide_controller32_0_w );
\r
21 READ16_HANDLER( ide_controller16_0_r );
\r
22 WRITE16_HANDLER( ide_controller16_0_w );
\r