Aleš Nesrsta
5dab68dfa4
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.
2010-07-17 03:06:34 +02:00
Vladimir 'phcoder' Serbinenko
b92c6ff67f
Merge mainline into usb
2010-07-17 02:44:33 +02:00
Vladimir 'phcoder' Serbinenko
3222efaff3
* 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.
2010-07-17 01:57:48 +02:00
Vladimir 'phcoder' Serbinenko
139b714a93
* kern/partition.c [GRUB_UTIL]: Add missing util/misc.h inclusion.
...
* partmap/bsdlabel.c [GRUB_UTIL]: Likewise.
2010-07-17 01:55:01 +02:00
Vladimir 'phcoder' Serbinenko
986aad56c1
* disk/scsi.c (grub_scsi_open): Fix incorrect pointer dereference.
2010-07-17 01:52:41 +02:00
Vladimir 'phcoder' Serbinenko
af0bedf8af
merge mainline into usb
2010-07-17 01:14:13 +02:00
Vladimir 'phcoder' Serbinenko
36f84f1a7c
Use inline functions instead of macros
2010-07-17 00:57:14 +02:00
Vladimir 'phcoder' Serbinenko
9c17c6411a
Fix mismerge
2010-07-17 00:56:38 +02:00
Colin Watson
22d3831788
Copy-edit debian/presubj.
2010-07-16 23:29:00 +01:00
BVK Chaitanya
f6023b613f
comments
2010-07-17 01:32:36 +05:30
Mario 'BitKoenig' Holbe
92f03372c0
Update /etc/grub.d/05_debian_theme to handle multiple entries in
...
GRUB_TERMINAL_OUTPUT (closes : #589322 ).
2010-07-16 18:47:57 +01:00
Colin Watson
f6475a8f23
Indonesian (id.po) by Arief S Fitrianto ( closes : #589318 ).
2010-07-16 17:35:58 +01:00
Colin Watson
b96d9efff6
Raise priority of grub-common and grub-pc to optional (also done in
...
archive overrides).
2010-07-16 15:54:45 +01:00
Colin Watson
c6ad6c2ea4
Bulgarian (bg.po) by Damyan Ivanov ( closes : #589272 ).
2010-07-16 15:39:19 +01:00
Colin Watson
93dbaaf225
Swedish (sv.po) by Martin Bagge / brother ( closes : #589259 ).
2010-07-16 15:38:00 +01:00
Colin Watson
778b6351e4
Russian (ru.po) by Yuri Kozlov ( closes : #589244 ).
2010-07-16 15:36:35 +01:00
Colin Watson
88f22a369c
Use exact-version dependencies in grub2 and grub-efi, to reduce
...
potential confusion.
2010-07-16 15:22:10 +01:00
BVK Chaitanya
d9b78bce4a
more build fixes
2010-07-15 02:02:01 +05:30
Anton Blanchard
99be513c3b
* loader/powerpc/ieee1275/linux.c (grub_cmd_linux): Do not reject
...
ET_DYN files.
2010-07-14 16:47:45 +01:00
Grégoire Sutre
18075f6254
Fix condition in Makefile.in's LINGUAS assignment.
2010-07-14 16:47:28 +02:00
Grégoire Sutre
8d9a5b15e3
Discard improperly nested partitions.
2010-07-14 11:26:17 +02:00
Colin Watson
47678e5f1d
Simplified Chinese (zh_CN.po) by YunQiang Su ( closes : #589013 ).
2010-07-14 10:09:53 +01:00
BVK Chaitanya
c1c6e4c017
emu platform fixes
2010-07-13 23:58:30 +05:30
BVK Chaitanya
911bd64013
make build by default
2010-07-13 23:35:24 +05:30
Colin Watson
4e1666a55b
Convert from CDBS to dh.
2010-07-13 18:19:57 +01:00
Colin Watson
19563c25c1
* 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.
2010-07-13 12:24:07 +01:00
Colin Watson
1a1f1e6794
* README: Point to the Info manual.
2010-07-13 12:20:32 +01:00
Jiro SEKIBA
811b0dcab8
* fs/nilfs2.c: fix macro NILFS_2ND_SUPER_BLOCK to calculate
...
2nd superblock position from partition size.
2010-07-13 11:47:30 +02:00
Colin Watson
8e1cdebcc1
remove device.map on purge too ( closes : #547679 )
2010-07-13 03:39:10 +01:00
Colin Watson
4fecb0d2f7
Remove /boot/grub/grubenv, /boot/grub/installed-version, and
...
/boot/grub/locale/ on purge, if permitted.
2010-07-13 03:35:26 +01:00
Aaron M. Ucko
889cf22f22
Compare -trunk kernels earlier than numeric ABIs ( closes : #568160 ).
2010-07-13 02:16:36 +01:00
BVK Chaitanya
297f0c2b6e
merge with mainline
2010-07-13 00:43:28 +05:30
BVK Chaitanya
d18b05c4e3
merge with mainline
2010-07-12 17:29:44 +05:30
Colin Watson
1c0a2f4c11
releasing version 1.98+20100710-1
2010-07-12 12:33:45 +01:00
BVK Chaitanya
05df19acd5
merge with mainline
2010-07-12 17:03:01 +05:30
BVK Chaitanya
8d17eeeef2
merge with mainline
2010-07-12 16:38:19 +05:30
Colin Watson
1a8b543cc7
* New Bazaar snapshot.
...
- Handle degraded RAID arrays in grub-probe and grub-setup.
- Fix gfxterm pager handling.
2010-07-12 11:45:55 +01:00
Colin Watson
5f06af399e
Generate device.map in something closer to the old ordering (thanks,
...
Vadim Solomin).
2010-07-12 11:26:29 +01:00
Colin Watson
eec8f95efb
debconf-updatepo
2010-07-12 11:09:35 +01:00
Colin Watson
47a5147353
French (fr.po) by Christian Perrier ( closes : #588695 ).
2010-07-12 00:27:31 +01:00
BVK Chaitanya
9ec82092f1
merge with mainline
2010-07-11 21:40:25 +05:30
BVK Chaitanya
2643019702
merge with mainline
2010-07-11 21:20:26 +05:30
BVK Chaitanya
7925f8e9cf
merge with mainline
2010-07-11 21:14:18 +05:30
BVK Chaitanya
09e06f8e75
merge with mainline
2010-07-11 18:10:53 +05:30
BVK Chaitanya
e57a453ad1
merge with mainline
2010-07-11 17:55:26 +05:30
Colin Watson
e4f4eafc91
* Makefile.in (MAINTAINER_CLEANFILES): Remove
...
unicode/UnicodeData.txt, unicode/BidiMirroring.txt, and
unicode/ArabicShaping.txt again; these are inputs to autogen.sh, not
outputs.
2010-07-10 22:37:05 +01:00
Vladimir 'phcoder' Serbinenko
4274c30fbc
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.
2010-07-10 02:59:33 +02:00
Vladimir 'phcoder' Serbinenko
5bc24388fb
* commands/help.c (grub_cmd_help): Fix a typo.
2010-07-10 02:40:41 +02:00
Vladimir 'phcoder' Serbinenko
249975ba6b
* normal/term.c (put_glyphs_terminal): Fix state->num_lines counting.
...
Reported and tested by: Colin Watson.
2010-07-10 02:23:48 +02:00
Vladimir 'phcoder' Serbinenko
3eaac1a13e
* util/grub-mkrescue.in: Don't use tar GNU-ism since it's not necessary
...
in this context.
2010-07-10 02:15:49 +02:00