X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fsouthbridge%2Fvia%2Fk8t890%2Fhost_ctrl.c;h=c5d751e832080886c896404f604130da9894a198;hb=0f1dc4eb5bb9941bdb8ff833ec745e1cfeaa9d28;hp=5d46a00c966282622ef6d982ae205a57114fe473;hpb=de64b8b6dbd7059d9e31ede0892ee2a5d6d45e33;p=coreboot.git diff --git a/src/southbridge/via/k8t890/host_ctrl.c b/src/southbridge/via/k8t890/host_ctrl.c index 5d46a00c9..c5d751e83 100644 --- a/src/southbridge/via/k8t890/host_ctrl.c +++ b/src/southbridge/via/k8t890/host_ctrl.c @@ -122,12 +122,16 @@ void set_cbmem_toc(struct cbmem_entry *toc) { outl((u32) toc, K8T890_NVRAM_IO_BASE+K8T890_NVRAM_CBMEM_TOC); } +static struct pci_operations lops_pci = { + .set_subsystem = pci_dev_set_subsystem, +}; + static const struct device_operations host_ctrl_ops_t = { .read_resources = pci_dev_read_resources, .set_resources = pci_dev_set_resources, .enable_resources = pci_dev_enable_resources, .enable = host_ctrl_enable_k8t8xx, - .ops_pci = 0, + .ops_pci = &lops_pci, }; static const struct device_operations host_ctrl_ops_m = { @@ -135,7 +139,7 @@ static const struct device_operations host_ctrl_ops_m = { .set_resources = pci_dev_set_resources, .enable_resources = pci_dev_enable_resources, .enable = host_ctrl_enable_k8m8xx, - .ops_pci = 0, + .ops_pci = &lops_pci, }; static const struct pci_driver northbridge_driver_t800 __pci_driver = {