Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158749
b: refs/heads/master
c: 22fa125
h: refs/heads/master
i:
  158747: 6cba76c
v: v3
  • Loading branch information
Sreenivasa Honnur authored and David S. Miller committed Jul 6, 2009
1 parent a83695c commit 4fc6e4b
Show file tree
Hide file tree
Showing 3 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: a5d165b571fcf347e82af6292074d2f0c07de3a6
refs/heads/master: 22fa125ee24f8db497fa447c145a4a1293fab098
10 changes: 6 additions & 4 deletions trunk/drivers/net/vxge/vxge-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,8 @@ vxge_rx_1b_compl(struct __vxge_hw_ring *ringh, void *dtr,
vxge_hw_ring_rxd_1b_get(ringh, dtr, &dma_sizes);
pkt_length = dma_sizes;

pkt_length -= ETH_FCS_LEN;

vxge_debug_rx(VXGE_TRACE,
"%s: %s:%d Packet Length = %d",
ring->ndev->name, __func__, __LINE__, pkt_length);
Expand Down Expand Up @@ -4163,11 +4165,11 @@ vxge_probe(struct pci_dev *pdev, const struct pci_device_id *pre)
}

if (ll_config.device_hw_info.fw_version.major !=
VXGE_DRIVER_VERSION_MAJOR) {
VXGE_DRIVER_FW_VERSION_MAJOR) {
vxge_debug_init(VXGE_ERR,
"FW Ver.(maj): %d not driver's expected version: %d",
ll_config.device_hw_info.fw_version.major,
VXGE_DRIVER_VERSION_MAJOR);
"%s: Incorrect firmware version."
"Please upgrade the firmware to version 1.x.x",
VXGE_DRIVER_NAME);
ret = -EINVAL;
goto _exit3;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/vxge/vxge-main.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#define VXGE_DRIVER_NAME "vxge"
#define VXGE_DRIVER_VENDOR "Neterion, Inc"
#define VXGE_DRIVER_VERSION_MAJOR 0
#define VXGE_DRIVER_FW_VERSION_MAJOR 1

#define DRV_VERSION VXGE_VERSION_MAJOR"."VXGE_VERSION_MINOR"."\
VXGE_VERSION_FIX"."VXGE_VERSION_BUILD"-"\
Expand Down

0 comments on commit 4fc6e4b

Please sign in to comment.