Debian Codegraph @

kernel/drivers/floppy.h

raw
1 /*
2 * libcaca Colour ASCII-Art library
3 * Copyright (c) 2006 Sam Hocevar <[email protected]>
4 * 2009 Jean-Yves Lamoureux <[email protected]>
5 * All Rights Reserved
6 *
7 * This library is free software. It comes without any warranty, to
8 * the extent permitted by applicable law. You can redistribute it
9 * and/or modify it under the terms of the Do What the Fuck You Want
10 * to Public License, Version 2, as published by Sam Hocevar. See
11 * http://www.wtfpl.net/ for more details.
12 */
13
14 struct floppy_drive
15 {
16 char type[16];
17 u8 status;
18 };
19
20 struct floppy_info
21 {
22 int count;
23 struct floppy_drive drive[2];
24 };
25
26 int floppy_get_info(struct floppy_info *floppy_info);
27 void floppy_print_info(struct floppy_info *floppy_info);
28
29 int floppy_get_status(void);