| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 3 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 4 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 5 | | - * (at your option) any later version. |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 8 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 9 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 10 | | - * GNU General Public License for more details. |
|---|
| 11 | 3 | * |
|---|
| 12 | 4 | * Copyright (C) 2004 IDT Inc. |
|---|
| 13 | 5 | * Copyright (C) 2006 Felix Fietkau <nbd@openwrt.org> |
|---|
| .. | .. |
|---|
| 69 | 61 | char *name; |
|---|
| 70 | 62 | unsigned char mac[6]; |
|---|
| 71 | 63 | struct net_device *dev; |
|---|
| 72 | | -}; |
|---|
| 73 | | - |
|---|
| 74 | | -struct cf_device { |
|---|
| 75 | | - int gpio_pin; |
|---|
| 76 | | - void *dev; |
|---|
| 77 | | - struct gendisk *gd; |
|---|
| 78 | 64 | }; |
|---|
| 79 | 65 | |
|---|
| 80 | 66 | struct mpmc_device { |
|---|