diff options
-rw-r--r-- | drivers/scsi/BusLogic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/BusLogic.c b/drivers/scsi/BusLogic.c index 9d6040bfa064..1c459343292b 100644 --- a/drivers/scsi/BusLogic.c +++ b/drivers/scsi/BusLogic.c | |||
@@ -2216,6 +2216,7 @@ static int __init BusLogic_init(void) | |||
2216 | HostAdapter->PCI_Address = ProbeInfo->PCI_Address; | 2216 | HostAdapter->PCI_Address = ProbeInfo->PCI_Address; |
2217 | HostAdapter->Bus = ProbeInfo->Bus; | 2217 | HostAdapter->Bus = ProbeInfo->Bus; |
2218 | HostAdapter->Device = ProbeInfo->Device; | 2218 | HostAdapter->Device = ProbeInfo->Device; |
2219 | HostAdapter->PCI_Device = ProbeInfo->PCI_Device; | ||
2219 | HostAdapter->IRQ_Channel = ProbeInfo->IRQ_Channel; | 2220 | HostAdapter->IRQ_Channel = ProbeInfo->IRQ_Channel; |
2220 | HostAdapter->AddressCount = BusLogic_HostAdapterAddressCount[HostAdapter->HostAdapterType]; | 2221 | HostAdapter->AddressCount = BusLogic_HostAdapterAddressCount[HostAdapter->HostAdapterType]; |
2221 | /* | 2222 | /* |
@@ -2296,7 +2297,7 @@ static int __init BusLogic_init(void) | |||
2296 | scsi_host_put(Host); | 2297 | scsi_host_put(Host); |
2297 | } else { | 2298 | } else { |
2298 | BusLogic_InitializeHostStructure(HostAdapter, Host); | 2299 | BusLogic_InitializeHostStructure(HostAdapter, Host); |
2299 | scsi_add_host(Host, NULL); | 2300 | scsi_add_host(Host, HostAdapter->PCI_Device ? &HostAdapter->PCI_Device->dev : NULL); |
2300 | scsi_scan_host(Host); | 2301 | scsi_scan_host(Host); |
2301 | BusLogicHostAdapterCount++; | 2302 | BusLogicHostAdapterCount++; |
2302 | } | 2303 | } |