2005-04-21 16:53:53 +02:00
|
|
|
/* IBM device driver definitions Author: Kees J. Bot
|
|
|
|
* 7 Dec 1995
|
|
|
|
*/
|
|
|
|
|
2010-03-08 12:04:59 +01:00
|
|
|
#include <machine/partition.h>
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2012-03-24 16:16:34 +01: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)
|
2013-07-28 14:03:07 +02:00
|
|
|
#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
|