*** empty log message ***
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* are written to the printer without any changes at all.
|
||||
*
|
||||
* Changes:
|
||||
* May 07, 2004 wait until printer is ready (Jorrit N. Herder)
|
||||
* May 07, 2004 fix: wait until printer is ready (Jorrit N. Herder)
|
||||
* May 06, 2004 printer driver moved to user-space (Jorrit N. Herder)
|
||||
*
|
||||
* The valid messages and their parameters are:
|
||||
@@ -278,11 +278,15 @@ PRIVATE void do_initialize()
|
||||
if (initialized) return;
|
||||
initialized = TRUE;
|
||||
|
||||
#if DEAD_CODE
|
||||
/* Get the base port for first printer. This used to be done from the
|
||||
* BIOS with phys_copy(0x408L, vir2phys(&port_base), 2L); but currently
|
||||
* a magic number is put in place.
|
||||
*/
|
||||
port_base = 0x378;
|
||||
#endif
|
||||
sys_vircopy(SELF, BIOS_SEG, LPT1_IO_PORT_ADDR,
|
||||
SELF, D, (vir_bytes) &port_base, LPT1_IO_PORT_SIZE);
|
||||
sys_outb(port_base + 2, INIT_PRINTER);
|
||||
tick_delay(1); /* easily satisfies Centronics minimum */
|
||||
/* was 2 millisecs; now is ~17 millisecs */
|
||||
|
||||
Reference in New Issue
Block a user