]> git.ipfire.org Git - thirdparty/grub.git/log
thirdparty/grub.git
14 years agoFix OHCI error message
Vladimir 'phcoder' Serbinenko [Fri, 20 Aug 2010 17:33:44 +0000 (19:33 +0200)] 
Fix OHCI error message

14 years agoCorrect *actual counting in OHCI
Vladimir 'phcoder' Serbinenko [Fri, 20 Aug 2010 14:56:03 +0000 (16:56 +0200)] 
Correct *actual counting in OHCI

14 years agoDon't update status on 0 message
Vladimir 'phcoder' Serbinenko [Fri, 20 Aug 2010 14:49:24 +0000 (16:49 +0200)] 
Don't update status on 0 message

14 years agoScan descriptor rather than elying on hardcoded endpoint number
Vladimir 'phcoder' Serbinenko [Fri, 20 Aug 2010 14:34:34 +0000 (16:34 +0200)] 
Scan descriptor rather than elying on hardcoded endpoint number

14 years agoUse GetReport only at initialisation as specified in the USBHID spec
Vladimir 'phcoder' Serbinenko [Fri, 20 Aug 2010 12:36:29 +0000 (14:36 +0200)] 
Use GetReport only at initialisation as specified in the USBHID spec

14 years agoFix control msg type
Vladimir 'phcoder' Serbinenko [Fri, 20 Aug 2010 10:22:23 +0000 (12:22 +0200)] 
Fix control msg type

15 years agoSkip non-boot usb_keyboard interface
Vladimir 'phcoder' Serbinenko [Sun, 1 Aug 2010 21:08:33 +0000 (23:08 +0200)] 
Skip non-boot usb_keyboard interface

15 years agoSkip unexpected descriptors
Vladimir 'phcoder' Serbinenko [Sun, 1 Aug 2010 21:08:03 +0000 (23:08 +0200)] 
Skip unexpected descriptors

15 years agomerge mainline into usb
Vladimir 'phcoder' Serbinenko [Sun, 1 Aug 2010 19:23:18 +0000 (21:23 +0200)] 
merge mainline into usb

15 years ago * lib/arg.c (grub_arg_show_help): Add the necessary spacing.
Vladimir 'phcoder' Serbinenko [Sun, 1 Aug 2010 19:01:05 +0000 (21:01 +0200)] 
* lib/arg.c (grub_arg_show_help): Add the necessary spacing.

15 years ago * kern/emu/getroot.c (find_mount_point_from_dir): Compile only if
Vladimir 'phcoder' Serbinenko [Sun, 1 Aug 2010 14:11:27 +0000 (16:11 +0200)] 
* kern/emu/getroot.c (find_mount_point_from_dir): Compile only if
[HAVE_LIBZFS && HAVE_LIBNVPAIR]

15 years ago* util/grub-mkrescue.in: Remove ${efi_dir} after building efi.img.
Colin Watson [Sun, 1 Aug 2010 16:30:03 +0000 (11:30 -0500)] 
* util/grub-mkrescue.in: Remove ${efi_dir} after building efi.img.

15 years ago* script/yylex.l (NAME): Remove [:digit:], redundant with [:alnum:].
Colin Watson [Sun, 1 Aug 2010 16:28:12 +0000 (11:28 -0500)] 
* script/yylex.l (NAME): Remove [:digit:], redundant with [:alnum:].

15 years ago* docs/grub.texi (Simple configuration): Document GRUB_CMDLINE_XEN
Colin Watson [Sun, 1 Aug 2010 16:25:09 +0000 (11:25 -0500)] 
* docs/grub.texi (Simple configuration): Document GRUB_CMDLINE_XEN
and GRUB_CMDLINE_XEN_DEFAULT.  Recommend setting
GRUB_GFXPAYLOAD_LINUX=text rather than unsetting it in order to
disable gfxpayload.
(Shell-like scripting): Add real content.
(Serial terminal): Suggest `terminal_input serial; terminal_output
serial' rather than putting the two commands on separate lines,
since console input will be inoperative after the first command.
(menuentry): Document --class, --users, and --hotkey options.
(terminfo): Describe what `visually-ordered UTF-8' means (thanks,
Vladimir Serbinenko).

15 years ago* kern/misc.c (grub_memset): Optimise to reduce cache stalls.
Vladimir Serbinenko [Sun, 1 Aug 2010 14:44:36 +0000 (09:44 -0500)] 
* kern/misc.c (grub_memset): Optimise to reduce cache stalls.
Also-By: Colin Watson <cjwatson@ubuntu.com>
15 years ago2010-08-01 Robert Millan <rmh@gnu.org>
Robert Millan [Sun, 1 Aug 2010 13:23:44 +0000 (15:23 +0200)] 
2010-08-01  Robert Millan  <rmh@gnu.org>

Prevent accidental use of uninitialized libzfs_handle.

