CardBus Card Configuration Space Register test

Note  This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.

Overview

This test determines the correct implementation of the CardBus card's configuration space support registers.

Details

This test determines the correct implementation of the CardBus card's configuration space support registers. Specifically, this test program validates the CardBus CIS Pointer register. CardBus cards must include a separate CIS for each function within the card. Each CIS provides a method for function-specific software, such as the client drivers, to determine the type of function and the configuration options for a given function.

The CardBus Card Configuration Space Register test verifies the CardBus card's CIS Pointer register field functionality. In addition, the program verifies that all unimplemented registers in CardBus card configuration space returns all zeros when read.

After the system restarts and loads the Microsoft Windows operating system, the test gains access to the CardBus card configuration space to verify the support for the CIS register fields. The test gets access to the CardBus card's configuration space through the PCI driver interface.

The tests in the Windows Driver Kit (WDK) are used in several different test system configurations in each test category. Refer to the test procedure documentation for your specific test category for information about required system configurations and test procedures.

The test uses the Microsoft Windows PCI driver interface, which is loaded at runtime.

Run Time: 60 seconds
Log File:cbcreg.wtl
System Restart Required: No
Test Category:
Supported operating systems for Logo or Signature testing:
  • Windows 7

  • Windows Server 2008 R2

  • Windows Vista

  • Windows Server 2003

  • Windows XP

Program:

Requirements

Software Requirements

The test tool requires the following software:

  • Supported operating system (see list above)

Hardware Requirements

The test tool requires the following hardware:

  • Device to be tested

  • Computer that meets the minimum software requirements

  • Windows keyboard

  • Two-button pointing device

  • Color display monitor capable of at least 1024 by 768 resolution, 32-bits per pixel, 60 Hz

  • Hard drive with a minimum of 20 GB available on partition C:

Processor

Command Syntax

Command optionDescription

cbcreg.exe

 

Code Tour

File Manifest

FileLocation

cbcreg.exe

[WTT\TestBinRoot]\nttest\driverstest\storage\wdk

pcidll.dll

[WTT\TestBinRoot]\nttest\driverstest\storage\wdk

pcclib.dll

[WTT\TestBinRoot]\nttest\driverstest\storage\wdk

pciwdm.sys

[WTT\TestBinRoot]\nttest\driverstest\storage\wdk

 

Test Assertions

14.6.1All devices comply with the PC Card Standards.
Test Assertion GUID: 959be3e9-c341-11da-94f3-00123f3a6b60

 

Windows Logo Program: CONNECT-0012 CardBus card is configured correctly

 

 

14.6.2CardBus cards must have a separate configuration space for each implemented function.
Test Assertion GUID: 959be3ea-c341-11da-94f3-00123f3a6b60

 

Windows Logo Program: CONNECT-0012 CardBus card is configured correctly

 

 

14.6.3All registers in CardBus card configuration space that are not implemented must return all zeros when read.
Test Assertion GUID: 959be3eb-c341-11da-94f3-00123f3a6b60

 

Windows Logo Program: CONNECT-0012 CardBus card is configured correctly

 

 

14.6.4CIS register in CardBus card configuration space is a read-only register.
Test Assertion GUID: 959be3ec-c341-11da-94f3-00123f3a6b60

 

Windows Logo Program: CONNECT-0012 CardBus card is configured correctly

 

 

14.6.5Each configuration space of a multiple-function CardBus card must have its own CIS that the CIS pointer in the configuration space points to.
Test Assertion GUID: 959be3ed-c341-11da-94f3-00123f3a6b60

 

Windows Logo Program: CONNECT-0012 CardBus card is configured correctly

 

 

14.6.6If a CardBus card's CIS begins in device-dependent configuration space, the Address Space Offset field value in the CIS register must be in the range 40h to F8h, both inclusive.
Test Assertion GUID: 959be3ee-c341-11da-94f3-00123f3a6b60

 

Windows Logo Program: CONNECT-0012 CardBus card is configured correctly

 

 

14.6.7If a CardBus card's CIS begins in the memory address space governed by one of the six Base Address registers, the Address Space Offset field value in the CIS register plus the base address value in the Base Address register must be in the range 0 to FFFFFFF8h, both inclusive.
Test Assertion GUID: 959be3ef-c341-11da-94f3-00123f3a6b60

 

Windows Logo Program: CONNECT-0012 CardBus card is configured correctly

 

 

14.6.8If a CardBus card's CIS begins in the expansion ROM space governed by the Expansion ROM Base register, the Address Space Offset field (bits 3-23) value in the CIS register must be in the range 0 to 0FFFFFF8h, both inclusive.
Test Assertion GUID: 959be3f0-c341-11da-94f3-00123f3a6b60

 

Windows Logo Program: CONNECT-0012 CardBus card is configured correctly

 

 

14.6.9If a CardBus card's CIS begins in the expansion ROM space governed by the Expansion ROM Base Register, the Address Space Offset field (bits 24-27) value in the CIS register must be in the range of 0 to Fh, inclusive.
Test Assertion GUID: 959be3f1-c341-11da-94f3-00123f3a6b60

 

Windows Logo Program: CONNECT-0012 CardBus card is configured correctly

 

 

 

Build date: 9/14/2012

Community Additions

ADD
Show: