Thread (23 messages) 23 messages, 6 authors, 2017-10-01

Re: [PATCH RFC 3/5] Add KSZ8795 switch driver

From: Pavel Machek <hidden>
Date: 2017-09-28 15:24:50
Also in: lkml

quoted
quoted
quoted
Similar code will be needed by other drivers, right?
Although KSZ8795 and KSZ8895 may use the same code, the other
chips will have different code.
Ok, please make sure code is shared between these two.
The exact function probably cannot be shared between KSZ8795
and KSZ8895 drivers because although the register constants look
the same but their exact locations are different in the 2 chips.
Put the code into header as static inline and include it from both
places?

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachments

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