.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* Freescale QUICC Engine HDLC Device Driver |
---|
2 | 3 | * |
---|
3 | 4 | * 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. |
---|
9 | 5 | */ |
---|
10 | 6 | |
---|
11 | 7 | #ifndef _UCC_HDLC_H_ |
---|
.. | .. |
---|
102 | 98 | |
---|
103 | 99 | unsigned short tx_ring_size; |
---|
104 | 100 | unsigned short rx_ring_size; |
---|
105 | | - u32 ucc_pram_offset; |
---|
| 101 | + s32 ucc_pram_offset; |
---|
106 | 102 | |
---|
107 | 103 | unsigned short encoding; |
---|
108 | 104 | unsigned short parity; |
---|
| 105 | + unsigned short hmask; |
---|
109 | 106 | u32 clocking; |
---|
110 | 107 | spinlock_t lock; /* lock for Tx BD and Tx buffer */ |
---|
111 | 108 | #ifdef CONFIG_PM |
---|