Lines 266-272
Link Here
|
266 |
} |
266 |
} |
267 |
|
267 |
|
268 |
|
268 |
|
269 |
//irqreturn_t rtl8180_interrupt(int irq, void *netdev, struct pt_regs *regs); |
269 |
//irqreturn_t rtl8180_interrupt(int irq, void *netdev); |
270 |
//void set_nic_rxring(struct net_device *dev); |
270 |
//void set_nic_rxring(struct net_device *dev); |
271 |
//void set_nic_txring(struct net_device *dev); |
271 |
//void set_nic_txring(struct net_device *dev); |
272 |
static struct net_device_stats *rtl8180_stats(struct net_device *dev); |
272 |
static struct net_device_stats *rtl8180_stats(struct net_device *dev); |
Lines 408-414
Link Here
|
408 |
} |
408 |
} |
409 |
|
409 |
|
410 |
|
410 |
|
411 |
static struct iw_statistics *r8180_get_wireless_stats(struct net_device *dev) |
411 |
static struct iw_statistics *r8180_get_stats(struct net_device *dev) |
412 |
{ |
412 |
{ |
413 |
struct r8180_priv *priv = ieee80211_priv(dev); |
413 |
struct r8180_priv *priv = ieee80211_priv(dev); |
414 |
|
414 |
|
Lines 678-684
Link Here
|
678 |
write_nic_dword(dev,TX_CONF,tx | (TX_LOOPBACK_NONE<<TX_LOOPBACK_SHIFT)); |
678 |
write_nic_dword(dev,TX_CONF,tx | (TX_LOOPBACK_NONE<<TX_LOOPBACK_SHIFT)); |
679 |
#endif |
679 |
#endif |
680 |
} |
680 |
} |
681 |
void rtl8187_rx_isr(struct urb *rx_urb, struct pt_regs *regs); |
681 |
void rtl8187_rx_isr(struct urb *rx_urb); |
682 |
|
682 |
|
683 |
|
683 |
|
684 |
void rtl8187_rx_urbsubmit(struct net_device *dev, struct urb* rx_urb) |
684 |
void rtl8187_rx_urbsubmit(struct net_device *dev, struct urb* rx_urb) |
Lines 1048-1054
Link Here
|
1048 |
} |
1048 |
} |
1049 |
|
1049 |
|
1050 |
|
1050 |
|
1051 |
void rtl8187_rx_isr(struct urb *rx_urb, struct pt_regs *regs) |
1051 |
void rtl8187_rx_isr(struct urb *rx_urb) |
1052 |
{ |
1052 |
{ |
1053 |
struct net_device *dev = (struct net_device*)rx_urb->context; |
1053 |
struct net_device *dev = (struct net_device*)rx_urb->context; |
1054 |
struct r8180_priv *priv = ieee80211_priv(dev); |
1054 |
struct r8180_priv *priv = ieee80211_priv(dev); |
Lines 1225-1231
Link Here
|
1225 |
|
1225 |
|
1226 |
void rtl8180_try_wake_queue(struct net_device *dev, int pri); |
1226 |
void rtl8180_try_wake_queue(struct net_device *dev, int pri); |
1227 |
|
1227 |
|
1228 |
void rtl8187_lptx_isr(struct urb *tx_urb, struct pt_regs *regs) |
1228 |
void rtl8187_lptx_isr(struct urb *tx_urb) |
1229 |
{ |
1229 |
{ |
1230 |
struct net_device *dev = (struct net_device*)tx_urb->context; |
1230 |
struct net_device *dev = (struct net_device*)tx_urb->context; |
1231 |
struct r8180_priv *priv = ieee80211_priv(dev); |
1231 |
struct r8180_priv *priv = ieee80211_priv(dev); |
Lines 1324-1330
Link Here
|
1324 |
|
1324 |
|
1325 |
} |
1325 |
} |
1326 |
|
1326 |
|
1327 |
void rtl8187_nptx_isr(struct urb *tx_urb, struct pt_regs *regs) |
1327 |
void rtl8187_nptx_isr(struct urb *tx_urb) |
1328 |
{ |
1328 |
{ |
1329 |
struct net_device *dev = (struct net_device*)tx_urb->context; |
1329 |
struct net_device *dev = (struct net_device*)tx_urb->context; |
1330 |
struct r8180_priv *priv = ieee80211_priv(dev); |
1330 |
struct r8180_priv *priv = ieee80211_priv(dev); |
Lines 2418-2424
Link Here
|
2418 |
dev->do_ioctl = rtl8180_ioctl; |
2418 |
dev->do_ioctl = rtl8180_ioctl; |
2419 |
dev->set_multicast_list = r8180_set_multicast; |
2419 |
dev->set_multicast_list = r8180_set_multicast; |
2420 |
dev->set_mac_address = r8180_set_mac_adr; |
2420 |
dev->set_mac_address = r8180_set_mac_adr; |
2421 |
dev->get_wireless_stats = r8180_get_wireless_stats; |
2421 |
dev->get_stats = r8180_get_stats; |
2422 |
dev->type=ARPHRD_ETHER; |
2422 |
dev->type=ARPHRD_ETHER; |
2423 |
|
2423 |
|
2424 |
if (dev_alloc_name(dev, ifname) < 0){ |
2424 |
if (dev_alloc_name(dev, ifname) < 0){ |