#include #include #include #include "pcicard.h" int main(int argc, char **argv) { u8 val; int fd; if ((fd = open('/dev/pcicard', O_RDWR)) == -1) { perror("open"); exit(1); } val = 0x03; ioctl(fd, PCICARD_SET_REGISTER, &val); close(fd); exit(1); }