summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-2.6.30/fix-rtl865x_proc_debug-compile.patch
blob: 3c15521333c8fc107e63f302b1e11d19827fb687 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- linux-2.6.30.9/drivers/net/rtl819x/rtl865x_proc_debug.c.old	2013-06-02 11:32:57.529884142 +0300
+++ linux-2.6.30.9/drivers/net/rtl819x/rtl865x_proc_debug.c	2013-06-02 11:32:01.649882768 +0300
@@ -62,6 +62,14 @@
 extern unsigned int tx_ringFull_cnt;
 #endif
 
+/* fix implicit function declararion compile errors */
+/* from rtl865x_asicL2.c */
+extern int32 rtl865xC_setAsicEthernetForceModeRegs(uint32 port, uint32 enForceMode, uint32 forceLink, uint32 forceSpeed, uint32 forceDuplex);
+extern int32 rtl8651_setAsicEthernetPHYSpeed(uint32 port, uint32 speed);
+extern int32 rtl8651_setAsicEthernetPHYDuplex(uint32 port, uint32 duplex);
+extern int32 rtl8651_setAsicEthernetPHYAutoNeg(uint32 port, uint32 autoneg);
+extern int32 rtl8651_setAsicEthernetPHYAdvCapality(uint32 port, uint32 capality);
+
 static struct proc_dir_entry *rtl865x_proc_dir;
 #ifdef CONFIG_RTL_PROC_DEBUG	//proc debug flag
 static struct proc_dir_entry *vlan_entry,*netif_entry,*l2_entry, *arp_entry,