* util/grub-probe.c (main): Move grub_util_init_libzfs() call to ...
* kern/emu/getroot.c (find_root_device_from_libzfs): ... here.
* util/misc.c (grub_util_init_libzfs): Make this function idempotent.

15 years ago* util/grub.d/20_linux_xen.in: Don't use UUID for LVM root (matching
Colin Watson [Sun, 1 Aug 2010 13:54:10 +0000 (08:54 -0500)] 
* util/grub.d/20_linux_xen.in: Don't use UUID for LVM root (matching
util/grub.d/10_linux.in).  Fixes Debian bug #591093.

15 years ago2010-08-01 Robert Millan <rmh@gnu.org>
Robert Millan [Sun, 1 Aug 2010 12:47:14 +0000 (14:47 +0200)] 
2010-08-01  Robert Millan  <rmh@gnu.org>

* kern/emu/getroot.c: Include `<grub/util/misc.h>'.

15 years ago2010-07-31 Robert Millan <rmh@gnu.org>
Robert Millan [Sun, 1 Aug 2010 00:14:07 +0000 (02:14 +0200)] 
2010-07-31  Robert Millan  <rmh@gnu.org>

* util/grub.d/10_kfreebsd.in: Make module handling more generic.

15 years ago2010-07-31 Robert Millan <rmh@gnu.org>
Robert Millan [Sat, 31 Jul 2010 16:45:57 +0000 (18:45 +0200)] 
2010-07-31  Robert Millan  <rmh@gnu.org>

* kern/emu/misc.c: Add missing license header.

15 years ago2010-07-31 Robert Millan <rmh@gnu.org>
Robert Millan [Sat, 31 Jul 2010 10:22:01 +0000 (12:22 +0200)] 
2010-07-31  Robert Millan  <rmh@gnu.org>

* configure.ac: Check for `libzfs.h' and `libnvpair.h'.

* include/grub/util/libnvpair.h: Include `<config.h>'.
[HAVE_LIBNVPAIR_H]: Include `<libnvpair.h>' instead of
declaring libnvpair prototypes ourselves.
* include/grub/util/libzfs.h: Include `<config.h>'.
[HAVE_LIBZFS_H]: Include `<libzfs.h>' instead of
declaring libzfs prototypes ourselves.

(libzfs_handle): Moved to ...
* include/grub/util/misc.h (libzfs_handle): ... here.
Include `<grub/util/libzfs.h>'.

15 years ago2010-07-30 Robert Millan <rmh@gnu.org>
Robert Millan [Fri, 30 Jul 2010 20:01:10 +0000 (22:01 +0200)] 
2010-07-30  Robert Millan  <rmh@gnu.org>

* include/grub/emu/misc.h: Add missing license header.

15 years ago2010-07-30 Robert Millan <rmh@gnu.org>
Robert Millan [Fri, 30 Jul 2010 19:43:12 +0000 (21:43 +0200)] 
2010-07-30  Robert Millan  <rmh@gnu.org>

Enable `grub-probe -t device' resolution on ZFS.

* configure.ac: Check for getfsstat(), libzfs and libnvpair.
* include/grub/util/libnvpair.h: New file.
* include/grub/util/libzfs.h: New file.

* kern/emu/getroot.c: Include `<assert.h>' and `<error.h>'.
[HAVE_LIBZFS && HAVE_LIBNVPAIR]: Include `<grub/util/libzfs.h>' and
`<grub/util/libnvpair.h>'.
[HAVE_GETFSSTAT]: Include `<sys/mount.h>'.

(find_mount_point_from_dir): New static function.
[HAVE_LIBZFS && HAVE_LIBNVPAIR] (find_root_device_from_libzfs): New
function.
[HAVE_LIBZFS && HAVE_LIBNVPAIR] (grub_guess_root_device): Use
find_root_device_from_libzfs() before ressorting to find_root_device().

* include/grub/util/misc.h (grub_util_init_libzfs): New function
prototype.
* util/misc.c: Include `<grub/util/libzfs.h>'.
(grub_util_init_libzfs): New function.
[HAVE_LIBZFS] (libzfs_handle): New global variable.
[HAVE_LIBZFS] (fini_libzfs): New static function.
(grub_util_init_libzfs): New function.
* util/grub-probe.c (main): Call grub_util_init_libzfs().

15 years ago2010-07-30 Robert Millan <rmh@gnu.org>
Robert Millan [Fri, 30 Jul 2010 09:27:02 +0000 (11:27 +0200)] 
2010-07-30  Robert Millan  <rmh@gnu.org>

