LOCAL STATUS i8042MseIoctl( I8042_MSE_DEVICE *pDev, int req, int arg ) { return tyIoctl(&pDev->tyDev, req, arg); }
LOCAL int ttyIoctl ( TYCO_DEV * pTyCoDev, /* device to control */ int request, /* request code */ void * arg /* some argument */ ) { int status; if (request == FIOBAUDRATE) return (sioIoctl (pTyCoDev->pSioChan, SIO_BAUD_SET, arg) == OK ? OK : ERROR); status = sioIoctl (pTyCoDev->pSioChan, request, arg); if (status == ENOSYS) return (tyIoctl (&pTyCoDev->tyDev, request, (int)arg)); return (status); }