diff options
| author | 2013-09-16 23:47:27 +0800 | |
|---|---|---|
| committer | 2013-09-25 17:24:37 -0700 | |
| commit | 22b4f0cd1d4d98f50213e9a37ead654e80b54b9d (patch) | |
| tree | f9050d6eac1e95874507308a1e0def0b2ba08b45 /include | |
| parent | usb: gadget: Remove redundant pci_set_drvdata (diff) | |
| download | linux-dev-22b4f0cd1d4d98f50213e9a37ead654e80b54b9d.tar.xz linux-dev-22b4f0cd1d4d98f50213e9a37ead654e80b54b9d.zip | |
usb: pci-quirks: refactor AMD quirk to abstract AMD chipset types
This patch abstracts out a AMD chipset type which includes southbridge
generation and its revision. When os excutes usb_amd_find_chipset_info
routine to initialize AMD chipset type, driver will know which kind of
chipset is used.
This update has below benifits:
- Driver is able to confirm which southbridge generations and their
revision are used, with chipset detection once.
- To describe chipset generations with enumeration types brings better
readability.
- It's flexible to filter AMD platforms to implement new quirks in future.
Signed-off-by: Huang Rui <ray.huang@amd.com>
Cc: Andiry Xu <andiry.xu@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
