99fc95d0f6741dc1f48ef13947bb15b9edf44c70
[coreboot.git] / src / southbridge / intel / i3100 / i3100_pci.c
1 /*
2  * This file is part of the coreboot project.
3  *
4  * Copyright (C) 2008 Arastra, Inc.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
18  *
19  */
20
21 #include <console/console.h>
22 #include <device/device.h>
23 #include <device/pci.h>
24 #include <device/pci_ids.h>
25 #include <device/pci_ops.h>
26 #include "i3100.h"
27
28 static void pci_init(struct device *dev)
29 {
30 }
31
32 static struct device_operations pci_ops  = {
33         .read_resources   = pci_bus_read_resources,
34         .set_resources    = pci_dev_set_resources,
35         .enable_resources = pci_bus_enable_resources,
36         .init             = pci_init,
37         .scan_bus         = pci_scan_bridge,
38         .ops_pci          = 0,
39 };
40
41 static const struct pci_driver pci_driver __pci_driver = {
42         .ops    = &pci_ops,
43         .vendor = PCI_VENDOR_ID_INTEL,
44         .device = PCI_DEVICE_ID_INTEL_3100_PCI,
45 };
46