Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 48f01d8e in mainline


Ignore:
Timestamp:
2010-02-16T20:31:37Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
5297fe8
Parents:
9c9c6a9
Message:

dp8390's netif_start_message() should not think in 32-bits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/netif/dp8390/dp8390_module.c

    r9c9c6a9 r48f01d8e  
    280280        if( device->state != NETIF_ACTIVE ){
    281281                dep = ( dpeth_t * ) device->specific;
    282                 dp8390_cmds[ 0 ].addr = ( void * ) ( uint32_t ) ( dep->de_dp8390_port + DP_ISR );
     282                dp8390_cmds[ 0 ].addr = ( void * ) ( uintptr_t ) ( dep->de_dp8390_port + DP_ISR );
    283283                dp8390_cmds[ 2 ].addr = dp8390_cmds[ 0 ].addr;
    284284                ERROR_PROPAGATE( ipc_register_irq( dep->de_irq, device->device_id, device->device_id, & dp8390_code ));
Note: See TracChangeset for help on using the changeset viewer.