]> git.proxmox.com Git - grub2.git/commit - grub-core/Makefile.core.def
Suspend broadcom cards in order to stop their DMA.
authorMatthew Garrett <mjg@redhat.com>
Thu, 3 May 2012 15:26:55 +0000 (17:26 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 3 May 2012 15:26:55 +0000 (17:26 +0200)
commit9d34bb85da562830293beff424f9f2ba9318b487
tree0f01829dcd5ae64bbc16002de62287ddf9037b51
parent01aab9978f58678baf2b3bd3ba102f00e25165ca
Suspend broadcom cards in order to stop their DMA.

* grub-core/Makefile.am (KERNEL_HEADER_FILES): Add pci.h on x86 EFI.
* grub-core/Makefile.core.def (kernel): Add pci.c on x86 EFI.
(pci): Don't build on x86 EFI.
* grub-core/bus/pci.c (grub_pci_find_capability): New function.
* grub-core/kern/efi/mm.c (stop_broadcom) [__i386__ || __x86_64__]:
New function.
(grub_efi_finish_boot_services) [__i386__ || __x86_64__]: Call
stop_broadcom if running on EFI.
* include/grub/pci.h (GRUB_PCI_CLASS_NETWORK): New enum value.
(GRUB_PCI_CAP_POWER_MANAGEMENT): Likewise.
(GRUB_PCI_VENDOR_BROADCOM): Likewise.
(grub_pci_find_capability): New proto.

Also-By: Vladimir Serbinenko <phcoder@gmail.com>
ChangeLog
grub-core/Makefile.am
grub-core/Makefile.core.def
grub-core/bus/pci.c
grub-core/kern/efi/mm.c
include/grub/pci.h