mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
![Michael S. Tsirkin](/assets/img/avatar_default.png)
Tag config space fields as having virtio endian-ness. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
24 lines
513 B
C
24 lines
513 B
C
/*
|
|
* Copyright (C) ST-Ericsson AB 2012
|
|
* Author: Sjur Brændeland <sjur.brandeland@stericsson.com>
|
|
*
|
|
* This header is BSD licensed so
|
|
* anyone can use the definitions to implement compatible remote processors
|
|
*/
|
|
|
|
#ifndef VIRTIO_CAIF_H
|
|
#define VIRTIO_CAIF_H
|
|
|
|
#include <linux/types.h>
|
|
struct virtio_caif_transf_config {
|
|
__virtio16 headroom;
|
|
__virtio16 tailroom;
|
|
__virtio32 mtu;
|
|
u8 reserved[4];
|
|
};
|
|
|
|
struct virtio_caif_config {
|
|
struct virtio_caif_transf_config uplink, downlink;
|
|
u8 reserved[8];
|
|
};
|
|
#endif
|