mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 14:37:45 +00:00
Register handler for PCI bus 2.
svn path=/trunk/; revision=11663
This commit is contained in:
parent
be441ae62f
commit
3b5c8f81f3
|
@ -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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -778,6 +778,22 @@ HalpInitPciBus(VOID)
|
||||||
BusHandler->TranslateBusAddress =
|
BusHandler->TranslateBusAddress =
|
||||||
(pTranslateBusAddress)HalpTranslatePciAddress;
|
(pTranslateBusAddress)HalpTranslatePciAddress;
|
||||||
// BusHandler->AdjustResourceList =
|
// 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;
|
// (pGetSetBusData)HalpAdjustPciResourceList;
|
||||||
BusHandler->AssignSlotResources =
|
BusHandler->AssignSlotResources =
|
||||||
(pAssignSlotResources)HalpAssignPciSlotResources;
|
(pAssignSlotResources)HalpAssignPciSlotResources;
|
||||||
|
|
Loading…
Reference in a new issue