![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ops.h>
#include <device/cardbus.h>
Go to the source code of this file.
Macros | |
#define | CARDBUS_IO_SIZE 4096 |
#define | CARDBUS_MEM_SIZE (32 * 1024 * 1024) |
Functions | |
static void | cardbus_record_bridge_resource (struct device *dev, resource_t moving, resource_t min_size, unsigned int index, unsigned long type) |
void | cardbus_read_resources (struct device *dev) |
void | cardbus_enable_resources (struct device *dev) |
Variables | |
struct device_operations | default_cardbus_ops_bus |
#define CARDBUS_IO_SIZE 4096 |
Definition at line 19 of file cardbus_device.c.
#define CARDBUS_MEM_SIZE (32 * 1024 * 1024) |
Definition at line 20 of file cardbus_device.c.
Definition at line 116 of file cardbus_device.c.
References BIOS_DEBUG, bus::bridge_ctrl, dev_path(), device::link_list, PCI_BRIDGE_CTL_BUS_RESET, PCI_BRIDGE_CTL_MASTER_ABORT, PCI_BRIDGE_CTL_VGA, PCI_CB_BRIDGE_CONTROL, PCI_CB_BRIDGE_CTL_PARITY, PCI_CB_BRIDGE_CTL_SERR, pci_dev_enable_resources(), pci_read_config16(), pci_write_config16(), and printk.
Definition at line 54 of file cardbus_device.c.
References CARDBUS_IO_SIZE, CARDBUS_MEM_SIZE, cardbus_record_bridge_resource(), compact_resources(), IORESOURCE_IO, IORESOURCE_MEM, IORESOURCE_PREFETCH, PCI_BASE_ADDRESS_0, PCI_CB_BRIDGE_CONTROL, PCI_CB_BRIDGE_CTL_PREFETCH_MEM0, PCI_CB_BRIDGE_CTL_PREFETCH_MEM1, PCI_CB_IO_BASE_0, PCI_CB_IO_BASE_1, PCI_CB_IO_LIMIT_0, PCI_CB_IO_LIMIT_1, PCI_CB_MEMORY_BASE_0, PCI_CB_MEMORY_BASE_1, PCI_CB_MEMORY_LIMIT_0, PCI_CB_MEMORY_LIMIT_1, pci_get_resource(), pci_moving_config32(), pci_read_config16(), pci_write_config16(), and type.
Referenced by pci7420_cardbus_read_resources(), pcixx12_read_resources(), and rl5c476_read_resources().
|
static |
Definition at line 22 of file cardbus_device.c.
References resource::align, resource::flags, resource::gran, resource::index, resource::limit, new_resource(), NULL, resource::size, and type.
Referenced by cardbus_read_resources().
struct device_operations default_cardbus_ops_bus |
Definition at line 116 of file cardbus_device.c.
Referenced by set_pci_ops().