Define FLOPPY_MAJOR on NetBSD.

This commit is contained in:
Grégoire Sutre 2010-09-22 23:32:58 +02:00
parent 8f03f0b580
commit 1b655af685
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2010-09-22 Grégoire Sutre <gregoire.sutre@gmail.com>
* grub-core/kern/emu/hostdisk.c [__NetBSD__]: Define FLOPPY_MAJOR.
2010-09-22 Colin Watson <cjwatson@ubuntu.com>
* grub-core/loader/multiboot_mbi2.c (grub_multiboot_make_mbi): Fix

View file

@ -115,6 +115,9 @@ struct hd_geometry
# include <util.h> /* getrawpartition */
# endif /* HAVE_GETRAWPARTITION */
# include <sys/fdio.h>
# ifndef FLOPPY_MAJOR
# define FLOPPY_MAJOR 2
# endif /* ! FLOPPY_MAJOR */
# ifndef RAW_FLOPPY_MAJOR
# define RAW_FLOPPY_MAJOR 9
# endif /* ! RAW_FLOPPY_MAJOR */