Changes in uspace/drv/nic/ne2k/dp8390.c [a88a6eac:acdb5bac] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/ne2k/dp8390.c
ra88a6eac racdb5bac 58 58 #include <errno.h> 59 59 #include <stdio.h> 60 #include < libarch/ddi.h>60 #include <ddi.h> 61 61 #include "dp8390.h" 62 62 … … 201 201 /* Check if the DP8390 is really there */ 202 202 uint8_t val = pio_read_8(ne2k->port + DP_CR); 203 if ((val & (CR_STP | CR_ DM_ABORT)) != (CR_STP | CR_DM_ABORT))203 if ((val & (CR_STP | CR_TXP | CR_DM_ABORT)) != (CR_STP | CR_DM_ABORT)) 204 204 return EXDEV; 205 205 … … 446 446 return NULL; 447 447 448 bzero(frame->data, length);448 memset(frame->data, 0, length); 449 449 uint8_t last = page + length / DP_PAGE; 450 450
Note:
See TracChangeset
for help on using the changeset viewer.