Intel® IXP400 Software

ADSL Driver

Figure 108. Example of ADSL Line Open Call Sequence

 

 

 

 

 

 

 

 

 

 

 

 

1. ixAdslLineStateChangeCallbackRegister

 

 

 

 

 

ADSL Client

 

 

(lineNum, lineChangeCallbackFn)

 

 

 

 

Line Open

 

 

2. ixAdslLineOpen

 

 

 

 

 

(lineNum, lineType, phyType)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ADSL Driver

ADSL

Chipset

B2404-01

Step 1 of Figure 108 is only required if the client application wants to be notified when a line state changes occurs.

Step 2 of Figure 108 is called by the client application to establish an ATU-R ADSL connection with another modem. This function call performs the following actions within the private context of the ADSL driver:

a.Invokes the private ixAdslDriverInit function which creates an ixAdslLineSupervisoryTask. This task invokes the ixAdslLineStateMachine.

b.Invokes the private ixAdslUtilDeviceDownload function which downloads the STMicroelec- tronics* ADSL firmware and configures the chipset.

c.Invokes the private ixAdslCtrleEnableModem function which enables the ADSL chipset to start opening the line.

The client application can close an ADSL line by calling the ixAdslLineClose( ) API which will disable the modem (i.e. close the line) but not kill the ixAdslLineSupervisoryTask.

Programmer’s Guide

IXP400 Software Version 2.0

April 2005

 

Document Number: 252539, Revision: 007

329

Page 329
Image 329
Intel IXP400 manual Example of Adsl Line Open Call Sequence