• Tim Waugh's avatar
    [PATCH] 2.5.6-pre1: parport and O_NONBLOCK · d5d28282
    Tim Waugh authored
    This patch makes lp and ppdev do the Right Thing regarding O_NONBLOCK.
    
    2002-01-04  Tim Waugh  <twaugh@redhat.com>
    
    	* include/linux/parport.h: Define a special inactivity timeout
    	meaning 'caller wants to use O_NONBLOCK'.
    	* drivers/char/lp.c: Support O_NONBLOCK properly.
    	* drivers/char/ppdev.c: Likewise.
    	* drivers/parport/parport_pc.c: Likewise.
    	* drivers/parport/ChangeLog: Updated.
    d5d28282
lp.c 24.7 KB