Changeset 2a6e4ac2 in mainline for uspace/srv/hw/netif/dp8390/ne2000.c
- Timestamp:
- 2011-01-06T15:03:23Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fc23ef6
- Parents:
- 506a805
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/netif/dp8390/ne2000.c
r506a805 r2a6e4ac2 9 9 #include <stdio.h> 10 10 #include <unistd.h> 11 12 11 #include "dp8390_port.h" 13 14 #include "local.h"15 12 #include "dp8390.h" 16 13 #include "ne2000.h" … … 21 18 /** Type definition of the testing function. 22 19 */ 23 _PROTOTYPE(typedef int (*testf_t), (dpeth_t *dep, int pos, u8_t *pat) 20 _PROTOTYPE(typedef int (*testf_t), (dpeth_t *dep, int pos, u8_t *pat)); 24 21 25 22 /** Data patterns */ 26 u8_t pat0[] = {0x00, 0x00, 0x00, 0x00};27 u8_t pat1[] = {0xFF, 0xFF, 0xFF, 0xFF};28 u8_t pat2[] = {0xA5, 0x5A, 0x69, 0x96};29 u8_t pat3[] = {0x96, 0x69, 0x5A, 0xA5};23 u8_t pat0[] = {0x00, 0x00, 0x00, 0x00}; 24 u8_t pat1[] = {0xFF, 0xFF, 0xFF, 0xFF}; 25 u8_t pat2[] = {0xA5, 0x5A, 0x69, 0x96}; 26 u8_t pat3[] = {0x96, 0x69, 0x5A, 0xA5}; 30 27 31 28 /** Tests 8 bit NE2000 network interface.
Note:
See TracChangeset
for help on using the changeset viewer.