Thread (13 messages) 13 messages, 3 authors, 2011-01-07
STALE5626d
Revisions (8)
  1. v2 [diff vs current]
  2. v2 [diff vs current]
  3. v2 current
  4. v3 [diff vs current]
  5. v2 [diff vs current]
  6. v4 [diff vs current]
  7. v5 [diff vs current]
  8. v5 [diff vs current]

[PATCH v2 0/3] add CNS3xxx AHCI support

From: Lin Mac <hidden>
Date: 2011-01-06 16:18:08
Also in: linux-ide

2011/1/6 Anton Vorontsov [off-list ref]:
On Thu, Jan 06, 2011 at 02:43:08PM +0800, Lin Mac wrote:
[...]
quoted
quoted
It is overkill to rename the entirety of ahci_platform just for one override
function.
This sort of thing I would have expected to be added directly to
ahci_platform.c.
It might be overkill for only one controller. but it is more clean and
readable to have different SoC specific changes in separate files,
especially when more SoCs need to make similar changes.
I think that renaming the file is not necessary. You can just
rename the module in the makefile.
That is for consist end user experience. I wouldn't like to find my
script not working anymore when changing to some linux version, simply
because someone fix some issue on some platform I'm not using.
Personally I like the current approach more than putting
controller-specific fixups directly into ahci_platform.
Best Regards,
Mac Lin.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help