rocker: push tlv processing into separate files
[cascardo/linux.git] / drivers / net / ethernet / rocker / rocker.h
1 /*
2  * drivers/net/ethernet/rocker/rocker.h - Rocker switch device driver
3  * Copyright (c) 2014-2016 Jiri Pirko <jiri@mellanox.com>
4  * Copyright (c) 2014 Scott Feldman <sfeldma@gmail.com>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  */
11
12 #ifndef _ROCKER_H
13 #define _ROCKER_H
14
15 #include <linux/types.h>
16
17 #include "rocker_hw.h"
18
19 struct rocker_desc_info {
20         char *data; /* mapped */
21         size_t data_size;
22         size_t tlv_size;
23         struct rocker_desc *desc;
24         dma_addr_t mapaddr;
25 };
26
27 #endif