root / lab4 / .minix-src / include / minix / drvlib.h @ 13
History | View | Annotate | Download (436 Bytes)
1 | 13 | up20180614 | /* IBM device driver definitions Author: Kees J. Bot
|
---|---|---|---|
2 | * 7 Dec 1995
|
||
3 | */
|
||
4 | |||
5 | #include <machine/partition.h> |
||
6 | |||
7 | void partition(struct blockdriver *bdr, int device, int style, int |
||
8 | atapi); |
||
9 | |||
10 | #define DEV_PER_DRIVE (1 + NR_PARTITIONS) |
||
11 | #define SUB_PER_DRIVE (NR_PARTITIONS * NR_PARTITIONS)
|
||
12 | #define MINOR_t0 64 |
||
13 | #define MINOR_r0 120 |
||
14 | #define MINOR_d0p0s0 128 |
||
15 | #define MINOR_fd0p0 (28<<2) |
||
16 | #define P_FLOPPY 0 |
||
17 | #define P_PRIMARY 1 |
||
18 | #define P_SUB 2 |