patch-2.0.11 linux/drivers/block/rz1000.c

Next file: linux/drivers/block/umc8672.c
Previous file: linux/drivers/block/qd6580.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.10/linux/drivers/block/rz1000.c linux/drivers/block/rz1000.c
@@ -45,8 +45,10 @@
 		if ((rc = pcibios_read_config_word(bus, fn, 0x40, &reg))
 		 || (rc =  pcibios_write_config_word(bus, fn, 0x40, reg & 0xdfff)))
 		{
-			ide_hwifs[0].no_unmask = 1;
-			ide_hwifs[1].no_unmask = 1;
+			ide_hwifs[0].drives[0].no_unmask = 1;
+			ide_hwifs[0].drives[1].no_unmask = 1;
+			ide_hwifs[1].drives[0].no_unmask = 1;
+			ide_hwifs[1].drives[1].no_unmask = 1;
 			ide_hwifs[0].serialized = 1;
 			ide_hwifs[1].serialized = 1;
 			ide_pci_access_error (rc);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov