]> Shamusworld >> Repos - virtualjaguar/blob - src/include/idectrl.h
Mainly source cleanups
[virtualjaguar] / src / include / idectrl.h
1 #ifndef __IDECTRL_H__
2 #define __IDECTRL_H__
3
4 #include "types.h"
5 #include "harddisk.h"
6
7 #define MAX_IDE_CONTROLLERS                     1
8
9 struct ide_interface
10 {
11         void    (*interrupt)(int state);
12 };
13
14 int ide_controller_init(int which, struct ide_interface *intf);
15 void ide_controller_reset(int which);
16 uint8 *ide_get_features(int which);
17 /*
18 READ32_HANDLER( ide_controller32_0_r );
19 WRITE32_HANDLER( ide_controller32_0_w );
20
21 READ16_HANDLER( ide_controller16_0_r );
22 WRITE16_HANDLER( ide_controller16_0_w );
23 */
24 #endif