Re: [PATCH #upstream 1/2] ahci: clean up board IDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/28/2010 09:32 PM, Tejun Heo wrote:
ahci over time has grown a number of board IDs and it's a bit of mess
right now.  Clean it up such that,

* board_id_* now live in a separate enum board_ids and numbers are
   assigned automatically.

* Board IDs assigned to features are separated from the ones assigned
   to specific implementations and both are ordered alphabetically.

* For NV MCPs, define per-generation alias board_ids and assign
   matching aliases in the pci id table.  This makes mcp_linux, 67-73
   use board_ahci_mcp65 instead of board_ahci_yesncq.  Both are
   identical in content.

* Kill now unused board_ahci_nopmp and board_ahci_yesncq.

This patch doesn't cause any functional change but will make future
changes to board_ids and quirks much less painful.

Signed-off-by: Tejun Heo<tj@xxxxxxxxxx>
Cc: Peer Chen<pchen@xxxxxxxxxx>
---
Updated against the new #upstream.  Thanks.

  drivers/ata/ahci.c |  237 ++++++++++++++++++++++++++---------------------------
  1 file changed, 117 insertions(+), 120 deletions(-)

applied


--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux