| 1 | /* |
| 2 | * Atheros AR71xx DSA switch device support |
| 3 | * |
| 4 | * Copyright (C) 2008-2009 Gabor Juhos <juhosg@openwrt.org> |
| 5 | * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org> |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify it |
| 8 | * under the terms of the GNU General Public License version 2 as published |
| 9 | * by the Free Software Foundation. |
| 10 | */ |
| 11 | |
| 12 | #ifndef _ATH79_DEV_DSA_H |
| 13 | #define _ATH79_DEV_DSA_H |
| 14 | |
| 15 | #include <net/dsa.h> |
| 16 | |
| 17 | void ath79_register_dsa(struct device *netdev, |
| 18 | struct device *miidev, |
| 19 | struct dsa_platform_data *d); |
| 20 | |
| 21 | #endif /* _ATH79_DEV_DSA_H */ |
| 22 | |