Re: about how to create a extension module
Re: about how to create a extension module
- Subject: Re: about how to create a extension module
- From: Rich Kubota <email@hidden>
- Date: Tue, 23 Mar 2004 09:51:20 -0800
At 11:56 AM +0800 3/23/04, =?Big5?B?pP2yUadELXZpdmlhbg==?= wrote:
Hi:
I am developing an ethernet adapter driver for MAC OS 9.2.2 on apple G4.
The compiler is codewarrior pro 5.
I have no idea about how to build a new extension module for device
driver
by codewarrior. Maybe the extension module can't be created by
codewarrior.
Does there any document teach us how to create a extension module??
Vivian,
Unfortunately, there is no step by step instructions on how to create
a CodeWarrior project to create an Ethernet driver for OS 9.
However, within the OT SDK v2.6, in the Developer Modules folder,
there is the Apple Enet SDK which includes a sample driver for a DEC
21140 chipset based card. this sample has a CodeWarrior Project. The
file characteristics are that the driver file creator must be 'cfrg'
and the file type must be 'ndrv'.
You driver file must export the following functions and symbols.
ValidateHardware
InitStreamModule
TerminateStreamModule
GetOTInstallInfo
TheDriverDescription
Try using this sample to get a handle on how to create the driver.
there is also documentation as to how these defines are used by the
system.
You can download the sdk from the ADC SDK web page.
<
http://developer.apple.com/sdk/>
--
Sincerely,
Rich Kubota
email@hidden
(408) 974-6212
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.