]> git.ipfire.org Git - thirdparty/grub.git/log
thirdparty/grub.git
15 years agoOnly open the card in netboot.
Manoel R. Abranches [Thu, 29 Jul 2010 21:07:09 +0000 (18:07 -0300)] 
Only open the card in netboot.

15 years agofix help message logic
BVK Chaitanya [Thu, 29 Jul 2010 21:01:14 +0000 (02:31 +0530)] 
fix help message logic

15 years agoUse server and client IP from the bootp packet.
Manoel R. Abranches [Thu, 29 Jul 2010 20:52:54 +0000 (17:52 -0300)] 
Use server and client IP from the bootp packet.

15 years agoFixed get_card_packet to correctly read data from network card into buffer.
Paulo de Rezende Pinatti [Thu, 29 Jul 2010 19:36:17 +0000 (16:36 -0300)] 
Fixed get_card_packet to correctly read data from network card into buffer.

* net/ieee1275/interface.c (get_card_packet): read data regardless of ethernet header

15 years agomove wildcard translator into regexp module
BVK Chaitanya [Thu, 29 Jul 2010 18:02:56 +0000 (23:32 +0530)] 
move wildcard translator into regexp module

15 years agoremoved an unused variabled
BVK Chaitanya [Thu, 29 Jul 2010 17:24:07 +0000 (22:54 +0530)] 
removed an unused variabled

15 years agocleanup
BVK Chaitanya [Thu, 29 Jul 2010 17:22:09 +0000 (22:52 +0530)] 
cleanup

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 agocleanup
BVK Chaitanya [Thu, 29 Jul 2010 15:39:18 +0000 (21:09 +0530)] 
cleanup

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 agoupdated testcase
BVK Chaitanya [Thu, 29 Jul 2010 11:29:49 +0000 (16:59 +0530)] 
updated testcase

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 agoadd comment
BVK Chaitanya [Thu, 22 Jul 2010 22:35:15 +0000 (04:05 +0530)] 
add comment

15 years agopull-in func-params branch
BVK Chaitanya [Thu, 22 Jul 2010 22:02:12 +0000 (03:32 +0530)] 
pull-in func-params branch

15 years agoseparate expansions for disks and partitions
BVK Chaitanya [Thu, 22 Jul 2010 22:00:26 +0000 (03:30 +0530)] 
separate expansions for disks and partitions

15 years agosuppress unwanted shell expansion
BVK Chaitanya [Thu, 22 Jul 2010 21:27:02 +0000 (02:57 +0530)] 
suppress unwanted shell expansion

15 years agomerge with mainline
BVK Chaitanya [Thu, 22 Jul 2010 21:14:22 +0000 (02:44 +0530)] 
merge with mainline

15 years agocleanup
BVK Chaitanya [Thu, 22 Jul 2010 17:52:36 +0000 (23:22 +0530)] 
cleanup

15 years agopull-in block-arg again
BVK Chaitanya [Thu, 22 Jul 2010 17:48:28 +0000 (23:18 +0530)] 
pull-in block-arg again

15 years agomerge with mainline
BVK Chaitanya [Thu, 22 Jul 2010 17:46:22 +0000 (23:16 +0530)] 
merge with mainline

15 years agoremoved unnecessary grammar rules
BVK Chaitanya [Thu, 22 Jul 2010 17:20:04 +0000 (22:50 +0530)] 
removed unnecessary grammar rules

15 years agopull-in func-params branch
BVK Chaitanya [Thu, 22 Jul 2010 17:10:06 +0000 (22:40 +0530)] 
pull-in func-params branch

15 years agomerge with mainline
BVK Chaitanya [Thu, 22 Jul 2010 17:09:42 +0000 (22:39 +0530)] 
merge with mainline

15 years agomerge with mainline
BVK Chaitanya [Thu, 22 Jul 2010 17:09:20 +0000 (22:39 +0530)] 
merge with mainline

15 years agopull-in func-params branch
BVK Chaitanya [Thu, 22 Jul 2010 17:07:10 +0000 (22:37 +0530)] 
pull-in func-params branch

