1
2010-07-20 Colin Watson <cjwatson@ubuntu.com>
3
* bus/usb/emu/usb.c (grub_usb_poll_devices): Add a dummy
4
implementation of this so that grub-emu links again, with a note
5
that this should support hotplugging in the future.
7
2010-07-20 Colin Watson <cjwatson@ubuntu.com>
9
* kern/emu/getroot.c (grub_util_get_grub_dev): Use xasprintf.
11
2010-07-20 Colin Watson <cjwatson@ubuntu.com>
13
* disk/loopback.c (grub_cmd_loopback): Don't leak a grub_file_t
15
(grub_loopback_close): Remove empty function.
16
(grub_loopback_dev): Remove close method.
18
2010-07-20 Colin Watson <cjwatson@ubuntu.com>
20
Disable EFI cursor when the EFI console becomes inactive.
22
* term/efi/console.c (grub_efi_console_init): New function.
23
(grub_efi_console_fini): New function.
24
(grub_console_term_output): Register init and fini methods.
26
2010-07-20 Vladimir Serbinenko <phcoder@gmail.com>
28
* tests/util/grub-shell-tester.in: Remove bashism and declare as
31
2010-07-20 Vladimir Serbinenko <phcoder@gmail.com>
33
* disk/loopback.c (grub_loopback): Replace filename with file.
34
(delete_loopback): Handle new semantics.
35
(grub_cmd_loopback): Likewise.
36
(grub_loopback_iterate): Likewise.
37
(grub_loopback_close): Likewise.
39
2010-07-20 Vladimir Serbinenko <phcoder@gmail.com>
41
* util/i386/efi/grub-install.in: Revert to platform-specific behaviour
43
Reported by: Tito Keitel.
45
2010-07-20 Vladimir Serbinenko <phcoder@gmail.com>
47
* docs/grub.texi (Naming convention): Document new naming convention.
49
2010-07-20 Vadim Solomin <vadic052@gmail.com>
50
2010-07-20 Colin Watson <cjwatson@ubuntu.com>
52
Generate device.map in something closer to the old ordering.
54
* util/deviceiter.c (struct device): New declaration.
55
(compare_file_names): Rename to ...
56
(compare_devices): ... this. Sort by kernel name in preference to
57
the stable by-id name, but keep the latter as a fallback comparison.
58
Update header comment.
59
(grub_util_iterate_devices) [__linux__]: Construct and sort an array
60
of `struct device' rather than of plain file names.
62
2010-07-20 Thomas Frauendorfer <Thomas.Frauendorfer@googlemail.com>
64
* lib/i386/relocator_asm.S [! __x86_64__]: Don't try to disable amd64
67
2010-07-20 Vladimir Serbinenko <phcoder@gmail.com>
69
* commands/acpi.c (setup_common_tables): Use sizeof instead of
71
(setv1table): Likewise.
73
2010-07-20 Colin Watson <cjwatson@ubuntu.com>
75
* disk/raid.c (insert_array): Use md/%s to name mdadm 1.x devices,
76
removing the homehost if present.
77
* kern/emu/getroot.c (get_mdadm_name) [__linux__]: New function.
78
(grub_util_get_grub_dev): Use md/%s to name mdadm 1.x devices,
79
removing the homehost if present.
80
(grub_util_get_grub_dev) [__linux__]: Get the array name from mdadm
82
* util/i386/pc/grub-setup.c (main): Handle md/* devices.
84
* disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Add start_sector
85
parameter. Set its pointer target to 0.
86
* disk/mdraid_linux.c (grub_mdraid_detect): Add start_sector
87
parameter. Set its pointer target to 0 for 0.9 metadata, or to the
88
`data_offset' value from the superblock for 1.x metadata.
89
* disk/raid.c (grub_raid_read): Offset reads by the start sector of
91
(insert_array): Record the start sector of data on the device.
92
(grub_raid_register): Pass start_sector parameters to
93
grub_raid_list->detect and insert_array.
94
* include/grub/raid.h (struct grub_raid_array): Add start_sector
96
(struct grub_raid): Add start_sector parameter to `detect'.
98
* disk/mdraid_linux.c (struct grub_raid_super_1x): Remove
99
__attribute__ ((packed)), leaving a comment.
100
(grub_mdraid_detect): Split out 0.9 and 1.x detection to ...
101
(grub_mdraid_detect_09): ... here and ...
102
(grub_mdraid_detect_1x): ... here.
104
2010-07-20 Peter Henn <peter.henn@web.de>
106
* disk/mdraid_linux.c (grub_mdraid_detect): Fix calculation of 1.x
107
chunk size and disk size, which are already given as sector counts
108
as distinct from the 0.90 units. Fetch the correct device number
109
from the role table instead of using the table index.
111
2010-07-20 Felix Zielcke <fzielcke@z-51.de>
113
* disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Set array->name to NULL.
114
* disk/mdraid_linux.c (grub_raid_super_1x): New structure.
115
(WriteMostly1): New macro.
116
Set array->name to NULL for metadata format 0.90. Add support for
117
metadata 1.x. Fix some comments.
118
* disk/raid.c (): Add support for name based RAID arrays. Fix a
120
* util/getroot.c (grub_util_get_grub_dev): Add support for
121
/dev/md/name style devices.
123
2010-07-20 Colin Watson <cjwatson@ubuntu.com>
125
* .bzrignore: Ignore 20_linux_xen.
127
2010-07-17 Colin Watson <cjwatson@ubuntu.com>
129
* util/import_unicode.py: Remove unnecessary imports.
131
2010-07-17 Aleš Nesrsta <starous@volny.cz>
133
Hotplugging and USB hub support.
135
* bus/usb/ohci.c (grub_ohci_td): Add convenience fields.
136
(grub_ohci): Likewise.
137
(GRUB_OHCI_REG_CONTROL_BULK_ENABLE): New definition.
138
(GRUB_OHCI_REG_CONTROL_CONTROL_ENABLE): Likewise.
139
(GRUB_OHCI_RESET_CONNECT_CHANGE): Likewise.
140
(GRUB_OHCI_CTRL_EDS): Likewise.
141
(GRUB_OHCI_BULK_EDS): Likewise.
142
(GRUB_OHCI_TDS): Likewise.
143
(GRUB_OHCI_ED_ADDR_MASK): Likewise.
144
(grub_ohci_ed_phys2virt): New function.
145
(grub_ohci_virt_to_phys): Likewise.
146
(grub_ohci_td_phys2virt): Likewise.
147
(grub_ohci_td_virt2phys): Likewise.
148
(grub_ohci_pci_iter): Allocate memory and don't wait for stable
150
(grub_ohci_find_ed): New function.
151
(grub_ohci_alloc_td): Likewise.
152
(grub_ohci_free_td): Likewise.
153
(grub_ohci_free_tds): Likewise.
154
(grub_ohci_transfer): Use previously allocated memory.
155
(grub_ohci_portstatus): Reset status changed bit.
156
(grub_ohci_detect_dev): Supply status changed.
157
(grub_ohci_fini_hw): Free memory.
158
(grub_ohci_restore_hw): Reallocate memory.
159
* bus/usb/uhci.c (grub_uhci_portstatus): Don't reset on disable.
161
(grub_uhci_detect_dev): Supply status_change.
162
* bus/usb/usb.c (attach_hooks): New var.
163
(grub_usb_device_attach): New function.
164
(grub_usb_register_attach_hook_class): Likewise.
165
(grub_usb_unregister_attach_hook_class): Likewise.
166
* bus/usb/usbhub.c (grub_usb_hub_add_dev): Handle errors correctly.
167
(grub_usb_add_hub): Reset connection changed bit.
168
(attach_root_port): New function.
169
(grub_usb_root_hub): Likewise.
170
(poll_nonroot_hub): Likewise.
171
(grub_usb_poll_devices): Likewise.
172
* commands/usbtest.c (grub_cmd_usbtest): Poll devices before listing.
173
* disk/usbms.c (grub_usbms_open): Use device hooks.
174
(grub_usbms_iterate) :Poll devices.
175
(grub_usbms_finddevs): Split into ...
176
(grub_usbms_attach): ... this ...
177
(grub_usbms_attach): ... and this.
178
* include/grub/usb.h (grub_usb_controller_dev): Supply status_changed
180
(grub_usb_interface): New fields attached and detach_hook.
181
(grub_usb_attach_hook_class): New type.
182
(grub_usb_attach_desc): New struct.
183
(grub_usb_register_attach_hook_class): New function.
184
(grub_usb_unregister_attach_hook_class): Likewise.
185
(grub_usb_poll_devices): Likewise.
186
(grub_usb_device_attach): Likewise.
187
* include/grub/usbtrans.h (GRUB_USB_HUB_FEATURE_C_CONNECTED): New const.
188
(GRUB_USB_HUB_STATUS_C_CONNECTED): Likewise.
190
2010-07-17 Vladimir Serbinenko <phcoder@gmail.com>
192
* include/grub/bsdlabel.h (GRUB_PC_PARTITION_BSD_LABEL_WHOLE_DISK_PARTITION): New definition.
193
* partmap/bsdlabel.c (bsdlabel_partition_map_iterate): Use FreeBSD
194
delta determination style. Works with most NetBSD partitions too.
196
2010-07-17 Vladimir Serbinenko <phcoder@gmail.com>
198
* kern/partition.c [GRUB_UTIL]: Add missing util/misc.h inclusion.
199
* partmap/bsdlabel.c [GRUB_UTIL]: Likewise.
201
2010-07-17 Vladimir Serbinenko <phcoder@gmail.com>
203
* disk/scsi.c (grub_scsi_open): Fix incorrect pointer dereference.
205
2010-07-14 Anton Blanchard <anton@samba.org>
207
* loader/powerpc/ieee1275/linux.c (grub_cmd_linux): Do not reject
210
2010-07-14 Grégoire Sutre <gregoire.sutre@gmail.com>
212
* Makefile.in: Use the substituted @USE_NLS@ instead of ENABLE_NLS.
214
2010-07-14 Grégoire Sutre <gregoire.sutre@gmail.com>
216
* kern/partition.c (grub_partition_check_containment): New function to
217
check that a partition is physically contained in a parent. Since
218
offsets are relative (and non-negative), this reduces to checking that
219
the partition ends before its parent.
220
(grub_partition_map_probe): Discard out-of-range sub-partitions.
221
(grub_partition_iterate): Likewise.
222
* include/grub/partition.h (grub_partition_map): Slightly more detailed
224
* partmap/bsdlabel.c (bsdlabel_partition_map_iterate): Discard
225
partitions that start before their parent, and add debug printfs.
227
2010-07-13 Colin Watson <cjwatson@ubuntu.com>
229
* Makefile.in (.SUFFIX): Spell correctly, as ...
230
(.SUFFIXES): ... this. Fixes bug where `make foo' (where foo is a
231
bare module name without `.mod', e.g. `test') tried to invoke a
234
2010-07-13 Colin Watson <cjwatson@ubuntu.com>
236
* README: Point to the Info manual.
238
2010-07-13 Jiro SEKIBA <jir@unicus.jp>
240
* fs/nilfs2.c: fix macro NILFS_2ND_SUPER_BLOCK to calculate
241
2nd superblock position from partition size.
1
243
2010-07-10 Colin Watson <cjwatson@ubuntu.com>
3
245
* Makefile.in (MAINTAINER_CLEANFILES): Remove