Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2018 00:46:15 -0400
From:      Lee D <embaudarm@gmail.com>
To:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Custom I2C and RTC chip drivers: where is iccbus_get_nostop() defined?
Message-ID:  <CANC_bnOVAb7R%2Bc_8x66Gz5A1nNjJQ8NXpkaF4A85N0gnEjyO%2Bw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi Everyone,

I am back to working on my Zynq I2C and M41T82 RTC chip drivers.  I am
still using 11.0.1.

It turns out that the Zynq I2C hardware is buggy and it doesn't really
fit in with the FreeBSD paradigm of issuing discrete bus transactions
(start, stop, etc.)

I am trying to work around this by writing my own version of
iicbus_transfer_gen(), copied from src/sys/dev/iicbus/iiconf.c

My question is, where is iicbus_get_nostop() defined?  I can't seem to
find it with grep.

"nostop" seems to get turned on at some point, and while I could just
ignore it, I'd like to know where and how it is happening.

Thanks,

Lee



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANC_bnOVAb7R%2Bc_8x66Gz5A1nNjJQ8NXpkaF4A85N0gnEjyO%2Bw>