<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/ichsmb, branch releng/12.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2019-12-22T19:30:13Z</updated>
<entry>
<title>MFC r355598, r355727, r355735, r355858</title>
<updated>2019-12-22T19:30:13Z</updated>
<author>
<name>Ian Lepore</name>
<email>ian@FreeBSD.org</email>
</author>
<published>2019-12-22T19:30:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4c3987c8857473c252dbe9995c770e4f95ffd0c8'/>
<id>urn:sha1:4c3987c8857473c252dbe9995c770e4f95ffd0c8</id>
<content type='text'>
r355598:
Do not attach children of owc_gpiobus until interrupts are working.

The children of the bus need to do IO on the bus to probe for hardware
presence.  Doing IO means timing the bus states using sbinuptime(), and
that requires working timecounters, which are not initialized until after
device attachment has completed.

PR:		242526

r355727 (by imp):
Create new wrapper function: bus_delayed_attach_children()

Delay the attachment of children, when requested, until after interrutps are
running. This is often needed to allow children to run transactions on i2c or
spi busses. It's a common enough idiom that it will be useful to have its own
wrapper.

Reviewed by: ian
Differential Revision: https://reviews.freebsd.org/D21465

r355735 (by imp):
Be consistent about checking return value from bus_delayed_attach_children.

Most places checked, but a couple last minute changes didn't. Make them all use
the return value.

Noticed by: rpokala@

r355858:
Update owc_gpiobus (one-wire over gpio) to the modern gpio_pin interface.

It used to be required that a device be a child of gpiobus(4) to manipulate
gpio pins. That requirement didn't work well for FDT-based systems with many
cross-hierarchy users of gpio, so a more modern framework was created that
removed the old hierarchy requirement.

These changes adapt the owc_gpiobus driver to use the newer gpio_pin_*
functions to acquire, release, and manipulate gpio pins. This allows a
single driver to work for both hinted-attachment and fdt-based systems, and
removes the requirement that any one-wire fdt nodes must appear at the root
of the devicetree.

Differential Revision:	https://reviews.freebsd.org/D22710
</content>
</entry>
<entry>
<title>MFC r351604:</title>
<updated>2019-09-16T16:10:44Z</updated>
<author>
<name>Yuri Pankov</name>
<email>yuripv@FreeBSD.org</email>
</author>
<published>2019-09-16T16:10:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f69775b5912fbc7d89c07402012261604d83137f'/>
<id>urn:sha1:f69775b5912fbc7d89c07402012261604d83137f</id>
<content type='text'>
ichsmb: defer smbus attach until interrupts are available

This fixes a "timed sleep before timers are working" panic seen
while attaching jedec_dimm(4) instances too early in the boot.

Submitted by:	ian
Reviewed by:	hselasky
Differential Revision:	https://reviews.freebsd.org/D21452
</content>
</entry>
<entry>
<title>MFC r345333: Add some Cannon Lake chipset IDs.</title>
<updated>2019-04-03T01:29:30Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2019-04-03T01:29:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=37fe16707386bc171a1025245eac855150f692f3'/>
<id>urn:sha1:37fe16707386bc171a1025245eac855150f692f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add IDs for several missing Intel SMBus controllers.</title>
<updated>2017-04-02T11:36:25Z</updated>
<author>
<name>Gavin Atkinson</name>
<email>gavin@FreeBSD.org</email>
</author>
<published>2017-04-02T11:36:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3f4760c8e15c490f1338b5f5b5215f5bd7fbf5f5'/>
<id>urn:sha1:3f4760c8e15c490f1338b5f5b5215f5bd7fbf5f5</id>
<content type='text'>
Obtained from:	Data sheets, Linux defines, local hardware
MFH:		2 weeks
</content>
</entry>
<entry>
<title>ichsmb: switch device_probe() from a large case statement to a lookup table.</title>
<updated>2017-03-29T23:13:04Z</updated>
<author>
<name>Gavin Atkinson</name>
<email>gavin@FreeBSD.org</email>
</author>
<published>2017-03-29T23:13:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=255bba06cfa654f6d255efd0b748fafd653bc360'/>
<id>urn:sha1:255bba06cfa654f6d255efd0b748fafd653bc360</id>
<content type='text'>
The case statement was getting unmanageably large, and I'm about to add
several more devices to it.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Remove #define PCIS_SERIALBUS_SMBUS_PROGIF, unused since r200091</title>
<updated>2017-03-28T21:54:36Z</updated>
<author>
<name>Gavin Atkinson</name>
<email>gavin@FreeBSD.org</email>
</author>
<published>2017-03-28T21:54:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=44f3702036acbc7a30ee5b50572b312cf3353bbf'/>
<id>urn:sha1:44f3702036acbc7a30ee5b50572b312cf3353bbf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add some device IDs found in my new laptop.</title>
<updated>2016-11-09T08:57:59Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2016-11-09T08:57:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2b064d4653e8dbe4b93b6ee7cc967b9b51810e3f'/>
<id>urn:sha1:2b064d4653e8dbe4b93b6ee7cc967b9b51810e3f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere().</title>
<updated>2016-02-27T03:38:01Z</updated>
<author>
<name>Justin Hibbits</name>
<email>jhibbits@FreeBSD.org</email>
</author>
<published>2016-02-27T03:38:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c47476d7e6801deffc8b3c057d0fbf7d2335a0c2'/>
<id>urn:sha1:c47476d7e6801deffc8b3c057d0fbf7d2335a0c2</id>
<content type='text'>
Most calls to bus_alloc_resource() use "anywhere" as the range, with a given
count.  Migrate these to use the new bus_alloc_resource_anywhere() API.

Reviewed by:	jhb
Differential Revision:	https://reviews.freebsd.org/D5370
</content>
</entry>
<entry>
<title>ichsmb: add PCI device ID for Intel Sunrise Point-H SMBus controller</title>
<updated>2016-02-16T02:23:39Z</updated>
<author>
<name>Eric van Gyzen</name>
<email>vangyzen@FreeBSD.org</email>
</author>
<published>2016-02-16T02:23:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bb51c2794313b0d0c0ec68901b89a0cc8e3d7937'/>
<id>urn:sha1:bb51c2794313b0d0c0ec68901b89a0cc8e3d7937</id>
<content type='text'>
MFC after:	3 days
Sponsored by:	Dell Inc.
</content>
</entry>
<entry>
<title>ichsmb: add Intel Wellsburg device ID.</title>
<updated>2015-06-10T22:39:10Z</updated>
<author>
<name>Rui Paulo</name>
<email>rpaulo@FreeBSD.org</email>
</author>
<published>2015-06-10T22:39:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d2f56f2e3dfe19facbac61c6fa0183501823b3ce'/>
<id>urn:sha1:d2f56f2e3dfe19facbac61c6fa0183501823b3ce</id>
<content type='text'>
Submitted by:	Michael Allen &lt;mallen pi-coral.com&gt;
MFC after:	1 week
Sponsored by:	Pi-Coral, Inc.
</content>
</entry>
</feed>
