Date: Wed, 21 Jun 2006 21:03:24 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_dc.c if_dcreg.h Message-ID: <200606212103.k5LL3OsA040402@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2006-06-21 21:03:24 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/pci if_dc.c if_dcreg.h
Log:
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
1.160.2.10 +88 -121 src/sys/pci/if_dc.c
1.44.2.3 +6 -84 src/sys/pci/if_dcreg.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606212103.k5LL3OsA040402>
