Re: [PATCH] Add intr_mask() / intr_unmask() interface to mask / unmask individual interrupt sources
Jason Thorpe <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.i386,gmane.os.netbsd.ports.x86-64 |
|---|---|
| Message-ID | <[email protected]> |
> On Nov 30, 2019, at 9:48 AM, Manuel Bouyer <[email protected]> wrote: > > Just please make sure that the i2c code (espeically hid over i2c) can > still run without the mask/unmask MD parts (this will probably require some > #ifdef unfortunably). That's not possible -- the whole point is to get rid of i2c access in interrupt context (because it's not safe, even with I2C_F_POLL). -- thorpej