mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
WAN: Correct comments in hd6457[02].c
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
This commit is contained in:
parent
0b59cef885
commit
fcfe9ff3e2
2 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ static inline u16 desc_abs_number(port_t *port, u16 desc, int transmit)
|
|||
|
||||
static inline u16 desc_offset(port_t *port, u16 desc, int transmit)
|
||||
{
|
||||
/* Descriptor offset always fits in 16 bytes */
|
||||
/* Descriptor offset always fits in 16 bits */
|
||||
return desc_abs_number(port, desc, transmit) * sizeof(pkt_desc);
|
||||
}
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ static inline u16 desc_abs_number(port_t *port, u16 desc, int transmit)
|
|||
|
||||
static inline u16 desc_offset(port_t *port, u16 desc, int transmit)
|
||||
{
|
||||
/* Descriptor offset always fits in 16 bytes */
|
||||
/* Descriptor offset always fits in 16 bits */
|
||||
return desc_abs_number(port, desc, transmit) * sizeof(pkt_desc);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue