{
int r;
- r= sys_sdevio(DIO_INPUT, port, DIO_BYTE, proc, (void *)buf, size);
+ r= sys_insb(port, proc, (void *) buf, size);
if (r != OK)
panic("DP8390", "sys_sdevio failed", r);
}
{
int r;
- r= sys_sdevio(DIO_INPUT, port, DIO_WORD, proc, (void *)buf, size);
+ r= sys_insw(port, proc, (void *) buf, size);
if (r != OK)
panic("DP8390", "sys_sdevio failed", r);
}
{
int r;
- r= sys_sdevio(DIO_OUTPUT, port, DIO_BYTE, proc, (void *)buf, size);
+ r= sys_outsb(port, proc, (void *) buf, size);
if (r != OK)
panic("DP8390", "sys_sdevio failed", r);
}
{
int r;
- r= sys_sdevio(DIO_OUTPUT, port, DIO_WORD, proc, (void *)buf, size);
+ r= sys_outsw(port, proc, (void *) buf, size);
if (r != OK)
panic("DP8390", "sys_sdevio failed", r);
}