| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Driver for MPC52xx processor BestComm General Buffer Descriptor |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2007 Sylvain Munaut <tnt@246tNt.com> |
|---|
| 5 | 6 | * Copyright (C) 2006 AppSpec Computer Technologies Corp. |
|---|
| 6 | 7 | * Jeff Gibbons <jeff.gibbons@appspec.com> |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 9 | | - * under the terms of the GNU General Public License version 2 as published |
|---|
| 10 | | - * by the Free Software Foundation. |
|---|
| 11 | | - * |
|---|
| 12 | 8 | */ |
|---|
| 13 | 9 | |
|---|
| 14 | 10 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 146 | 142 | tsk->index = 0; |
|---|
| 147 | 143 | tsk->outdex = 0; |
|---|
| 148 | 144 | |
|---|
| 149 | | - memset(tsk->bd, 0x00, tsk->num_bd * tsk->bd_size); |
|---|
| 145 | + memset_io(tsk->bd, 0x00, tsk->num_bd * tsk->bd_size); |
|---|
| 150 | 146 | |
|---|
| 151 | 147 | /* Configure some stuff */ |
|---|
| 152 | 148 | bcom_set_task_pragma(tsk->tasknum, BCOM_GEN_RX_BD_PRAGMA); |
|---|
| .. | .. |
|---|
| 230 | 226 | tsk->index = 0; |
|---|
| 231 | 227 | tsk->outdex = 0; |
|---|
| 232 | 228 | |
|---|
| 233 | | - memset(tsk->bd, 0x00, tsk->num_bd * tsk->bd_size); |
|---|
| 229 | + memset_io(tsk->bd, 0x00, tsk->num_bd * tsk->bd_size); |
|---|
| 234 | 230 | |
|---|
| 235 | 231 | /* Configure some stuff */ |
|---|
| 236 | 232 | bcom_set_task_pragma(tsk->tasknum, BCOM_GEN_TX_BD_PRAGMA); |
|---|