Add an interface to allow child drivers to modify the register offset
calculation and the register access method. The former will also validate
the offset is valid for the device.
Use these in the n1sdp driver to remove duplicate code.
Differential D25147
Allow for PCI controllers with different register layout andrew on Jun 5 2020, 2:25 PM. Authored by Tags None Referenced Files
Subscribers
Details
Diff Detail
Event Timeline
Comment Actions It's not paart of the pcib interface because it is specific to a driver that used bus space. PCI on x86 doesn't use this as it uses ioports via {in,out}{b,w,l} in some cases.
Comment Actions Add a way for more specific drivers to cleaan up after a read/write.
|