cvs commit: src/sys/pci if_dc.c if_dcreg.h

John Baldwin jhb at
Wed Jun 21 21:03:25 UTC 2006

jhb         2006-06-21 21:03:24 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/pci              if_dc.c if_dcreg.h 
  MFC various cleanups:
  - Switch on the full 32-bit device ID to avoid collisions between the
    vendor-specific device ids across vendors.
  - Include the revision in the dc_devs[] array instead of special casing
    the revid handling in dc_devtype().
  - Use PCI bus accessors to read registers instead of pci_read_config()
    where possible.
  - Use an 8-bit write to update the latency timer.
  - Use PCIR_xxx constants and remove unused DC_xxx related to standard
    PCI config registers.
  Revision    Changes    Path  +88 -121   src/sys/pci/if_dc.c    +6 -84     src/sys/pci/if_dcreg.h

More information about the cvs-src mailing list