Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4165 → Rev 4166

/branches/network/uspace/srv/net/netif/dp8390/dp8390_module.c
173,10 → 173,10
device->specific = ( void * ) dp_device;
device->state = NETIF_ACTIVE;
dp_device->dep.de_irq = irq;
dp_device->dep.de_base_port = io;
// dp_device->dep.de_base_port = io;
dp_device->dep.de_mode = DEM_DISABLED;
//TODO address?
if( ERROR_OCCURRED( iospace_enable( task_get_id(), ( void * ) ( uint32_t ) dp_device->dep.de_base_port, DP8390_IO_SIZE ))
if( ERROR_OCCURRED( pio_enable(( void * ) io, DP8390_IO_SIZE, ( void ** ) & dp_device->dep.de_base_port ))
|| ERROR_OCCURRED( do_probe( & dp_device->dep ))){
free( dp_device );
free( device );