cvs commit: src/sys/pci if_rl.c if_sf.c if_sfreg.h if_sis.c if_sisreg.h if_ste.c if_tl.c if_tlreg.h if_vr.c if_vrreg.h if_wb.c if_wbreg.h if_xl.c if_xlreg.h

Gleb Smirnoff glebius at FreeBSD.org
Fri Sep 15 03:40:55 PDT 2006


glebius     2006-09-15 10:40:55 UTC

  FreeBSD src repository

  Modified files:
    sys/pci              if_rl.c if_sf.c if_sfreg.h if_sis.c 
                         if_sisreg.h if_ste.c if_tl.c if_tlreg.h 
                         if_vr.c if_vrreg.h if_wb.c if_wbreg.h 
                         if_xl.c if_xlreg.h 
  Log:
  Consistently use if_printf() only in interface methods: if_start,
  if_ioctl, if_watchdog, etc, or in functions that are used by
  these methods only. In all other cases use device_printf().
  
  This also fixes several panics, when if_printf() is called before
  softc->ifp was initialized.
  
  Submitted by:   Alex Lyashkov <umka sevcity.net>
  
  Revision  Changes    Path
  1.164     +5 -4      src/sys/pci/if_rl.c
  1.94      +4 -3      src/sys/pci/if_sf.c
  1.18      +1 -0      src/sys/pci/if_sfreg.h
  1.146     +6 -6      src/sys/pci/if_sis.c
  1.37      +1 -1      src/sys/pci/if_sisreg.h
  1.96      +9 -7      src/sys/pci/if_ste.c
  1.109     +12 -11    src/sys/pci/if_tl.c
  1.24      +1 -0      src/sys/pci/if_tlreg.h
  1.116     +11 -9     src/sys/pci/if_vr.c
  1.26      +1 -0      src/sys/pci/if_vrreg.h
  1.91      +7 -5      src/sys/pci/if_wb.c
  1.16      +1 -0      src/sys/pci/if_wbreg.h
  1.206     +30 -31    src/sys/pci/if_xl.c
  1.57      +1 -0      src/sys/pci/if_xlreg.h


More information about the cvs-all mailing list