X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/bef1210245bb3180a57f26405369654eaa477f63..b1644f824d7f4989a94b8a752aadee26cae25069:/lunaix-os/includes/usr/lunaix/serial.h diff --git a/lunaix-os/includes/usr/lunaix/serial.h b/lunaix-os/includes/usr/lunaix/serial.h index c01bb15..ee10002 100644 --- a/lunaix-os/includes/usr/lunaix/serial.h +++ b/lunaix-os/includes/usr/lunaix/serial.h @@ -1,15 +1,16 @@ -#ifndef __LUNAIX_USERIAL_H -#define __LUNAIX_USERIAL_H +#ifndef _LUNAIX_UHDR_USERIAL_H +#define _LUNAIX_UHDR_USERIAL_H -#include "ioctl_defs.h" +#include "ioctl.h" -#define SERIO_RXEN IOREQ(1, 0) -#define SERIO_RXDA IOREQ(2, 0) +#define SERIO_RXEN IOREQ(1, 0) +#define SERIO_RXDA IOREQ(2, 0) -#define SERIO_TXEN IOREQ(3, 0) -#define SERIO_TXDA IOREQ(4, 0) +#define SERIO_TXEN IOREQ(3, 0) +#define SERIO_TXDA IOREQ(4, 0) -#define SERIO_SETBRDIV IOREQ(5, 0) -#define SERIO_SETCNTRLMODE IOREQ(6, 0) +#define SERIO_SETBRDRATE IOREQ(5, 0) +#define SERIO_SETCNTRLMODE IOREQ(6, 0) +#define SERIO_SETBRDBASE IOREQ(7, 0) -#endif /* __LUNAIX_USERIAL_H */ +#endif /* _LUNAIX_UHDR_USERIAL_H */