* include/grub/emu/misc.h (grub_make_system_path_relative_to_its_root)
(xmalloc, xrealloc, xstrdup, xasprintf): Add
`warn_unused_result' attribute.
* include/grub/misc.h (grub_strdup, grub_strndup, grub_strlen)
(grub_xasprintf, grub_xvasprintf): Likewise.
* include/grub/emu/misc.h (xasprintf): Remove duplicate prototype.

15 years ago2010-07-29 Robert Millan <rmh@gnu.org>
Robert Millan [Thu, 29 Jul 2010 16:46:42 +0000 (18:46 +0200)] 
2010-07-29  Robert Millan  <rmh@gnu.org>

* util/grub-probe.c (PRINT_FS_LABEL): New enum value.
(probe): Handle `PRINT_FS_LABEL'.
(main): Handle `-t fs_label'.

15 years ago2010-07-29 Robert Millan <rmh@gnu.org>
Robert Millan [Thu, 29 Jul 2010 13:06:39 +0000 (15:06 +0200)] 
2010-07-29  Robert Millan  <rmh@gnu.org>

* configure.ac: Remove grub-mkisofs checks.

15 years ago * util/ieee1275/grub-install.in: Don't use empty grub_device.
Vladimir 'phcoder' Serbinenko [Wed, 28 Jul 2010 15:25:48 +0000 (18:25 +0300)] 
* util/ieee1275/grub-install.in: Don't use empty grub_device.
Reported by: Lennart Sorensen.

15 years ago * util/grub.d/00_header.in: Remove compatibility with terminal.mod
Vladimir 'phcoder' Serbinenko [Wed, 21 Jul 2010 04:44:38 +0000 (06:44 +0200)] 
* util/grub.d/00_header.in: Remove compatibility with terminal.mod
prior to terminal_input/terminal_output separation. It's been over 1.5
years and those versions weren't widely deployed.

15 years agoreal name for Michael Guntsche
Colin Watson [Thu, 22 Jul 2010 08:44:19 +0000 (09:44 +0100)] 
real name for Michael Guntsche

15 years ago* disk/raid.c (insert_array): Don't count named arrays when looking
Colin Watson [Thu, 22 Jul 2010 08:38:06 +0000 (09:38 +0100)] 
* disk/raid.c (insert_array): Don't count named arrays when looking
for unused array numbers.
Reported and tested by: maru.

15 years ago* bus/usb/emu/usb.c (grub_usb_poll_devices): Add a dummy
Colin Watson [Tue, 20 Jul 2010 22:16:32 +0000 (23:16 +0100)] 
* bus/usb/emu/usb.c (grub_usb_poll_devices): Add a dummy
implementation of this so that grub-emu links again, with a note
that this should support hotplugging in the future.

15 years ago* kern/emu/getroot.c (grub_util_get_grub_dev): Use xasprintf.
Colin Watson [Tue, 20 Jul 2010 22:09:45 +0000 (23:09 +0100)] 
* kern/emu/getroot.c (grub_util_get_grub_dev): Use xasprintf.

15 years ago* disk/loopback.c (grub_cmd_loopback): Don't leak a grub_file_t
Colin Watson [Tue, 20 Jul 2010 21:14:26 +0000 (22:14 +0100)] 
* disk/loopback.c (grub_cmd_loopback): Don't leak a grub_file_t
handle on failure.
(grub_loopback_close): Remove empty function.
(grub_loopback_dev): Remove close method.

15 years agoDisable EFI cursor when the EFI console becomes inactive.
Colin Watson [Tue, 20 Jul 2010 21:00:18 +0000 (22:00 +0100)] 
Disable EFI cursor when the EFI console becomes inactive.
* term/efi/console.c (grub_efi_console_init): New function.
(grub_efi_console_fini): New function.
(grub_console_term_output): Register init and fini methods.

15 years ago * tests/util/grub-shell-tester.in: Remove bashism and declare as
Vladimir 'phcoder' Serbinenko [Tue, 20 Jul 2010 20:10:23 +0000 (22:10 +0200)] 
* tests/util/grub-shell-tester.in: Remove bashism and declare as
sh script.

15 years ago * disk/loopback.c (grub_loopback): Replace filename with file.
Vladimir 'phcoder' Serbinenko [Tue, 20 Jul 2010 19:56:00 +0000 (21:56 +0200)] 
* disk/loopback.c (grub_loopback): Replace filename with file.
(delete_loopback): Handle new semantics.
(grub_cmd_loopback): Likewise.
(grub_loopback_iterate): Likewise.
(grub_loopback_close): Likewise.

15 years ago * util/i386/efi/grub-install.in: Revert to platform-specific behaviour
Vladimir 'phcoder' Serbinenko [Tue, 20 Jul 2010 18:36:11 +0000 (20:36 +0200)] 
* util/i386/efi/grub-install.in: Revert to platform-specific behaviour
with -p "".
Reported by: Tito Keitel.

15 years ago * docs/grub.texi (Naming convention): Document new naming convention.
Vladimir 'phcoder' Serbinenko [Tue, 20 Jul 2010 18:22:52 +0000 (20:22 +0200)] 
* docs/grub.texi (Naming convention): Document new naming convention.

15 years ago2010-07-20 Vadim Solomin <vadic052@gmail.com>
Vadim Solomin [Tue, 20 Jul 2010 16:14:00 +0000 (17:14 +0100)] 
2010-07-20  Vadim Solomin  <vadic052@gmail.com>
2010-07-20  Colin Watson  <cjwatson@ubuntu.com>

Generate device.map in something closer to the old ordering.

* util/deviceiter.c (struct device): New declaration.
(compare_file_names): Rename to ...
(compare_devices): ... this.  Sort by kernel name in preference to
the stable by-id name, but keep the latter as a fallback comparison.
Update header comment.
(grub_util_iterate_devices) [__linux__]: Construct and sort an array
of `struct device' rather than of plain file names.

