次の方法で共有


PC Card Bus-Agnostic Client Drivers (Windows Embedded CE 6.0)

1/6/2010

The PC Card bus driver exposes support for writing bus-agnostic client drivers. Microsoft recommends that you follow the bus-agnostic model in developing your client drivers. The bus-agnostic model offers several advantages. For example, only one driver must be maintained in order to support PCI, PC Card, and local bus implementations of the same hardware. This can help by reducing image size, in some cases. The bus-agnostic driver also handles suspend, resume, and removal requests more efficiently, thus improving power management performance.

Before a PC Card bus-agnostic driver is loaded, the hardware has already been configured by PC Card card services. Any PC Card configuration and power-up work that is necessary will have already occurred when the XXX_PowerUp (Device Manager) routine for the driver is called.

Insertion and removal of the PC Card are signaled using the XXX_Init (Device Manager) and XXX_Deinit (Device Manager) functions. During card removal and power-down operations, the I/O and memory windows for a device are disabled. A properly configured client driver should not have to make any calls into card services.

See Also

Reference

XXX_PowerDown (Device Manager)
XXX_PowerUp (Device Manager)
XXX_Init (Device Manager)
XXX_Deinit (Device Manager)

Concepts

PC Card Development Concepts
Converting a Legacy PCMCIA Driver to a Bus-Agnostic Driver
Bus Drivers
Device File Names

Other Resources

PC Card Drivers