pci1x2x: use cardbus_read_resources()/cardbus_enable_resources()
Signed-off-by: Sven Schnelle <svens@stackframe.org> Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6527 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
5f22f30377
commit
5c72a8752b
|
@ -22,6 +22,7 @@
|
||||||
#include <device/pci.h>
|
#include <device/pci.h>
|
||||||
#include <device/pci_ids.h>
|
#include <device/pci_ids.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
|
#include <device/cardbus.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
|
@ -65,9 +66,9 @@ static struct pci_operations ti_pci1x2y_pci_ops = {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct device_operations southbridge_ti_pci1x2x_pciops = {
|
struct device_operations southbridge_ti_pci1x2x_pciops = {
|
||||||
.read_resources = NULL, //pci_dev_read_resources,
|
.read_resources = cardbus_read_resources,
|
||||||
.set_resources = pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = pci_dev_enable_resources,
|
.enable_resources = cardbus_enable_resources,
|
||||||
.init = ti_pci1x2y_init,
|
.init = ti_pci1x2y_init,
|
||||||
.scan_bus = 0,
|
.scan_bus = 0,
|
||||||
.ops_pci = &ti_pci1x2y_pci_ops,
|
.ops_pci = &ti_pci1x2y_pci_ops,
|
||||||
|
|
Loading…
Reference in New Issue