<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/sys/dev/bhnd/bhndb, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-09-01T21:43:05Z</updated>
<entry>
<title>bhnd: clean up empty lines in .c and .h files</title>
<updated>2020-09-01T21:43:05Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2020-09-01T21:43:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=ab3fad6ea26bda380ecb9ddc3bc4e9014ab3d4b2'/>
<id>urn:sha1:ab3fad6ea26bda380ecb9ddc3bc4e9014ab3d4b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bhnd(4): Use the new BHND_CAP_BP64 capability flag to exclude DMA</title>
<updated>2018-03-29T19:48:50Z</updated>
<author>
<name>Landon J. Fuller</name>
<email>landonf@FreeBSD.org</email>
</author>
<published>2018-03-29T19:48:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=be9a13138e1f43e3e333f5069efd5595b6aa542d'/>
<id>urn:sha1:be9a13138e1f43e3e333f5069efd5595b6aa542d</id>
<content type='text'>
translations unsupported by the backplane.
</content>
</entry>
<entry>
<title>bhnd(4): include a subset of the ChipCommon capability flags in bhnd_chipid;</title>
<updated>2018-03-29T19:44:15Z</updated>
<author>
<name>Landon J. Fuller</name>
<email>landonf@FreeBSD.org</email>
</author>
<published>2018-03-29T19:44:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=f3524ec8ed3e8a18683c4a5f9ba2d3db62a136fe'/>
<id>urn:sha1:f3524ec8ed3e8a18683c4a5f9ba2d3db62a136fe</id>
<content type='text'>
this provides early access to device capability flags required by bhnd(4)
bus and bhndb(4) bridge drivers.
</content>
</entry>
<entry>
<title>bhndb_pci(4): Implement bridge support for CardBus-attached devices.</title>
<updated>2018-01-19T22:22:02Z</updated>
<author>
<name>Landon J. Fuller</name>
<email>landonf@FreeBSD.org</email>
</author>
<published>2018-01-19T22:22:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=711221efd890d8ac47b07265bf9024f32c6709da'/>
<id>urn:sha1:711221efd890d8ac47b07265bf9024f32c6709da</id>
<content type='text'>
 - Extend the probe method to accept devclasses that inherit from the pci
   devclass (e.g. cardbus).
 - Some BCM4306-based CardBus adapters appear to advertise 4K SPROM, but
   only the first 2K is mapped into BAR0. We can safely assume that the
   SPROM data fits within the first 2K of the SPROM, rather than rejecting
   the SPROM mapping as invalid.

Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>bhndb_pci(4): fix incorrect BHND_PCI_SRSH_PI workaround</title>
<updated>2018-01-17T03:34:26Z</updated>
<author>
<name>Landon J. Fuller</name>
<email>landonf@FreeBSD.org</email>
</author>
<published>2018-01-17T03:34:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=84d6a5d4a78a8bf451463c87f3c38f8854e53afa'/>
<id>urn:sha1:84d6a5d4a78a8bf451463c87f3c38f8854e53afa</id>
<content type='text'>
On a SPROM-less device, the PCI(e) bridge core will be initialized with its
power-on-reset defaults; this can leave the SPROM-derived BHND_PCI_SRSH_PI
value pointing to the wrong backplane address. This value is used by the
PCI core when performing address translation between the static register
windows in BAR0 that map the PCI core's register block, and backplane
address space.

Previously, bhndb_pci(4) incorrectly used the potentially invalid static
BAR0 PCI register windows when attempting to correct the BHND_PCI_SRSH_PI
value in the PCI core's SPROM shadow.

