]> Shamusworld >> Repos - virtualjaguar/blob - idectrl.h
29ae71a99126f58001d6a5683c0e009092c5ffd8
[virtualjaguar] / idectrl.h
1 #ifndef __IDECTRL_H__\r
2 #define __IDECTRL_H__\r
3 \r
4 #include "types.h"\r
5 #include "harddisk.h"\r
6 \r
7 #define MAX_IDE_CONTROLLERS                     1\r
8 \r
9 struct ide_interface\r
10 {\r
11         void    (*interrupt)(int state);\r
12 };\r
13 \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
17 /*\r
18 READ32_HANDLER( ide_controller32_0_r );\r
19 WRITE32_HANDLER( ide_controller32_0_w );\r
20 \r
21 READ16_HANDLER( ide_controller16_0_r );\r
22 WRITE16_HANDLER( ide_controller16_0_w );\r
23 */\r
24 #endif\r