patch-2.3.99-pre4 linux/drivers/net/sk98lin/skge.c

Next file: linux/drivers/net/sunhme.c
Previous file: linux/drivers/net/ppp_synctty.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre3/linux/drivers/net/sk98lin/skge.c linux/drivers/net/sk98lin/skge.c
@@ -412,21 +412,6 @@
 
 		pci_set_master(pdev);
 
-#ifdef __sparc__
-		/* Set the proper cache line size value, plus enable
-		 * write-invalidate and fast back-to-back on Sparc.
-		 */
-		{
-			SK_U16 pci_command;
-
-			SkPciWriteCfgByte(pAC, PCI_CACHE_LINE_SIZE, 0x10);
-
-			SkPciReadCfgWord(pAC, PCI_COMMAND, &pci_command);
-			pci_command |= (PCI_COMMAND_INVALIDATE | PCI_COMMAND_FAST_BACK);
-			SkPciWriteCfgWord(pAC, PCI_COMMAND, pci_command);
-		}
-#endif
-
 		base_address = pdev->resource[0].start;
 
 #ifdef SK_BIG_ENDIAN

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)