aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/atari_bionet.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-09-13 13:24:59 -0400
committerJeff Garzik <jeff@garzik.org>2006-09-13 13:24:59 -0400
commit6aa20a2235535605db6d6d2bd850298b2fe7f31e (patch)
treedf0b855043407b831d57f2f2c271f8aab48444f4 /drivers/net/atari_bionet.c
parent7a291083225af6e22ffaa46b3d91cfc1a1ccaab4 (diff)
drivers/net: Trim trailing whitespace
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/atari_bionet.c')
-rw-r--r--drivers/net/atari_bionet.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/atari_bionet.c b/drivers/net/atari_bionet.c
index 5e5f80b99b9e..92b52138acad 100644
--- a/drivers/net/atari_bionet.c
+++ b/drivers/net/atari_bionet.c
@@ -460,7 +460,7 @@ bionet_send_packet(struct sk_buff *skb, struct net_device *dev) {
460 if (bionet_debug >1) { 460 if (bionet_debug >1) {
461 u_char *data = nic_packet->buffer, *p; 461 u_char *data = nic_packet->buffer, *p;
462 int i; 462 int i;
463 463
464 printk( "%s: TX pkt type 0x%4x from ", dev->name, 464 printk( "%s: TX pkt type 0x%4x from ", dev->name,
465 ((u_short *)data)[6]); 465 ((u_short *)data)[6]);
466 466
@@ -551,7 +551,7 @@ bionet_poll_rx(struct net_device *dev) {
551 /* 'skb->data' points to the start of sk_buff data area. 551 /* 'skb->data' points to the start of sk_buff data area.
552 */ 552 */
553 memcpy(skb->data, nic_packet->buffer, pkt_len); 553 memcpy(skb->data, nic_packet->buffer, pkt_len);
554 skb->protocol = eth_type_trans( skb, dev ); 554 skb->protocol = eth_type_trans( skb, dev );
555 netif_rx(skb); 555 netif_rx(skb);
556 dev->last_rx = jiffies; 556 dev->last_rx = jiffies;
557 lp->stats.rx_packets++; 557 lp->stats.rx_packets++;
@@ -565,17 +565,17 @@ bionet_poll_rx(struct net_device *dev) {
565 if (bionet_debug >1) { 565 if (bionet_debug >1) {
566 u_char *data = nic_packet->buffer, *p; 566 u_char *data = nic_packet->buffer, *p;
567 int i; 567 int i;
568 568
569 printk( "%s: RX pkt type 0x%4x from ", dev->name, 569 printk( "%s: RX pkt type 0x%4x from ", dev->name,
570 ((u_short *)data)[6]); 570 ((u_short *)data)[6]);
571 571
572 572
573 for( p = &data[6], i = 0; i < 6; i++ ) 573 for( p = &data[6], i = 0; i < 6; i++ )
574 printk("%02x%s", *p++,i != 5 ? ":" : "" ); 574 printk("%02x%s", *p++,i != 5 ? ":" : "" );
575 printk(" to "); 575 printk(" to ");
576 for( p = data, i = 0; i < 6; i++ ) 576 for( p = data, i = 0; i < 6; i++ )
577 printk("%02x%s", *p++,i != 5 ? ":" : "" "\n" ); 577 printk("%02x%s", *p++,i != 5 ? ":" : "" "\n" );
578 578
579 printk( "%s: ", dev->name ); 579 printk( "%s: ", dev->name );
580 printk(" data %02x%02x %02x%02x%02x%02x %02x%02x%02x%02x %02x%02x%02x%02x %02x%02x%02x%02x" 580 printk(" data %02x%02x %02x%02x%02x%02x %02x%02x%02x%02x %02x%02x%02x%02x %02x%02x%02x%02x"
581 " %02x%02x%02x%02x len %d\n", 581 " %02x%02x%02x%02x len %d\n",
@@ -636,7 +636,7 @@ bionet_close(struct net_device *dev) {
636/* Get the current statistics. 636/* Get the current statistics.
637 This may be called with the card open or closed. 637 This may be called with the card open or closed.
638 */ 638 */
639static struct net_device_stats *net_get_stats(struct net_device *dev) 639static struct net_device_stats *net_get_stats(struct net_device *dev)
640{ 640{
641 struct net_local *lp = netdev_priv(dev); 641 struct net_local *lp = netdev_priv(dev);
642 return &lp->stats; 642 return &lp->stats;