/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 ); |
/branches/network/uspace/srv/net/Makefile |
---|
26,7 → 26,7 |
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
# |
include ../../Makefile.config |
include ../../../Makefile.config |
DIRS = \ |
netif/lo \ |
45,14 → 45,10 |
DIRS_ALL = $(DIRS) $(DIRS_MODULAR) |
ifndef ($(NETWORKING)) |
NETWORKING = modular |
endif |
ifeq ($(NETWORKING), modular) |
ifeq ($(NETWORKING), module) |
BUILDS := $(addsuffix .build,$(DIRS)) |
else |
BUILDS := $(addsuffix .build,$(DIRS_ALL)) |
else |
BUILDS := $(addsuffix .build,$(DIRS)) |
endif |
CLEANS := $(addsuffix .clean,$(DIRS_ALL)) |