Skip navigation.
Home
The QNX Community Portal

View topic - smcs91c111 driver cant allocate memory

smcs91c111 driver cant allocate memory

Read-only archive of qnx.ddk (Writing device drivers for scanners, video card, optical mouse, etc) at inn.qnx.com

smcs91c111 driver cant allocate memory

Postby daddyritz » Tue May 15, 2007 11:09 pm

Anyone see unable to Tx with smc9000 driver for smcs91c111 chip
allocation ints never happen and the chip has no memory left in the MMU
/*
* Chip is older than the 91C111 which means
* the MCR is implemented. We reserve 1 packets-worth
* of memory for transmit, to prevent TX MMU allocations
* from pending forever. It appears that on older chips
* (not the 111) releasing an RX packet while a TX alloc is
* pending screws up the MMU. On these chips, we limit
* the memory that receive can use, to prevent a deadlock
* condition whereby all memory is used up by unprocessed
* receive packets, and the transmitter has just issued
* an allocate command.
*/
daddyritz
New Member
 
Posts: 1
Joined: Thu Apr 05, 2007 5:47 am

Return to qnx.ddk

Who is online

Users browsing this forum: No registered users and 1 guest