mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
bus: fsl-mc: add support for dpseci device type
Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Acked-by: Laurentiu Tudor <laurentiu.tudor@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
a5e9f55709
commit
e9158b35ef
2 changed files with 11 additions and 0 deletions
|
@ -405,6 +405,7 @@ extern struct device_type fsl_mc_bus_dpcon_type;
|
|||
extern struct device_type fsl_mc_bus_dpmcp_type;
|
||||
extern struct device_type fsl_mc_bus_dpmac_type;
|
||||
extern struct device_type fsl_mc_bus_dprtc_type;
|
||||
extern struct device_type fsl_mc_bus_dpseci_type;
|
||||
|
||||
static inline bool is_fsl_mc_bus_dprc(const struct fsl_mc_device *mc_dev)
|
||||
{
|
||||
|
@ -451,6 +452,11 @@ static inline bool is_fsl_mc_bus_dprtc(const struct fsl_mc_device *mc_dev)
|
|||
return mc_dev->dev.type == &fsl_mc_bus_dprtc_type;
|
||||
}
|
||||
|
||||
static inline bool is_fsl_mc_bus_dpseci(const struct fsl_mc_device *mc_dev)
|
||||
{
|
||||
return mc_dev->dev.type == &fsl_mc_bus_dpseci_type;
|
||||
}
|
||||
|
||||
/*
|
||||
* Data Path Buffer Pool (DPBP) API
|
||||
* Contains initialization APIs and runtime control APIs for DPBP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue