Changes in uspace/drv/nic/ne2k/dp8390.c [acdb5bac:a88a6eac] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/ne2k/dp8390.c
racdb5bac ra88a6eac 58 58 #include <errno.h> 59 59 #include <stdio.h> 60 #include < ddi.h>60 #include <libarch/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_ TXP | CR_DM_ABORT)) != (CR_STP | CR_DM_ABORT))203 if ((val & (CR_STP | CR_DM_ABORT)) != (CR_STP | CR_DM_ABORT)) 204 204 return EXDEV; 205 205 … … 446 446 return NULL; 447 447 448 memset(frame->data, 0, length);448 bzero(frame->data, length); 449 449 uint8_t last = page + length / DP_PAGE; 450 450
Note:
See TracChangeset
for help on using the changeset viewer.