Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-07-22

Build Requirements: N/A

Runtime Requirements: Carbon

View Source Code:

Download Sample (“PCCardNetworkSample.zip”, 49.2K)
Download Sample (“PCCardNetworkSample.dmg”, 109.0K)


Code sample which demonstrates a Ethernet driver, PC Card Enabler, and Open Transport Port Scanner for an Ethernet PC Card. Specifically, the sample is targeted for network PC Cards other than Ethernet so that they can properly register themselves with Open Transport The code sample provides a MetroWerks Code Warrior project file which includes a sample Ethernet driver, a PC Card Enabler and a Port Scanner. The Enabler is designed to handle port registration of the network card in conjunction with the provided port scanner. The sample code demonstrates techniques to 1. register a driver name so that the default PC Card port scanner registers a custom driver name to use instead of the auto generated name based on the device, and 2. how to keep the default scanner from registering the network card as an Ethernet device. The sample project was created with MetroWerks CodeWarrior 4.0 with the Universal Interfaces and Libraries v3.2, and the Open Transport 2.0.1 DDK To use the sample, a PowerBook 2400, 3400, or G3 series is required. The sample was tested with SSW 8.5 and OT 2.0.1 and may work with SSW 7.6.1 and OT 1.1.2. The sample ethernet driver only supports a single PC Card. The sample could be rewritten to support multiple Ethernet PC Cards. The purpose of the sample was to demonstrate port registration for non-Ethernet network PC Cards. The sample does not demonstrate the loading of support additional port scanners which the card may require, such as for ATM MiddleWare. Requirmements: Open Transport 1.1.2 or greater, PowerBook 2400, 3400, G3, or G3 Series or newer. Keywords: PC Card, Network Driver, Open Transport Module, Token Ring, ATM, Enabler, Port Scanner

Document Revision History

Date Notes
2003-07-22First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.