15 years agomenuentry can pass parameters to its definition
BVK Chaitanya [Thu, 22 Jul 2010 15:45:14 +0000 (21:15 +0530)] 
menuentry can pass parameters to its definition

15 years agofix a memory issue
BVK Chaitanya [Thu, 22 Jul 2010 15:43:45 +0000 (21:13 +0530)] 
fix a memory issue

15 years agomenuentry option parsing is done using lib/arg.c
BVK Chaitanya [Thu, 22 Jul 2010 13:31:40 +0000 (19:01 +0530)] 
menuentry option parsing is done using lib/arg.c

15 years agopull-in block-arg again
BVK Chaitanya [Thu, 22 Jul 2010 00:04:38 +0000 (05:34 +0530)] 
pull-in block-arg again

15 years agosimplify
BVK Chaitanya [Wed, 21 Jul 2010 23:35:49 +0000 (05:05 +0530)] 
simplify

15 years agopull-in nested-record branch
BVK Chaitanya [Wed, 21 Jul 2010 23:33:49 +0000 (05:03 +0530)] 
pull-in nested-record branch

15 years agomemory management for block parameters
BVK Chaitanya [Wed, 21 Jul 2010 23:19:05 +0000 (04:49 +0530)] 
memory management for block parameters

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 agopull-in block-arg again
BVK Chaitanya [Tue, 20 Jul 2010 22:20:23 +0000 (03:50 +0530)] 
pull-in block-arg again

15 years agorestrict to only one block-arg (as last) param per command
BVK Chaitanya [Tue, 20 Jul 2010 22:17:30 +0000 (03:47 +0530)] 
restrict to only one block-arg (as last) param per command

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 agofull menuentry command support
BVK Chaitanya [Mon, 19 Jul 2010 21:03:57 +0000 (02:33 +0530)] 
full menuentry command support

15 years agoAHCI skeleton
Vladimir 'phcoder' Serbinenko [Mon, 19 Jul 2010 19:22:54 +0000 (21:22 +0200)] 
AHCI skeleton

15 years agopull-in block-arg again
BVK Chaitanya [Mon, 19 Jul 2010 18:43:57 +0000 (00:13 +0530)] 
pull-in block-arg again

15 years agoadd {} around block-arg that is passed through argv
BVK Chaitanya [Mon, 19 Jul 2010 18:40:44 +0000 (00:10 +0530)] 
add {} around block-arg that is passed through argv

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 agofix a memory leak
BVK Chaitanya [Sun, 18 Jul 2010 19:31:53 +0000 (01:01 +0530)] 
fix a memory leak

15 years agopull-in block-arg branch
BVK Chaitanya [Sun, 18 Jul 2010 19:23:18 +0000 (00:53 +0530)] 
pull-in block-arg branch

15 years agofix automatic option parsing for dynamic commands
BVK Chaitanya [Sun, 18 Jul 2010 19:14:21 +0000 (00:44 +0530)] 
fix automatic option parsing for dynamic commands

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 agomerge with mainline
BVK Chaitanya [Sun, 18 Jul 2010 16:33:28 +0000 (22:03 +0530)] 
merge with mainline

15 years agomerge with mainline
BVK Chaitanya [Sun, 18 Jul 2010 16:04:03 +0000 (21:34 +0530)] 
merge with mainline

15 years agomerge with mainline
BVK Chaitanya [Sun, 18 Jul 2010 15:53:58 +0000 (21:23 +0530)] 
merge with mainline

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 agoundo changes to hello command
BVK Chaitanya [Sun, 18 Jul 2010 15:30:58 +0000 (21:00 +0530)] 
undo changes to hello command

15 years agoupdate dynamic cmd dispatch with scripts support
BVK Chaitanya [Sun, 18 Jul 2010 15:16:21 +0000 (20:46 +0530)] 
update dynamic cmd dispatch with scripts support

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 agocomments
BVK Chaitanya [Fri, 16 Jul 2010 20:02:36 +0000 (01:32 +0530)] 
comments

15 years agomore build fixes
BVK Chaitanya [Wed, 14 Jul 2010 20:32:01 +0000 (02:02 +0530)] 
more build fixes