]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC: 1.25
authormarius <marius@FreeBSD.org>
Wed, 9 Jan 2008 21:45:37 +0000 (21:45 +0000)
committermarius <marius@FreeBSD.org>
Wed, 9 Jan 2008 21:45:37 +0000 (21:45 +0000)
commit7d43b764516fea8379efd3bd4367ed56b0dbe3f5
tree1b27c542ecc0e31339aa5001db5981ce8a5f9980
parentabcc0157db6bf7ccfa50e448099729d990ab6c16
MFC: 1.25

Fix some bugs in the FreeBSD 4/5/6 pci(4) IOCTLs compatibility code:
- Use the correct offsets when copying out the results of PCIOCGETCONF_OLD.
  This happened to not affect the 64-bit architectures because there the
  addition of pc_domain to struct pcisel didn't change the overall size of
  struct pci_conf.
- Always copy the name and unit information to conf_old so it's also part
  of the output once this information is cached in dinfo.
- Use the correct type for flags in struct pci_match_conf_old. This
  change is more or less cosmetic though.

Approved by: re (gnn)
sys/dev/pci/pci_user.c