cvs commit: src/sys/dev/em if_em.c

John Baldwin jhb at FreeBSD.org
Fri Sep 1 16:11:13 UTC 2006


jhb         2006-09-01 16:11:12 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/em           if_em.c 
  Log:
  - Use pci_enable_busmaster() and pci_enable_io() to update the command
    register.  This really shouldn't be using pci_enable_io() directly as
    bus_alloc_resource() does it already, but the cached copy of the
    command word needs to be correct so the enable/disable mwi functions
    work properly.
  - Use pci bus accessors to read revision ID and subvendor IDs.
  
  Reviewed by:    jvogel
  
  Revision  Changes    Path
  1.137     +5 -11     src/sys/dev/em/if_em.c


More information about the cvs-src mailing list