diff options
| author | Tony Lindgren <tony@atomide.com> | 2011-11-07 12:27:23 -0800 | 
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2011-11-07 12:27:23 -0800 | 
| commit | d30cc16c8e48368e0518f4975a78711e53e14a0f (patch) | |
| tree | 26b57f7ab5a963cc3d6c57dff6951bd930875583 /drivers/firmware/edd.c | |
| parent | 41eb2d813f558900884e240c2f723e36c7bd151f (diff) | |
| parent | a1bcc1dcef8451b4291ea2a1b2677cb194102952 (diff) | |
| download | olio-linux-3.10-d30cc16c8e48368e0518f4975a78711e53e14a0f.tar.xz olio-linux-3.10-d30cc16c8e48368e0518f4975a78711e53e14a0f.zip  | |
Merge branch 'fixes-modulesplit' into fixes
Diffstat (limited to 'drivers/firmware/edd.c')
| -rw-r--r-- | drivers/firmware/edd.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/firmware/edd.c b/drivers/firmware/edd.c index f1b7f659d3c..e2295766580 100644 --- a/drivers/firmware/edd.c +++ b/drivers/firmware/edd.c @@ -151,7 +151,8 @@ edd_show_host_bus(struct edd_device *edev, char *buf)  		p += scnprintf(p, left, "\tbase_address: %x\n",  			     info->params.interface_path.isa.base_address);  	} else if (!strncmp(info->params.host_bus_type, "PCIX", 4) || -		   !strncmp(info->params.host_bus_type, "PCI", 3)) { +		   !strncmp(info->params.host_bus_type, "PCI", 3) || +		   !strncmp(info->params.host_bus_type, "XPRS", 4)) {  		p += scnprintf(p, left,  			     "\t%02x:%02x.%d  channel: %u\n",  			     info->params.interface_path.pci.bus, @@ -159,7 +160,6 @@ edd_show_host_bus(struct edd_device *edev, char *buf)  			     info->params.interface_path.pci.function,  			     info->params.interface_path.pci.channel);  	} else if (!strncmp(info->params.host_bus_type, "IBND", 4) || -		   !strncmp(info->params.host_bus_type, "XPRS", 4) ||  		   !strncmp(info->params.host_bus_type, "HTPT", 4)) {  		p += scnprintf(p, left,  			     "\tTBD: %llx\n", @@ -668,7 +668,7 @@ edd_get_pci_dev(struct edd_device *edev)  {  	struct edd_info *info = edd_dev_get_info(edev); -	if (edd_dev_is_type(edev, "PCI")) { +	if (edd_dev_is_type(edev, "PCI") || edd_dev_is_type(edev, "XPRS")) {  		return pci_get_bus_and_slot(info->params.interface_path.pci.bus,  				     PCI_DEVFN(info->params.interface_path.pci.slot,  					       info->params.interface_path.pci.  |