cvs commit: src/sys/pci if_rl.c

Gleb Smirnoff glebius at FreeBSD.org
Fri Oct 13 00:39:26 PDT 2006


glebius     2006-10-13 07:39:25 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/pci              if_rl.c 
  Log:
  MFC rev. 1.164:
    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.
  
  PR:             kern/102974
  Submitted by:   Alex Lyashkov <umka sevcity.net>
  Approved by:    re (hrs)
  
  Revision   Changes    Path
  1.152.2.6  +5 -4      src/sys/pci/if_rl.c


More information about the cvs-src mailing list