Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318040
b: refs/heads/master
c: e58b89d
h: refs/heads/master
v: v3
  • Loading branch information
Toshiaki Yamane authored and Greg Kroah-Hartman committed Jul 19, 2012
1 parent 46077a3 commit f5e3970
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 12f3f21d08e4ba8ec35a9c132b89fa3fe9c82d13
refs/heads/master: e58b89dade3e9e7577f8481b21af3043dc0fffe3
12 changes: 7 additions & 5 deletions trunk/drivers/staging/et131x/et131x.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
*
*/

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/pci.h>
#include <linux/init.h>
#include <linux/module.h>
Expand Down Expand Up @@ -2553,8 +2555,8 @@ static int et131x_rx_dma_memory_alloc(struct et131x_adapter *adapter)
"Cannot alloc memory for Packet Status Ring\n");
return -ENOMEM;
}
printk(KERN_INFO "Packet Status Ring %lx\n",
(unsigned long) rx_ring->ps_ring_physaddr);
pr_info("Packet Status Ring %llx\n",
(unsigned long long) rx_ring->ps_ring_physaddr);

/*
* NOTE : dma_alloc_coherent(), used above to alloc DMA regions,
Expand All @@ -2574,7 +2576,7 @@ static int et131x_rx_dma_memory_alloc(struct et131x_adapter *adapter)
return -ENOMEM;
}
rx_ring->num_rfd = NIC_DEFAULT_NUM_RFD;
printk(KERN_INFO "PRS %lx\n", (unsigned long)rx_ring->rx_status_bus);
pr_info("PRS %llx\n", (unsigned long long)rx_ring->rx_status_bus);

/* Recv
* kmem_cache_create initializes a lookaside list. After successful
Expand Down Expand Up @@ -5180,8 +5182,8 @@ static int et131x_set_mac_addr(struct net_device *netdev, void *new_mac)

memcpy(netdev->dev_addr, address->sa_data, netdev->addr_len);

printk(KERN_INFO "%s: Setting MAC address to %pM\n",
netdev->name, netdev->dev_addr);
netdev_info(netdev, "Setting MAC address to %pM\n",
netdev->dev_addr);

/* Free Rx DMA memory */
et131x_adapter_memory_free(adapter);
Expand Down

0 comments on commit f5e3970

Please sign in to comment.