Also-By: Colin Watson <cjwatson@ubuntu.com>
15 years ago * lib/i386/relocator_asm.S [! __x86_64__]: Don't try to disable amd64
Thomas Frauendorfer [Tue, 20 Jul 2010 13:59:56 +0000 (15:59 +0200)] 
* lib/i386/relocator_asm.S [! __x86_64__]: Don't try to disable amd64
on i386.

15 years ago * commands/acpi.c (setup_common_tables): Use sizeof instead of
Vladimir 'phcoder' Serbinenko [Tue, 20 Jul 2010 12:42:32 +0000 (14:42 +0200)] 
* commands/acpi.c (setup_common_tables): Use sizeof instead of
hardcoding size.
(setv1table): Likewise.

15 years ago2010-07-20 Colin Watson <cjwatson@ubuntu.com>
Felix Zielcke [Tue, 20 Jul 2010 10:26:27 +0000 (11:26 +0100)] 
2010-07-20  Colin Watson  <cjwatson@ubuntu.com>

* disk/raid.c (insert_array): Use md/%s to name mdadm 1.x devices,
removing the homehost if present.
* kern/emu/getroot.c (get_mdadm_name) [__linux__]: New function.
(grub_util_get_grub_dev): Use md/%s to name mdadm 1.x devices,
removing the homehost if present.
(grub_util_get_grub_dev) [__linux__]: Get the array name from mdadm
if possible.
* util/i386/pc/grub-setup.c (main): Handle md/* devices.

* disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Add start_sector
parameter.  Set its pointer target to 0.
* disk/mdraid_linux.c (grub_mdraid_detect): Add start_sector
parameter.  Set its pointer target to 0 for 0.9 metadata, or to the
`data_offset' value from the superblock for 1.x metadata.
* disk/raid.c (grub_raid_read): Offset reads by the start sector of
data on the device.
(insert_array): Record the start sector of data on the device.
(grub_raid_register): Pass start_sector parameters to
grub_raid_list->detect and insert_array.
* include/grub/raid.h (struct grub_raid_array): Add start_sector
member.
(struct grub_raid): Add start_sector parameter to `detect'.

* disk/mdraid_linux.c (struct grub_raid_super_1x): Remove
__attribute__ ((packed)), leaving a comment.
(grub_mdraid_detect): Split out 0.9 and 1.x detection to ...
(grub_mdraid_detect_09): ... here and ...
(grub_mdraid_detect_1x): ... here.

2010-07-20  Peter Henn  <peter.henn@web.de>

* disk/mdraid_linux.c (grub_mdraid_detect): Fix calculation of 1.x
chunk size and disk size, which are already given as sector counts
as distinct from the 0.90 units.  Fetch the correct device number
from the role table instead of using the table index.

2010-07-20  Felix Zielcke  <fzielcke@z-51.de>

* disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Set array->name to NULL.
* disk/mdraid_linux.c (grub_raid_super_1x): New structure.
(WriteMostly1): New macro.
Set array->name to NULL for metadata format 0.90.  Add support for
metadata 1.x.  Fix some comments.
* disk/raid.c (): Add support for name based RAID arrays.  Fix a
few comments.
* util/getroot.c (grub_util_get_grub_dev): Add support for
/dev/md/name style devices.

Also-By: Peter Henn <peter.henn@web.de>
Also-By: Colin Watson <cjwatson@ubuntu.com>
15 years ago* .bzrignore: Ignore 20_linux_xen.
Colin Watson [Tue, 20 Jul 2010 10:20:23 +0000 (11:20 +0100)] 
* .bzrignore: Ignore 20_linux_xen.

15 years ago* disk/mdraid_linux.c: Update copyright years.
Colin Watson [Tue, 20 Jul 2010 10:10:49 +0000 (11:10 +0100)] 
* disk/mdraid_linux.c: Update copyright years.
* disk/raid.c: Likewise.
* include/grub/raid.h: Likewise.
* kern/emu/getroot.c: Likewise.

15 years ago* disk/mdraid_linux.c (struct grub_raid_super_1x): Remove
Colin Watson [Mon, 19 Jul 2010 10:35:16 +0000 (11:35 +0100)] 
* disk/mdraid_linux.c (struct grub_raid_super_1x): Remove
__attribute__ ((packed)), leaving a comment.
(grub_mdraid_detect): Split out 0.9 and 1.x detection to ...
(grub_mdraid_detect_09): ... here and ...
(grub_mdraid_detect_1x): ... here.
* disk/raid.c (insert_array): Check for grub_xasprintf returning
NULL.

15 years agoAllow psartial transfers and use them for usbserial
Vladimir 'phcoder' Serbinenko [Mon, 19 Jul 2010 06:43:01 +0000 (08:43 +0200)] 
Allow psartial transfers and use them for usbserial

15 years agoUse generic description of HID endpoints
Vladimir 'phcoder' Serbinenko [Sun, 18 Jul 2010 22:13:06 +0000 (00:13 +0200)] 
Use generic description of HID endpoints

15 years agofix losing pl2303 input at the price of losing some input bytes sometimes.
Vladimir 'phcoder' Serbinenko [Sun, 18 Jul 2010 22:12:59 +0000 (00:12 +0200)] 
fix losing pl2303 input at the price of losing some input bytes sometimes.

15 years agoPL2303 works and is configurable. But sometime input is lost
Vladimir 'phcoder' Serbinenko [Sun, 18 Jul 2010 21:12:08 +0000 (23:12 +0200)] 
PL2303 works and is configurable. But sometime input is lost

15 years agoSomewhat working although a lot of hardcoding pl2303
Vladimir 'phcoder' Serbinenko [Sun, 18 Jul 2010 19:36:00 +0000 (21:36 +0200)] 
Somewhat working although a lot of hardcoding pl2303

15 years agoAdd possibility of bulk reading with short timeout
Vladimir 'phcoder' Serbinenko [Sun, 18 Jul 2010 19:35:22 +0000 (21:35 +0200)] 
Add possibility of bulk reading with short timeout

15 years ago* disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Add start_sector
Colin Watson [Sun, 18 Jul 2010 17:31:10 +0000 (18:31 +0100)] 
* disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Add start_sector
parameter.  Set its pointer target to 0.
* disk/mdraid_linux.c (grub_mdraid_detect): Add start_sector
parameter.  Set its pointer target to 0 for 0.9 metadata, or to the
`data_offset' value from the superblock for 1.x metadata.
* disk/raid.c (grub_raid_read): Offset reads by the start sector of
data on the device.
(insert_array): Record the start sector of data on the device.
(grub_raid_register): Pass start_sector parameters to
grub_raid_list->detect and insert_array.
* include/grub/raid.h (struct grub_raid_array): Add start_sector
member.
(struct grub_raid): Add start_sector parameter to `detect'.

15 years agoenable usbserial on grub-emu
Vladimir 'phcoder' Serbinenko [Sun, 18 Jul 2010 17:11:09 +0000 (19:11 +0200)] 
enable usbserial on grub-emu

15 years agoSplit common usbserial function. PL2303 skeleton
Vladimir 'phcoder' Serbinenko [Sun, 18 Jul 2010 17:10:57 +0000 (19:10 +0200)] 
Split common usbserial function. PL2303 skeleton

15 years agoaccount for absence of NS8250 on emu
Vladimir 'phcoder' Serbinenko [Sun, 18 Jul 2010 17:09:54 +0000 (19:09 +0200)] 
account for absence of NS8250 on emu

15 years agoAdd fini routines for usbserial and rename grub_usbserial to grub_ftdi
Vladimir 'phcoder' Serbinenko [Sun, 18 Jul 2010 15:40:42 +0000 (17:40 +0200)] 
Add fini routines for usbserial and rename grub_usbserial to grub_ftdi

15 years ago* disk/raid.c (insert_array): Use md/%s to name mdadm 1.x devices,
Colin Watson [Sun, 18 Jul 2010 14:53:14 +0000 (15:53 +0100)] 
* disk/raid.c (insert_array): Use md/%s to name mdadm 1.x devices,
removing the homehost if present.
* kern/emu/getroot.c (get_mdadm_name) [__linux__]: New function.
(grub_util_get_grub_dev): Use md/%s to name mdadm 1.x devices,
removing the homehost if present.
(grub_util_get_grub_dev) [__linux__]: Get the array name from mdadm
if possible.
* util/i386/pc/grub-setup.c (main): Handle md/* devices.

15 years agoRename usbserial to usbserial_ftdi
Vladimir 'phcoder' Serbinenko [Sun, 18 Jul 2010 14:31:42 +0000 (16:31 +0200)] 
Rename usbserial to usbserial_ftdi

15 years agoConfigure word length
Vladimir 'phcoder' Serbinenko [Sun, 18 Jul 2010 13:07:59 +0000 (15:07 +0200)] 
Configure word length

15 years agoSupport variable speed
Vladimir 'phcoder' Serbinenko [Sun, 18 Jul 2010 13:00:50 +0000 (15:00 +0200)] 
Support variable speed

15 years agosome serial config support
Vladimir 'phcoder' Serbinenko [Sun, 18 Jul 2010 12:43:23 +0000 (14:43 +0200)] 
some serial config support

15 years agoEncapsulate serial config in dedicated structure
Vladimir 'phcoder' Serbinenko [Sun, 18 Jul 2010 11:40:48 +0000 (13:40 +0200)] 
Encapsulate serial config in dedicated structure

15 years agousbserial basic support. Works in qemu
Vladimir 'phcoder' Serbinenko [Sun, 18 Jul 2010 10:53:35 +0000 (12:53 +0200)] 
usbserial basic support. Works in qemu

15 years agoDon't check transaction active flag as it's not updated and creates problems for...
Vladimir 'phcoder' Serbinenko [Sun, 18 Jul 2010 10:53:08 +0000 (12:53 +0200)] 
Don't check transaction active flag as it's not updated and creates problems for usbserial

15 years agoRemove debug comment-out
Vladimir 'phcoder' Serbinenko [Sat, 17 Jul 2010 23:41:08 +0000 (01:41 +0200)] 
Remove debug comment-out

15 years agoRestructure serial in order to prepare for usbserial. As a byproduct simultaneous...
Vladimir 'phcoder' Serbinenko [Sat, 17 Jul 2010 23:37:19 +0000 (01:37 +0200)] 
Restructure serial in order to prepare for usbserial. As a byproduct simultaneous serial consoles are possible

15 years agoAlways show class
Vladimir 'phcoder' Serbinenko [Sat, 17 Jul 2010 23:35:55 +0000 (01:35 +0200)] 
Always show class

15 years ago* util/import_unicode.py: Remove unnecessary imports.
Colin Watson [Sat, 17 Jul 2010 18:27:18 +0000 (19:27 +0100)] 
* util/import_unicode.py: Remove unnecessary imports.

15 years agomerge mainline
Colin Watson [Sat, 17 Jul 2010 10:17:49 +0000 (11:17 +0100)] 
merge mainline

15 years agoSupport USB device drivers autoloading
Vladimir 'phcoder' Serbinenko [Sat, 17 Jul 2010 01:58:23 +0000 (03:58 +0200)] 
Support USB device drivers autoloading

15 years agoDetect usb keyboard properly, support keyboard hotpluanad multiple keyboards
Vladimir 'phcoder' Serbinenko [Sat, 17 Jul 2010 01:57:59 +0000 (03:57 +0200)] 
Detect usb keyboard properly, support keyboard hotpluanad multiple keyboards

15 years ago Hotplugging and USB hub support.
Aleš Nesrsta [Sat, 17 Jul 2010 01:06:34 +0000 (03:06 +0200)] 
Hotplugging and USB hub support.

* bus/usb/ohci.c (grub_ohci_td): Add convenience fields.
(grub_ohci): Likewise.
(GRUB_OHCI_REG_CONTROL_BULK_ENABLE): New definition.
(GRUB_OHCI_REG_CONTROL_CONTROL_ENABLE): Likewise.
(GRUB_OHCI_RESET_CONNECT_CHANGE): Likewise.
(GRUB_OHCI_CTRL_EDS): Likewise.
(GRUB_OHCI_BULK_EDS): Likewise.
(GRUB_OHCI_TDS): Likewise.
(GRUB_OHCI_ED_ADDR_MASK): Likewise.
(grub_ohci_ed_phys2virt): New function.
(grub_ohci_virt_to_phys): Likewise.
(grub_ohci_td_phys2virt): Likewise.
(grub_ohci_td_virt2phys): Likewise.
(grub_ohci_pci_iter): Allocate memory and don't wait for stable
attachment.
(grub_ohci_find_ed): New function.
(grub_ohci_alloc_td): Likewise.
(grub_ohci_free_td): Likewise.
(grub_ohci_free_tds): Likewise.
(grub_ohci_transfer): Use previously allocated memory.
(grub_ohci_portstatus): Reset status changed bit.
(grub_ohci_detect_dev): Supply status changed.
(grub_ohci_fini_hw): Free memory.
(grub_ohci_restore_hw): Reallocate memory.
* bus/usb/uhci.c (grub_uhci_portstatus): Don't reset on disable.
Reset status change.
(grub_uhci_detect_dev): Supply status_change.
* bus/usb/usb.c (attach_hooks): New var.
(grub_usb_device_attach): New function.
(grub_usb_register_attach_hook_class): Likewise.
(grub_usb_unregister_attach_hook_class): Likewise.
* bus/usb/usbhub.c (grub_usb_hub_add_dev): Handle errors correctly.
(grub_usb_add_hub): Reset connection changed bit.
(attach_root_port): New function.
(grub_usb_root_hub): Likewise.
(poll_nonroot_hub): Likewise.
(grub_usb_poll_devices): Likewise.
* commands/usbtest.c (grub_cmd_usbtest): Poll devices before listing.
* disk/usbms.c (grub_usbms_open): Use device hooks.
(grub_usbms_iterate) :Poll devices.
(grub_usbms_finddevs): Split into ...
(grub_usbms_attach): ... this ...
(grub_usbms_attach): ... and this.
* include/grub/usb.h (grub_usb_controller_dev): Supply status_changed
in detect_dev.
(grub_usb_interface): New fields attached and detach_hook.
(grub_usb_attach_hook_class): New type.
(grub_usb_attach_desc): New struct.
(grub_usb_register_attach_hook_class): New function.
(grub_usb_unregister_attach_hook_class): Likewise.
(grub_usb_poll_devices): Likewise.
(grub_usb_device_attach): Likewise.
* include/grub/usbtrans.h (GRUB_USB_HUB_FEATURE_C_CONNECTED): New const.
(GRUB_USB_HUB_STATUS_C_CONNECTED): Likewise.

15 years agoMerge mainline into usb
Vladimir 'phcoder' Serbinenko [Sat, 17 Jul 2010 00:44:33 +0000 (02:44 +0200)] 
Merge mainline into usb

15 years ago * include/grub/bsdlabel.h (GRUB_PC_PARTITION_BSD_LABEL_WHOLE_DISK_PARTITION): New...
Vladimir 'phcoder' Serbinenko [Fri, 16 Jul 2010 23:57:48 +0000 (01:57 +0200)] 
* include/grub/bsdlabel.h (GRUB_PC_PARTITION_BSD_LABEL_WHOLE_DISK_PARTITION): New definition.
* partmap/bsdlabel.c (bsdlabel_partition_map_iterate): Use FreeBSD
delta determination style. Works with most NetBSD partitions too.

15 years ago * kern/partition.c [GRUB_UTIL]: Add missing util/misc.h inclusion.
Vladimir 'phcoder' Serbinenko [Fri, 16 Jul 2010 23:55:01 +0000 (01:55 +0200)] 
* kern/partition.c [GRUB_UTIL]: Add missing util/misc.h inclusion.
* partmap/bsdlabel.c [GRUB_UTIL]: Likewise.

15 years ago * disk/scsi.c (grub_scsi_open): Fix incorrect pointer dereference.
Vladimir 'phcoder' Serbinenko [Fri, 16 Jul 2010 23:52:41 +0000 (01:52 +0200)] 
* disk/scsi.c (grub_scsi_open): Fix incorrect pointer dereference.

15 years agomerge mainline into usb
Vladimir 'phcoder' Serbinenko [Fri, 16 Jul 2010 23:14:13 +0000 (01:14 +0200)] 
merge mainline into usb

15 years agoUse inline functions instead of macros
Vladimir 'phcoder' Serbinenko [Fri, 16 Jul 2010 22:57:14 +0000 (00:57 +0200)] 
Use inline functions instead of macros

15 years agoFix mismerge
Vladimir 'phcoder' Serbinenko [Fri, 16 Jul 2010 22:56:38 +0000 (00:56 +0200)] 
Fix mismerge

15 years ago* loader/powerpc/ieee1275/linux.c (grub_cmd_linux): Do not reject
Anton Blanchard [Wed, 14 Jul 2010 15:47:45 +0000 (16:47 +0100)] 
* loader/powerpc/ieee1275/linux.c (grub_cmd_linux): Do not reject
ET_DYN files.

15 years agoFix condition in Makefile.in's LINGUAS assignment.
Grégoire Sutre [Wed, 14 Jul 2010 14:47:28 +0000 (16:47 +0200)] 
Fix condition in Makefile.in's LINGUAS assignment.

15 years agoDiscard improperly nested partitions.
Grégoire Sutre [Wed, 14 Jul 2010 09:26:17 +0000 (11:26 +0200)] 
Discard improperly nested partitions.

15 years ago* Makefile.in (.SUFFIX): Spell correctly, as ...
Colin Watson [Tue, 13 Jul 2010 11:24:07 +0000 (12:24 +0100)] 
* Makefile.in (.SUFFIX): Spell correctly, as ...
(.SUFFIXES): ... this.  Fixes bug where `make foo' (where foo is a
bare module name without `.mod', e.g. `test') tried to invoke a
Modula-2 compiler.

15 years ago* README: Point to the Info manual.
Colin Watson [Tue, 13 Jul 2010 11:20:32 +0000 (12:20 +0100)] 
* README: Point to the Info manual.

15 years ago * fs/nilfs2.c: fix macro NILFS_2ND_SUPER_BLOCK to calculate
Jiro SEKIBA [Tue, 13 Jul 2010 09:47:30 +0000 (11:47 +0200)] 
* fs/nilfs2.c: fix macro NILFS_2ND_SUPER_BLOCK to calculate
2nd superblock position from partition size.

15 years ago* Makefile.in (MAINTAINER_CLEANFILES): Remove
Colin Watson [Sat, 10 Jul 2010 21:37:05 +0000 (22:37 +0100)] 
* Makefile.in (MAINTAINER_CLEANFILES): Remove
unicode/UnicodeData.txt, unicode/BidiMirroring.txt, and
unicode/ArabicShaping.txt again; these are inputs to autogen.sh, not
outputs.

15 years ago Restructure SCSI .id handling.
Vladimir 'phcoder' Serbinenko [Sat, 10 Jul 2010 00:59:33 +0000 (02:59 +0200)] 
Restructure SCSI .id handling.
Reported and tested by: Aleš Nesrsta.

* disk/ata.c (grub_atapi_close): Removed. All users updated.
(grub_atapi_dev): Changed .name to "ata". New field .id.
* disk/usbms.c (grub_usbms_close): Removed. All users updated.
(grub_usbms_dev): New field .id.
* disk/scsi.c (grub_scsi_iterate): Generate name.
(grub_scsi_open): Parse name.
* include/grub/scsi.h (grub_make_scsi_id): New function.
(grub_scsi_dev): Change iterate and open to number instead of naming
busses. All users updated.
(grub_scsi): Remove name. Add .bus.

15 years ago * commands/help.c (grub_cmd_help): Fix a typo.
Vladimir 'phcoder' Serbinenko [Sat, 10 Jul 2010 00:40:41 +0000 (02:40 +0200)] 
* commands/help.c (grub_cmd_help): Fix a typo.

15 years ago * normal/term.c (put_glyphs_terminal): Fix state->num_lines counting.
Vladimir 'phcoder' Serbinenko [Sat, 10 Jul 2010 00:23:48 +0000 (02:23 +0200)] 
* normal/term.c (put_glyphs_terminal): Fix state->num_lines counting.
Reported and tested by: Colin Watson.

15 years ago * util/grub-mkrescue.in: Don't use tar GNU-ism since it's not necessary
Vladimir 'phcoder' Serbinenko [Sat, 10 Jul 2010 00:15:49 +0000 (02:15 +0200)] 
* util/grub-mkrescue.in: Don't use tar GNU-ism since it's not necessary
in this context.

15 years agoUSB hot-plugging
starous [Thu, 8 Jul 2010 20:54:35 +0000 (22:54 +0200)] 
USB hot-plugging

15 years ago * tests/util/grub-shell.in: Remove bashisms and declare as sh script.
Vladimir 'phcoder' Serbinenko [Wed, 7 Jul 2010 15:51:26 +0000 (17:51 +0200)] 
* tests/util/grub-shell.in: Remove bashisms and declare as sh script.

15 years ago* term/gfxterm.c (grub_gfxterm_background_image_cmd): Fix
Colin Watson [Wed, 7 Jul 2010 13:12:16 +0000 (14:12 +0100)] 
* term/gfxterm.c (grub_gfxterm_background_image_cmd): Fix
indentation.

15 years ago* conf/common.rmk (grub_probe_SOURCES): Add disk/raid5_recover.c
Colin Watson [Tue, 6 Jul 2010 18:27:55 +0000 (19:27 +0100)] 
* conf/common.rmk (grub_probe_SOURCES): Add disk/raid5_recover.c
and disk/raid6_recover.c.
* conf/i386-pc.rmk (grub_setup_SOURCES): Likewise.
* conf/sparc64-ieee1275.rmk (grub_setup_SOURCES): Likewise.

15 years ago* term/gfxterm.c (repaint_schedulded): Rename to ...
Colin Watson [Tue, 6 Jul 2010 17:31:45 +0000 (18:31 +0100)] 
* term/gfxterm.c (repaint_schedulded): Rename to ...
(repaint_scheduled): ... this.  Update all callers.
(repaint_was_schedulded): Rename to ...
(repaint_was_scheduled): ... this.  Update all callers.

15 years ago* util/deviceiter.c (grub_util_iterate_devices): Skip MD devices,
Colin Watson [Tue, 6 Jul 2010 14:10:36 +0000 (15:10 +0100)] 
* util/deviceiter.c (grub_util_iterate_devices): Skip MD devices,
which we expect to be handled by upper layers.

15 years ago * bus/usb/usbhub.c: #include time.h header.
BVK Chaitanya [Tue, 6 Jul 2010 09:23:55 +0000 (14:53 +0530)] 
* bus/usb/usbhub.c: #include time.h header.

15 years ago* fs/reiserfs.c (grub_reiserfs_iterate_dir): Zero out first byte of
Colin Watson [Tue, 6 Jul 2010 08:51:42 +0000 (09:51 +0100)] 
* fs/reiserfs.c (grub_reiserfs_iterate_dir): Zero out first byte of
entry_name also for entries without stat blocks (e.g. ".."); fixes
corruption of the first entry in a directory.

15 years ago* util/grub.d/00_header.in: Process GRUB_THEME and GRUB_BACKGROUND
Colin Watson [Tue, 6 Jul 2010 08:42:37 +0000 (09:42 +0100)] 
* util/grub.d/00_header.in: Process GRUB_THEME and GRUB_BACKGROUND
after setting gfxterm as the active terminal.  GRUB_BACKGROUND
doesn't work otherwise.

15 years agoRevert latest two Aleš' commits
Vladimir 'phcoder' Serbinenko [Mon, 5 Jul 2010 23:55:26 +0000 (01:55 +0200)] 
Revert latest two Aleš' commits