patch-2.4.5 linux/drivers/atm/eni.c
Next file: linux/drivers/block/DAC960.c
Previous file: linux/drivers/acpi/driver.c
Back to the patch index
Back to the overall index
-  Lines: 8
-  Date:
Wed May 16 10:22:50 2001
-  Orig file: 
v2.4.4/linux/drivers/atm/eni.c
-  Orig date: 
Thu Jul  6 21:37:24 2000
diff -u --recursive --new-file v2.4.4/linux/drivers/atm/eni.c linux/drivers/atm/eni.c
@@ -1796,6 +1796,7 @@
 		return -EAGAIN;
 	}
 	/* @@@ should release IRQ on error */
+	pci_set_master(eni_dev->pci_dev);
 	if ((error = pci_write_config_word(eni_dev->pci_dev,PCI_COMMAND,
 	    PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER |
 	    (eni_dev->asic ? PCI_COMMAND_PARITY | PCI_COMMAND_SERR : 0)))) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)