cvs commit: src/sys/dev/ppbus if_plip.c lpbb.c lpt.c pcfclock.c ppi.c pps.c vpo.c

Guido van Rooij guido at FreeBSD.org
Thu Mar 18 13:10:12 PST 2004


guido       2004/03/18 13:10:11 PST

  FreeBSD src repository

  Modified files:
    sys/dev/ppbus        if_plip.c lpbb.c lpt.c pcfclock.c ppi.c 
                         pps.c vpo.c 
  Log:
  Prevent the strange situation that after each load/unload of a ppbus
  device, the device is probed multiple times (so each device is
  detected N times after unloading/loading the module N-1 times).
  
  The real fix is (quote Doug and Warner):
  > : In an ideal world, there should be some kind of BUS_UNIDENTIFY method
  > : which a driver could use to delete the devices it created in
  > : BUS_IDENTIFY.
  >
  > Or the bus would have a driver deleted routine that got called and it
  > would remove all instances of the devclass attached to it.
  
  Reviewed by:    Doug Rabson & Warner Losh
  
  Revision  Changes    Path
  1.33      +4 -1      src/sys/dev/ppbus/if_plip.c
  1.18      +5 -1      src/sys/dev/ppbus/lpbb.c
  1.32      +5 -1      src/sys/dev/ppbus/lpt.c
  1.16      +5 -1      src/sys/dev/ppbus/pcfclock.c
  1.36      +5 -1      src/sys/dev/ppbus/ppi.c
  1.41      +5 -1      src/sys/dev/ppbus/pps.c
  1.32      +5 -1      src/sys/dev/ppbus/vpo.c


More information about the cvs-src mailing list