Date: Tue, 14 Apr 2009 18:32:37 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/pci pci.c Message-ID: <200904141832.n3EIWnuq014997@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2009-04-14 18:32:37 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: SVN rev 191069 on 2009-04-14 18:32:37Z by jhb - Consolidate duplicated code for reading and sizing BARs and writing base addresses to BARs into new pci_read_bar() and pci_write_bar() routines. pci_add_map(), pci_alloc_map(), and pci_delete_resource() now use these routines to work with BARs. - Just pass the device_t for the new PCI device to various routines instead of passing the device, bus, slot, and function. Reviewed by: imp Revision Changes Path 1.379 +98 -121 src/sys/dev/pci/pci.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904141832.n3EIWnuq014997>