[lkml]   [2017]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: [PATCH v10 0/9] LPC: legacy ISA I/O support
Hi David


> FWIW my thoughts on this are WTF!
> Looks to me horribly over complicated and over generalised.
> Surely is it could be done the same way that x86 does IO cycles?


> So you encode the information into the 'address' the driver passes
> to ioread16() (etc) to allow it to do either a normal bus cycle or
> the indirect cycle onto the external bus.

In order to do that you need to have a special PCI bridge that is able
to detect the special IO addresses and initiate such special IO cycles
on the external bus. This is not supported by our HW (and this why
we need the LPC accessors)


> So you have one kernel option that makes these real functions.
> David

 \ /
  Last update: 2017-10-30 12:40    [W:0.113 / U:2.912 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site