patch-2.2.4 linux/drivers/block/ns87415.c
Next file: linux/drivers/block/sl82c105.c
Previous file: linux/drivers/block/nbd.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Mon Mar 15 16:11:29 1999
- Orig file:
v2.2.3/linux/drivers/block/ns87415.c
- Orig date:
Thu Nov 19 09:56:28 1998
diff -u --recursive --new-file v2.2.3/linux/drivers/block/ns87415.c linux/drivers/block/ns87415.c
@@ -95,6 +95,12 @@
byte stat;
#endif
+ /* Set a good latency timer and cache line size value. */
+ (void) pci_write_config_byte(dev, PCI_LATENCY_TIMER, 64);
+#ifdef __sparc_v9__
+ (void) pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, 0x10);
+#endif
+
/*
* We cannot probe for IRQ: both ports share common IRQ on INTA.
* Also, leave IRQ masked during drive probing, to prevent infinite
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)