Thread (46 messages) flat view 46 messages, 4 authors, 2016-07-12

Re: [PATCH 14/14] cxl: Add cxl_check_and_switch_mode() API to switch bi-modal cards

From: Ian Munsie <hidden>
Date: 2016-07-11 09:19:31

Excerpts from andrew.donnellan's message of 2016-07-07 18:15:06 +1000:
On 07/07/16 16:44, Andrew Donnellan wrote:
quoted
We can match the vendor, device ID *and* class code - unfortunately
there isn't a macro for this, which makes it a little bit less
aesthetically pleasing, but I'm pretty sure this works.
Something like the below, which works fine:
I like this solution, but I'm not going to include it in v2 of this
series and would rather it be submitted separately. The reason being is
that this series will work as is, and I'd like to see this undergo some
regression testing separate to the cx4 work, and a bit of scrutiny from
the hardware team just in case we are missing any device IDs that would
no longer be matched(I'm not aware of any, but you never know).

Cheers,
-Ian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help