1 /* IBM device driver definitions Author: Kees J. Bot
5 #include <machine/partition.h>
7 _PROTOTYPE( void partition
, (struct driver
*dr
, int device
, int style
, int atapi
) );
9 /* BIOS parameter table layout. */
10 #define bp_cylinders(t) (* (u16_t *) (&(t)[0]))
11 #define bp_heads(t) (* (u8_t *) (&(t)[2]))
12 #define bp_reduced_wr(t) (* (u16_t *) (&(t)[3]))
13 #define bp_precomp(t) (* (u16_t *) (&(t)[5]))
14 #define bp_max_ecc(t) (* (u8_t *) (&(t)[7]))
15 #define bp_ctlbyte(t) (* (u8_t *) (&(t)[8]))
16 #define bp_landingzone(t) (* (u16_t *) (&(t)[12]))
17 #define bp_sectors(t) (* (u8_t *) (&(t)[14]))
20 #define DEV_PER_DRIVE (1 + NR_PARTITIONS)
23 #define MINOR_d0p0s0 128
24 #define MINOR_fd0p0 (28<<2)