i386 boot: consolidate MAXBDDEV definition

MFC after:	1 month
This commit is contained in:
Andriy Gapon 2012-05-09 08:05:50 +00:00
parent 29c8c4b0f5
commit a45337f99f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=235155
4 changed files with 2 additions and 5 deletions

View File

@ -55,7 +55,6 @@ __FBSDID("$FreeBSD$");
#define BIOS_NUMDRIVES 0x475
#define BIOSDISK_SECSIZE 512
#define BUFSIZE (1 * BIOSDISK_SECSIZE)
#define MAXBDDEV MAXDEV
#define DT_ATAPI 0x10 /* disk type for ATAPI floppies */
#define WDMAJOR 0 /* major numbers for devices we frontend for */

View File

@ -58,7 +58,8 @@ int i386_setcurrdev(struct env_var *ev, int flags, const void *value);
extern struct devdesc currdev; /* our current device */
#define MAXDEV 31 /* maximum number of distinct devices */
#define MAXDEV 31 /* maximum number of distinct devices */
#define MAXBDDEV MAXDEV
/* exported devices XXX rename? */
extern struct devsw bioscd;

View File

@ -61,8 +61,6 @@ __FBSDID("$FreeBSD$");
#define TYPE_MAXHARD TYPE_DA
#define TYPE_FD 2
#define MAXBDDEV 31
extern uint32_t _end;
#ifdef GPT

View File

@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$");
#define BIOS_NUMDRIVES 0x475
#define BIOSDISK_SECSIZE 512
#define BUFSIZE (1 * BIOSDISK_SECSIZE)
#define MAXBDDEV MAXDEV
#define DT_ATAPI 0x10 /* disk type for ATAPI floppies */
#define WDMAJOR 0 /* major numbers for devices we frontend for */