25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: dev_kn230.c,v 1.18 2007/02/03 20:14:23 debug Exp $ |
* $Id: dev_kn230.c,v 1.19 2007/06/15 19:11:15 debug Exp $ |
29 |
* |
* |
30 |
* DEC MIPSMATE 5100 (KN230) stuff. |
* COMMENT: DEC KN230 (MIPSMATE 5100) stuff |
31 |
*/ |
*/ |
32 |
|
|
33 |
#include <stdio.h> |
#include <stdio.h> |
137 |
char tmpstr[300]; |
char tmpstr[300]; |
138 |
int i; |
int i; |
139 |
|
|
140 |
d = malloc(sizeof(struct kn230_data)); |
CHECK_ALLOCATION(d = malloc(sizeof(struct kn230_data))); |
|
if (d == NULL) { |
|
|
fprintf(stderr, "out of memory\n"); |
|
|
exit(1); |
|
|
} |
|
141 |
memset(d, 0, sizeof(struct kn230_data)); |
memset(d, 0, sizeof(struct kn230_data)); |
142 |
|
|
143 |
/* |
/* |