Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243562
b: refs/heads/master
c: 18b429e
h: refs/heads/master
v: v3
  • Loading branch information
Philip A. Prindeville authored and David S. Miller committed Mar 30, 2011
1 parent cafb73f commit 74ef1da
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 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: 1e19e658567472c46c9b4d27acdb804de04dfdac
refs/heads/master: 18b429e74eeafe42e947b1b0f9a760c7153a0b5c
9 changes: 8 additions & 1 deletion trunk/drivers/atm/solos-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ void solos_bh(unsigned long card_arg)
size);
}
if (atmdebug) {
dev_info(&card->dev->dev, "Received: device %d\n", port);
dev_info(&card->dev->dev, "Received: port %d\n", port);
dev_info(&card->dev->dev, "size: %d VPI: %d VCI: %d\n",
size, le16_to_cpu(header->vpi),
le16_to_cpu(header->vci));
Expand Down Expand Up @@ -1018,8 +1018,15 @@ static uint32_t fpga_tx(struct solos_card *card)

/* Clean up and free oldskb now it's gone */
if (atmdebug) {
struct pkt_hdr *header = (void *)oldskb->data;
int size = le16_to_cpu(header->size);

skb_pull(oldskb, sizeof(*header));
dev_info(&card->dev->dev, "Transmitted: port %d\n",
port);
dev_info(&card->dev->dev, "size: %d VPI: %d VCI: %d\n",
size, le16_to_cpu(header->vpi),
le16_to_cpu(header->vci));
print_buffer(oldskb);
}

Expand Down

0 comments on commit 74ef1da

Please sign in to comment.