cvs commit: src/sys/dev/dc if_dc.c if_dcreg.h

John Baldwin jhb at
Sat Jun 3 20:43:35 UTC 2006

jhb         2006-06-03 20:41:55 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/dc           if_dc.c if_dcreg.h 
  - 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.
  MFC after:      1 week
  Revision  Changes    Path
  1.182     +88 -121   src/sys/dev/dc/if_dc.c
  1.49      +6 -84     src/sys/dev/dc/if_dcreg.h

More information about the cvs-src mailing list