aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic_isr.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/netxen/netxen_nic_isr.c')
-rw-r--r--drivers/net/netxen/netxen_nic_isr.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/net/netxen/netxen_nic_isr.c b/drivers/net/netxen/netxen_nic_isr.c
index b2de6b6c2a7f..0a261de0a953 100644
--- a/drivers/net/netxen/netxen_nic_isr.c
+++ b/drivers/net/netxen/netxen_nic_isr.c
@@ -66,7 +66,8 @@ struct net_device_stats *netxen_nic_get_stats(struct net_device *netdev)
66 return stats; 66 return stats;
67} 67}
68 68
69void netxen_indicate_link_status(struct netxen_adapter *adapter, u32 link) 69static void netxen_indicate_link_status(struct netxen_adapter *adapter,
70 u32 link)
70{ 71{
71 struct net_device *netdev = adapter->netdev; 72 struct net_device *netdev = adapter->netdev;
72 73
@@ -76,6 +77,7 @@ void netxen_indicate_link_status(struct netxen_adapter *adapter, u32 link)
76 netif_carrier_off(netdev); 77 netif_carrier_off(netdev);
77} 78}
78 79
80#if 0
79void netxen_handle_port_int(struct netxen_adapter *adapter, u32 enable) 81void netxen_handle_port_int(struct netxen_adapter *adapter, u32 enable)
80{ 82{
81 __u32 int_src; 83 __u32 int_src;
@@ -134,8 +136,9 @@ void netxen_handle_port_int(struct netxen_adapter *adapter, u32 enable)
134 if (adapter->enable_phy_interrupts) 136 if (adapter->enable_phy_interrupts)
135 adapter->enable_phy_interrupts(adapter); 137 adapter->enable_phy_interrupts(adapter);
136} 138}
139#endif /* 0 */
137 140
138void netxen_nic_isr_other(struct netxen_adapter *adapter) 141static void netxen_nic_isr_other(struct netxen_adapter *adapter)
139{ 142{
140 int portno = adapter->portnum; 143 int portno = adapter->portnum;
141 u32 val, linkup, qg_linksup; 144 u32 val, linkup, qg_linksup;