cvs commit: src/sys/dev/aic7xxx aic79xx.h aic79xx_pci.c
jhb at freebsd.org
Fri Jan 19 22:41:14 UTC 2007
On Friday 19 January 2007 17:37, John Baldwin wrote:
> jhb 2007-01-19 22:37:52 UTC
> FreeBSD src repository
> Modified files:
> sys/dev/aic7xxx aic79xx.h aic79xx_pci.c
> sys/dev/pci pcireg.h
> - Change the PCI-X registers constants to be relative to the PCI-X PCI
> capability rather than hardcoded offsets for a particular card. While
> I'm here, expand the constants some.
> - Change the ahd(4) driver to use pci_find_extcap() to locate the PCI-X
> capability to keep up with the first change.
> Reviewed by: scottl, gibbs (earlier version)
Note that in Justin's defense, we didn't have a pci_find_extcap() function
back when he added these constants, so he didn't have much of a choice other
than hardcoding them.
More information about the cvs-all