This should cause no change to the generated code, but is semantically
correct.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
* set the status with the "ownership" bits last.
*/
status = 0x8300;
- entry->length = le16_to_cpu(-pkt_len);
+ entry->length = cpu_to_le16(-pkt_len);
entry->misc = 0x00000000;
entry->base = PCI_TO_MEM_LE(dev, packet);
- entry->status = le16_to_cpu(status);
+ entry->status = cpu_to_le16(status);
/* Trigger an immediate send poll. */
pcnet_write_csr(dev, 0, 0x0008);