requests with base address == 0x0000
if (ioctl(parportfd, PPNEGOT, &pmode) == -1)
return ret;
if (ioctl(parportfd, PPNEGOT, &pmode) == -1)
return ret;
- if (cr->Card.dwItems > 1) {
+ if (cr->Card.dwItems > 1 && cr->Card.Item[1].I.IO.dwBytes) {
+ DPRINTF("ECP mode requested\n");
ecpbase = cr->Card.Item[1].I.IO.dwBytes;
/* TODO: Implement ECP mode */
#if 0
ecpbase = cr->Card.Item[1].I.IO.dwBytes;
/* TODO: Implement ECP mode */
#if 0