SUNIX SDC PCIe multi-function card core support
PATCH 1/1 SUNIX SDC PCIe multi-function card core support
From: Morris Ku <[email protected]>
Add support for SUNIX SDC PCIe multi-function card
Cc Jason Lee <[email protected]>
Cc Taian Chen <[email protected]>
Cc Morris Ku <[email protected]>
Signed-off-by Morris Ku <[email protected]>
--- sunix-sdc.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 sunix-sdc.h
sunix-sdc.h new file +24 -0
@@ -0,0 +1,24 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* +* SUNIX SDC PCIe multi-function card core support. +* +* Copyright (C) 2021, SUNIX Co., Ltd. +* +*/ + +#ifndef __SUNIX_SDC_H +#define __SUNIX_SDC_H + +struct device ; + +struct sunix_sdc_platform_info { +struct resource *b0_mem; +struct resource *b1_io; +struct resource *b2_mem; +int irq; +}; + +int sunix_sdc_probe (struct device *dev,struct sunix_sdc_platform_info *info); +void sunix_sdc_remove (struct device *dev); + +#endif // __SUNIX_SDC_H
Signature · 1 line
2.20.1