Instead, we now read/update BHND_PCI_SRSH_PI by fetching the PCI core's
backplane address from the core enumeration table, and then using a dynamic
register window to explicitly map the PCI core's register block into BAR0.

Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>bhndb(4): Enable addrext support on DMA64 devices, and fix an incorrect DMA</title>
<updated>2017-12-16T04:35:37Z</updated>
<author>
<name>Landon J. Fuller</name>
<email>landonf@FreeBSD.org</email>
</author>
<published>2017-12-16T04:35:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=80a7c0f53bac4410ef9fc8ca8614be0ec1057c06'/>
<id>urn:sha1:80a7c0f53bac4410ef9fc8ca8614be0ec1057c06</id>
<content type='text'>
DMA boundary constraint applied in bhndb_dma_tag_create().

Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>bhnd(4)/bwn(4): Fix a number of small issues reported by Coverity.</title>
<updated>2017-12-15T04:51:47Z</updated>
<author>
<name>Landon J. Fuller</name>
<email>landonf@FreeBSD.org</email>
</author>
<published>2017-12-15T04:51:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=6467a17b496dc646991f60d8aaab674bc421ac4a'/>
<id>urn:sha1:6467a17b496dc646991f60d8aaab674bc421ac4a</id>
<content type='text'>
- Fix reference of uninitialized error value in bhndb_generic_resume() if
  the dynamic window count is 0.

- Fix incorrect bhnd_pmu(4) UPTME_MASK and PLL0_PC2_WILD_INT_MASK
  constants.

- Variable definitions referenced by our generated SPROM layouts will never
  be NULL, but add explicit asserts to make that clear.

- Add missing variable initialization in bhnd_nvram_sprom_ident().

- Fix leak of driver array in bhnd_erom_probe_driver_classes().

- Fix zero-length memset() in bhndb_pci_eio_init().

- Fix an off-by-one error and potential invalid OOBSEL bit shift operation
  in bcma_dinfo_init_intrs().

- Remove dead code in siba_suspend_hw().

- Fix duplicate call to bhnd_pmu_enable_regulator() in both the enable and
  disable code paths of bhnd_compat_cc_pmu_set_ldoparef().

Reported by:	Coverity
CIDs:		1355194, 1362020, 1362022, 1373114, 1366563, 1373115,
		1381569, 1381579, 1383555, 1383566, 1383571
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>bhndb(4): Fix two register window overcommit bugs introduced in r326297:</title>
<updated>2017-12-14T03:41:12Z</updated>
<author>
<name>Landon J. Fuller</name>
<email>landonf@FreeBSD.org</email>
</author>
<published>2017-12-14T03:41:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=c7f55202d3dca4e5d7f2da0e86a191d0997292d5'/>
<id>urn:sha1:c7f55202d3dca4e5d7f2da0e86a191d0997292d5</id>
<content type='text'>
- The window target must always be updated when stealing a register window.
- Fix missing initialization of bhndb(4) region alloc_flags when
  registering statically mapped port regions (caught by scan-build).

Approved by:	adrian (mentor, implicit)
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>bhnd(4): Include board_devid in the bhnd_board_info structure, and populate</title>
<updated>2017-12-14T01:58:05Z</updated>
<author>
<name>Landon J. Fuller</name>
<email>landonf@FreeBSD.org</email>
</author>
<published>2017-12-14T01:58:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=566ca880a1361331e9dfd340bf39d6f14238151d'/>
<id>urn:sha1:566ca880a1361331e9dfd340bf39d6f14238151d</id>
<content type='text'>
the expected default board_vendor value on MIPS SoCs.

This is required by bwn(4) to differentiate between single-band and
dual-band device variants that otherwise share a common chip ID.

Approved by:	adrian (mentor, implicit)
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>bhndb(4): Fix leak of child devices and MSI vectors.</title>
<updated>2017-12-02T01:07:41Z</updated>
<author>
<name>Landon J. Fuller</name>
<email>landonf@FreeBSD.org</email>
</author>
<published>2017-12-02T01:07:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d16875a8066893408066a3d1a3ed59e41f3a1dee'/>
<id>urn:sha1:d16875a8066893408066a3d1a3ed59e41f3a1dee</id>
<content type='text'>
- Add missing call to device_delete_children() in bhndb_detach(), without
  which we're left with stale child devices on module unload.
- Pass the parent PCI device to pci_release_msi(), not the bhndb_pci(4)
  child.

Approved by:	adrian (mentor, implicit)
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
</feed>
