Define FLOPPY_MAJOR on NetBSD.
This commit is contained in:
parent
8f03f0b580
commit
1b655af685
2 changed files with 7 additions and 0 deletions
|
@ -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>
|
2010-09-22 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
* grub-core/loader/multiboot_mbi2.c (grub_multiboot_make_mbi): Fix
|
* grub-core/loader/multiboot_mbi2.c (grub_multiboot_make_mbi): Fix
|
||||||
|
|
|
@ -115,6 +115,9 @@ struct hd_geometry
|
||||||
# include <util.h> /* getrawpartition */
|
# include <util.h> /* getrawpartition */
|
||||||
# endif /* HAVE_GETRAWPARTITION */
|
# endif /* HAVE_GETRAWPARTITION */
|
||||||
# include <sys/fdio.h>
|
# include <sys/fdio.h>
|
||||||
|
# ifndef FLOPPY_MAJOR
|
||||||
|
# define FLOPPY_MAJOR 2
|
||||||
|
# endif /* ! FLOPPY_MAJOR */
|
||||||
# ifndef RAW_FLOPPY_MAJOR
|
# ifndef RAW_FLOPPY_MAJOR
|
||||||
# define RAW_FLOPPY_MAJOR 9
|
# define RAW_FLOPPY_MAJOR 9
|
||||||
# endif /* ! RAW_FLOPPY_MAJOR */
|
# endif /* ! RAW_FLOPPY_MAJOR */
|
||||||
|
|
Loading…
Reference in a new issue