20.12.2012 Views

2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide

2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide

2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

API Call Reference List of APIs<br />

INPUT<br />

DRV_CTRL<br />

*pDrvCtrl<br />

Pointer to DRV_CTRL structure<br />

OUTPUT Driver memory is ready <strong>for</strong> Rx and Tx operation.<br />

RETURN<br />

LOCAL STATUS mgiStart(DRV_CTRL *pDrvCtrl)<br />

OK If output succeeded.<br />

ERROR If driver failed to allocate one of the address spaces.<br />

<br />

Parameter was not NONE.<br />

- failure to initialize netBufLib pools.<br />

- fail to retrieve cluster from pool <strong>for</strong> all Rx descriptors.<br />

DESCRIPTION This routine prepare the ethernet port and system <strong>for</strong> operation:<br />

Connects the driver ISR.<br />

Enables interrupts.<br />

Start the Gigabit ethernet port using the low level driver.<br />

Marks the interface as active.<br />

INPUT<br />

DRV_CTRL<br />

*pDrvCtrl<br />

OUTPUT See description.<br />

RETURN OK always.<br />

Pointer to DRV_CTRL structure<br />

LOCAL STATUS mgiStop(DRV_CTRL * pDrvCtrl)<br />

VxWorks 5.5/Tornado <strong>2.2</strong> <strong>BSP</strong> <strong>Rel</strong>. <strong>1.0</strong> <strong>for</strong> <strong>PPMC</strong>-<strong>275</strong> 5 - 93

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!