diff --git a/reactos/hal/halx86/pci.c b/reactos/hal/halx86/pci.c index baa158c0aaa..46770af07e9 100644 --- a/reactos/hal/halx86/pci.c +++ b/reactos/hal/halx86/pci.c @@ -1,4 +1,4 @@ -/* $Id: pci.c,v 1.13 2004/11/01 14:37:19 hbirr Exp $ +/* $Id: pci.c,v 1.14 2004/11/15 09:18:19 ekohl Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -778,6 +778,22 @@ HalpInitPciBus(VOID) BusHandler->TranslateBusAddress = (pTranslateBusAddress)HalpTranslatePciAddress; // BusHandler->AdjustResourceList = +// (pGetSetBusData)HalpAdjustPciResourceList; + BusHandler->AssignSlotResources = + (pAssignSlotResources)HalpAssignPciSlotResources; + + + /* PCI bus (bus 2) handler */ + BusHandler = HalpAllocateBusHandler(PCIBus, + PCIConfiguration, + 2); + BusHandler->GetBusData = (pGetSetBusData)HalpGetPciData; + BusHandler->SetBusData = (pGetSetBusData)HalpSetPciData; + BusHandler->GetInterruptVector = + (pGetInterruptVector)HalpGetPciInterruptVector; + BusHandler->TranslateBusAddress = + (pTranslateBusAddress)HalpTranslatePciAddress; +// BusHandler->AdjustResourceList = // (pGetSetBusData)HalpAdjustPciResourceList; BusHandler->AssignSlotResources = (pAssignSlotResources)HalpAssignPciSlotResources;