Date: Wed, 9 Jan 2008 21:44:11 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/pci pci_user.c Message-ID: <200801092144.m09LiBRn047596@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2008-01-09 21:44:10 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/dev/pci pci_user.c
Log:
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)
Revision Changes Path
1.22.2.2 +9 -12 src/sys/dev/pci/pci_user.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801092144.m09LiBRn047596>
