nckernel  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
fdc_ctrl.h
Go to the documentation of this file.
1 extern int fdc_lock(struct fdc_context *ctx);
2 extern int fdc_unlock(struct fdc_context *ctx);
3 extern int fdc_read_deleted_sector(struct fdc_context *ctx,
4  int c, int h, int r);
5 extern int fdc_read_id(struct fdc_context *ctx, int head);
6 extern int fdc_read_sector(struct fdc_context *ctx, int c, int h, int r);
7 extern int fdc_write_sector(struct fdc_context *ctx,
8  unsigned char c, unsigned char h, unsigned char r);
9 extern int fdc_write_deleted_sector(struct fdc_context *ctx,
10  unsigned char c, unsigned char h, unsigned char r);
11 extern int fdc_read_track(struct fdc_context *ctx,
12  unsigned char c, unsigned char h, unsigned char r);
13 extern int fdc_verify(struct fdc_context *ctx,
14  unsigned char c, unsigned char h, unsigned char r);
15 extern int fdc_version(struct fdc_context *ctx, unsigned char *ver);
16 extern int fdc_seek(struct fdc_context *ctx, int cyl, int head);
17 extern void fdc_motor_on(struct fdc_context *ctx);
18 extern void fdc_motor_off(struct fdc_context *ctx);
19 extern int fdc_init_ctrl(struct fdc_context *ctx, int minor);
20 extern int fdc_fini_ctrl(struct fdc_context *ctx);
21 
22 /* End of a file */