minix/include/minix/drvlib.h

19 lines
436 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
/* IBM device driver definitions Author: Kees J. Bot
* 7 Dec 1995
*/
#include <machine/partition.h>
2005-04-21 16:53:53 +02:00
void partition(struct blockdriver *bdr, int device, int style, int
atapi);
2005-04-21 16:53:53 +02:00
#define DEV_PER_DRIVE (1 + NR_PARTITIONS)
#define SUB_PER_DRIVE (NR_PARTITIONS * NR_PARTITIONS)
2005-04-21 16:53:53 +02:00
#define MINOR_t0 64
#define MINOR_r0 120
#define MINOR_d0p0s0 128
#define MINOR_fd0p0 (28<<2)
#define P_FLOPPY 0
#define P_PRIMARY 1
#define P_SUB 2