Diff for /src/sys/dev/misc/lpt/lpt.c between versions 1.8 and 1.9

version 1.8, 2004/05/13 23:49:16 version 1.9, 2004/05/19 22:52:43
Line 115  struct lpt_data { Line 115  struct lpt_data {
            prime once */             prime once */
         u_char  sc_control;          u_char  sc_control;
         char    sc_flags;          char    sc_flags;
   #define LP_UNITMASK     0x03    /* up to 4 units */
 #define LP_POS_INIT     0x04    /* if we are a postive init signal */  #define LP_POS_INIT     0x04    /* if we are a postive init signal */
 #define LP_POS_ACK      0x08    /* if we are a positive going ack */  #define LP_POS_ACK      0x08    /* if we are a positive going ack */
 #define LP_NO_PRIME     0x10    /* don't prime the printer at all */  #define LP_NO_PRIME     0x10    /* don't prime the printer at all */
Line 415  lpt_attach(device_t dev) Line 416  lpt_attach(device_t dev)
   
         lpt_release_ppbus(dev);          lpt_release_ppbus(dev);
   
           cdevsw_add(&lpt_cdevsw, LP_UNITMASK, unit);
         make_dev(&lpt_cdevsw, unit,          make_dev(&lpt_cdevsw, unit,
             UID_ROOT, GID_WHEEL, 0600, LPT_NAME "%d", unit);              UID_ROOT, GID_WHEEL, 0600, LPT_NAME "%d", unit);
         make_dev(&lpt_cdevsw, unit | LP_BYPASS,          make_dev(&lpt_cdevsw, unit | LP_BYPASS,

Removed from v.1.8  
changed lines
  Added in v.1.9