coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ide.c File Reference
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include "chip.h"
#include "i82801dx.h"
Include dependency graph for ide.c:

Go to the source code of this file.

Typedefs

typedef struct southbridge_intel_i82801dx_config config_t
 

Functions

static void ide_init (struct device *dev)
 

Variables

static struct device_operations ide_ops
 
static const struct pci_driver i82801db_ide __pci_driver
 

Typedef Documentation

◆ config_t

Definition at line 1 of file ide.c.

Function Documentation

◆ ide_init()

static void ide_init ( struct device dev)
static

Definition at line 13 of file ide.c.

Variable Documentation

◆ __pci_driver

static const struct pci_driver i82801dbm_ide __pci_driver
static
Initial value:
= {
.ops = &ide_ops,
.vendor = PCI_VID_INTEL,
.device = 0x24cb,
}
static struct device_operations ide_ops
Definition: ide.c:44
#define PCI_VID_INTEL
Definition: pci_ids.h:2157

Definition at line 13 of file ide.c.

◆ ide_ops

struct device_operations ide_ops
static
Initial value:
= {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.init = ide_init,
.enable = i82801dx_enable,
}
void i82801dx_enable(struct device *dev)
Definition: i82801dx.c:8
static void ide_init(struct device *dev)
Definition: ide.c:13
void pci_dev_enable_resources(struct device *dev)
Definition: pci_device.c:721
void pci_dev_read_resources(struct device *dev)
Definition: pci_device.c:534
void pci_dev_set_resources(struct device *dev)
Definition: pci_device.c:691

Definition at line 13 of file ide.c.