cvs commit: src/sys/pci if_xl.c if_xlreg.h

Marius Strobl marius at FreeBSD.org
Sat Sep 15 02:57:03 PDT 2007


marius      2007-09-15 09:57:02 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/pci              if_xl.c if_xlreg.h 
  Log:
  MFC: if_xl.c 1.192, 1.199, 1.206, 1.207, 1.208; if_xlreg.h 1.57, 1,58, 1.59
  
  - The 575A doesn't have funcregs in memio. So don't claim that it does.
  - In detach method, move if_free() after bus_teardown_intr().
  - Consistently use if_printf() only in interface methods: if_start(),
    if_watchdog, etc., or in functions used only in these methods.
    In all other functions in the driver use device_printf().
  - Use the xl_stats_update() callout instead of if_slowtimo() for
    driving xl_watchdog() in order to avoid races accessing if_timer.
  - Use bus_get_dma_tag() so xl(4) works on platforms requiring it.
  - Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that.
  
  Revision    Changes    Path
  1.190.2.11  +66 -58    src/sys/pci/if_xl.c
  1.55.2.2    +2 -0      src/sys/pci/if_xlreg.h


More information about the cvs-src mailing list