Date: Sun, 23 Feb 2003 15:09:17 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb uhci_pci.c Message-ID: <200302232309.h1NN9Htm017298@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2003/02/23 15:09:17 PST
Modified files:
sys/dev/usb uhci_pci.c
Log:
Use the correct size for reading and writing the PCI config space.
Reading the PCI config space with the wrong (larger) size is not
a problem in this case, but writing can be as it clobbers unrelated
registers. In this case the clobbering is for reserved fields, which
too is mostly harmless... for now. Hence, this change is mostly
preventive in nature.
Revision Changes Path
1.44 +5 -5 src/sys/dev/usb/uhci_pci.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-src" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302232309.h1NN9Htm017298>
