Date: Fri, 1 Sep 2006 16:11:12 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/em if_em.c Message-ID: <200609011611.k81GBC9i069477@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2006-09-01 16:11:12 UTC FreeBSD src repository Modified files: sys/dev/em if_em.c Log: - Use pci_enable_busmaster() and pci_enable_io() to update the command register. This really shouldn't be using pci_enable_io() directly as bus_alloc_resource() does it already, but the cached copy of the command word needs to be correct so the enable/disable mwi functions work properly. - Use pci bus accessors to read revision ID and subvendor IDs. Reviewed by: jvogel Revision Changes Path 1.137 +5 -11 src/sys/dev/em/if_em.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609011611.k81GBC9i069477>