|
@@ -228,7 +228,7 @@ int netxen_nic_hw_resources(struct netxen_adapter *adapter)
|
|
&adapter->ctx_desc_pdev);
|
|
&adapter->ctx_desc_pdev);
|
|
|
|
|
|
printk("ctx_desc_phys_addr: 0x%llx\n",
|
|
printk("ctx_desc_phys_addr: 0x%llx\n",
|
|
- (u64) adapter->ctx_desc_phys_addr);
|
|
|
|
|
|
+ (unsigned long long) adapter->ctx_desc_phys_addr);
|
|
if (addr == NULL) {
|
|
if (addr == NULL) {
|
|
DPRINTK(ERR, "bad return from pci_alloc_consistent\n");
|
|
DPRINTK(ERR, "bad return from pci_alloc_consistent\n");
|
|
err = -ENOMEM;
|
|
err = -ENOMEM;
|
|
@@ -247,7 +247,8 @@ int netxen_nic_hw_resources(struct netxen_adapter *adapter)
|
|
adapter->max_tx_desc_count,
|
|
adapter->max_tx_desc_count,
|
|
(dma_addr_t *) & hw->cmd_desc_phys_addr,
|
|
(dma_addr_t *) & hw->cmd_desc_phys_addr,
|
|
&adapter->ahw.cmd_desc_pdev);
|
|
&adapter->ahw.cmd_desc_pdev);
|
|
- printk("cmd_desc_phys_addr: 0x%llx\n", (u64) hw->cmd_desc_phys_addr);
|
|
|
|
|
|
+ printk("cmd_desc_phys_addr: 0x%llx\n",
|
|
|
|
+ (unsigned long long) hw->cmd_desc_phys_addr);
|
|
|
|
|
|
if (addr == NULL) {
|
|
if (addr == NULL) {
|
|
DPRINTK(ERR, "bad return from pci_alloc_consistent\n");
|
|
DPRINTK(ERR, "bad return from pci_alloc_consistent\n");
|