Ignore:
Timestamp:
May 28, 2000, 6:50:46 PM (25 years ago)
Author:
sandervl
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sbliveos2/trunk/drv16/rm.hpp

    r142 r151  
    8383
    8484
     85typedef struct
     86{
     87        USHORT VendorID;
     88        USHORT DeviceID;
     89        USHORT Command;
     90        USHORT Status;
     91        UCHAR  RevisionID;
     92        UCHAR  filler1[7];
     93        ULONG  Bar0;
     94        ULONG  Bar1;
     95        ULONG  filler2[5];
     96        USHORT SubsystemVendorID;
     97        USHORT SubsystemID;
     98        ULONG  filler3[3];
     99        UCHAR  InterruptLine;
     100        UCHAR  InterruptPin;
     101        UCHAR  Max_Gnt;
     102        UCHAR  Max_Lat;
     103        UCHAR  TRDY_Timeout;
     104        UCHAR  Retry_Timeout;
     105        UCHAR  filler4[0x9a];
     106        UCHAR  CapabilityID;
     107        UCHAR  NextItemPtr;
     108        USHORT PowerMgtCapability;
     109        USHORT PowerMgtCSR;
     110} PCIConfigData;
     111
    85112// This value indicates an empty entry in an LDev_Resource data item.
    86113const USHORT NoIOValue = 0xffff;
     
    126153 public:                        // at bottom of file.
    127154
    128    ResourceManager ( void );
     155   ResourceManager ( ULONG pciId );
    129156        // Register the device driver (this activates the RM interface).
    130157        // Intention is that only one ResourceManager object is created
     
    185212   APIRET _rmCreateDevice( PSZ pszName, NPAHRESOURCE pahResource );
    186213
     214   BOOL   getPCIConfiguration(ULONG pciId);
     215
     216   ULONG          PCIConfig[64];
     217   PCIConfigData *pciConfigData;
     218
    187219};
    188220
Note: See TracChangeset for help on using the changeset viewer.