- #include <sys/types.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <strings.h>
- #include <sys/ioctl.h>
- #include <unistd.h>
- #include <fcntl.h>
- #include <asm/errno.h>
- #include "ixjuser.h"
- int main(int argc, char *argv[])
- {
- int ixj;
- ixj = open("/dev/ixj0", O_RDWR|O_NONBLOCK);
- ioctl(ixj, IXJCTL_MODRESET);
- close(ixj);
- }