| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2004 - 2006 rt2x00 SourceForge Project |
|---|
| 3 | 4 | * <http://rt2x00.serialmonkey.com> |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 6 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 7 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 8 | | - * (at your option) any later version. |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 11 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 12 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 13 | | - * GNU General Public License for more details. |
|---|
| 14 | 5 | * |
|---|
| 15 | 6 | * Module: eeprom_93cx6 |
|---|
| 16 | 7 | * Abstract: EEPROM reader routines for 93cx6 chipsets. |
|---|
| .. | .. |
|---|
| 237 | 228 | /** |
|---|
| 238 | 229 | * eeprom_93cx6_readb - Read a byte from eeprom |
|---|
| 239 | 230 | * @eeprom: Pointer to eeprom structure |
|---|
| 240 | | - * @word: Byte index from where we should start reading |
|---|
| 231 | + * @byte: Byte index from where we should start reading |
|---|
| 241 | 232 | * @data: target pointer where the information will have to be stored |
|---|
| 242 | 233 | * |
|---|
| 243 | 234 | * This function will read a byte of the eeprom data |
|---|
| .. | .. |
|---|
| 279 | 270 | * @eeprom: Pointer to eeprom structure |
|---|
| 280 | 271 | * @byte: Index from where we should start reading |
|---|
| 281 | 272 | * @data: target pointer where the information will have to be stored |
|---|
| 282 | | - * @words: Number of bytes that should be read. |
|---|
| 273 | + * @bytes: Number of bytes that should be read. |
|---|
| 283 | 274 | * |
|---|
| 284 | 275 | * This function will read all requested bytes from the eeprom, |
|---|
| 285 | 276 | * this is done by calling eeprom_93cx6_readb() multiple times. |
|---|