patch-2.2.2 linux/drivers/scsi/ncr53c8xx.c
Next file: linux/drivers/scsi/ppa.h
Previous file: linux/drivers/scsi/imm.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Feb 14 23:17:31 1999
- Orig file:
v2.2.1/linux/drivers/scsi/ncr53c8xx.c
- Orig date:
Tue Jan 19 11:32:51 1999
diff -u --recursive --new-file v2.2.1/linux/drivers/scsi/ncr53c8xx.c linux/drivers/scsi/ncr53c8xx.c
@@ -9633,6 +9633,8 @@
base = pdev->base_address[1];
base_2 = pdev->base_address[2];
irq = pdev->irq;
+ if ((base & PCI_BASE_ADDRESS_MEM_TYPE_MASK) == PCI_BASE_ADDRESS_MEM_TYPE_64)
+ base_2 = pdev->base_address[3];
#else
(void) pcibios_read_config_dword(bus, device_fn,
PCI_BASE_ADDRESS_0, &io_port);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)