| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * drivers/net/ethernet/ibm/emac/zmii.h |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 14 | 15 | * Based on original work by |
|---|
| 15 | 16 | * Armin Kuster <akuster@mvista.com> |
|---|
| 16 | 17 | * Copyright 2001 MontaVista Softare Inc. |
|---|
| 17 | | - * |
|---|
| 18 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 19 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 20 | | - * Free Software Foundation; either version 2 of the License, or (at your |
|---|
| 21 | | - * option) any later version. |
|---|
| 22 | | - * |
|---|
| 23 | 18 | */ |
|---|
| 24 | 19 | #ifndef __IBM_NEWEMAC_ZMII_H |
|---|
| 25 | 20 | #define __IBM_NEWEMAC_ZMII_H |
|---|
| .. | .. |
|---|
| 55 | 50 | |
|---|
| 56 | 51 | int zmii_init(void); |
|---|
| 57 | 52 | void zmii_exit(void); |
|---|
| 58 | | -int zmii_attach(struct platform_device *ofdev, int input, int *mode); |
|---|
| 53 | +int zmii_attach(struct platform_device *ofdev, int input, |
|---|
| 54 | + phy_interface_t *mode); |
|---|
| 59 | 55 | void zmii_detach(struct platform_device *ofdev, int input); |
|---|
| 60 | 56 | void zmii_get_mdio(struct platform_device *ofdev, int input); |
|---|
| 61 | 57 | void zmii_put_mdio(struct platform_device *ofdev, int input); |
|---|