diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-05-13 06:09:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-18 00:03:41 -0400 |
commit | 61189c78bda846f4682c6003e893362f4305518b (patch) | |
tree | 0d77d1a28759b28c11514e3c7de205b1a4563e27 /drivers/net/usb/dm9601.c | |
parent | 9d21493b4beb8f918ba248032fefa393074a5e2b (diff) |
dm9601: trivial comment fixes
The comments describing the rx/tx headers used a combination of zero-
and 1-based indexing, leading to confusion.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/dm9601.c')
-rw-r--r-- | drivers/net/usb/dm9601.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/usb/dm9601.c b/drivers/net/usb/dm9601.c index 6fc4f82b0beb..7ae82446b93a 100644 --- a/drivers/net/usb/dm9601.c +++ b/drivers/net/usb/dm9601.c | |||
@@ -497,10 +497,10 @@ static int dm9601_rx_fixup(struct usbnet *dev, struct sk_buff *skb) | |||
497 | int len; | 497 | int len; |
498 | 498 | ||
499 | /* format: | 499 | /* format: |
500 | b0: rx status | 500 | b1: rx status |
501 | b1: packet length (incl crc) low | 501 | b2: packet length (incl crc) low |
502 | b2: packet length (incl crc) high | 502 | b3: packet length (incl crc) high |
503 | b3..n-4: packet data | 503 | b4..n-4: packet data |
504 | bn-3..bn: ethernet crc | 504 | bn-3..bn: ethernet crc |
505 | */ | 505 | */ |
506 | 506 | ||
@@ -533,8 +533,8 @@ static struct sk_buff *dm9601_tx_fixup(struct usbnet *dev, struct sk_buff *skb, | |||
533 | int len; | 533 | int len; |
534 | 534 | ||
535 | /* format: | 535 | /* format: |
536 | b0: packet length low | 536 | b1: packet length low |
537 | b1: packet length high | 537 | b2: packet length high |
538 | b3..n: packet data | 538 | b3..n: packet data |
539 | */ | 539 | */ |
540 | 540 | ||