forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/net/wan/fsl_ucc_hdlc.h
....@@ -1,11 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Freescale QUICC Engine HDLC Device Driver
23 *
34 * Copyright 2014 Freescale Semiconductor Inc.
4
- *
5
- * This program is free software; you can redistribute it and/or modify it
6
- * under the terms of the GNU General Public License as published by the
7
- * Free Software Foundation; either version 2 of the License, or (at your
8
- * option) any later version.
95 */
106
117 #ifndef _UCC_HDLC_H_
....@@ -102,10 +98,11 @@
10298
10399 unsigned short tx_ring_size;
104100 unsigned short rx_ring_size;
105
- u32 ucc_pram_offset;
101
+ s32 ucc_pram_offset;
106102
107103 unsigned short encoding;
108104 unsigned short parity;
105
+ unsigned short hmask;
109106 u32 clocking;
110107 spinlock_t lock; /* lock for Tx BD and Tx buffer */
111108 #ifdef CONFIG_PM