Small update to shared driver code: SYS_EVENT (signal) is now known.

Fixed drivers. HARD_STOP message no longer exists.
This commit is contained in:
Jorrit Herder
2005-07-26 12:50:25 +00:00
parent 3d0b9140f2
commit a63d324caa
8 changed files with 43 additions and 79 deletions

View File

@@ -22,7 +22,7 @@
* -------------------------------------------------------
* | HARD_INT | | | | |
* |-------------+---------+---------+---------+---------|
* | HARD_STOP | | | | |
* | SYS_EVENT | | | | |
* |-------------+---------+---------+---------+---------|
* | DEV_WRITE |minor dev| proc nr | count | buf ptr |
* |-------------+---------+---------+---------+---------|
@@ -34,8 +34,6 @@
#include "../drivers.h"
#if ENABLE_PRINTER
/* Control bits (in port_base + 2). "+" means positive logic and "-" means
* negative logic. Most of the signals are negative logic on the pins but
* many are converted to positive logic in the ports. Some manuals are
@@ -160,9 +158,6 @@ PUBLIC void main(void)
case DEV_WRITE: do_write(&pr_mess); break;
case CANCEL : do_cancel(&pr_mess); break;
case HARD_INT : do_printer_output(); break;
case HARD_STOP: sys_exit(0);
/* never reached */
break;
default:
reply(TASK_REPLY, pr_mess.m_source, pr_mess.PROC_NR, EINVAL);
}
@@ -408,5 +403,4 @@ PRIVATE void do_printer_output()
}
#endif /* ENABLE_PRINTER */