ar71xx: enable access to the WAN port PHY on a few devices, adds WAN link detection
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / files / arch / mips / ar71xx / dev-dsa.h
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 _AR71XX_DEV_DSA_H
13 #define _AR71XX_DEV_DSA_H
14
15 #include <net/dsa.h>
16
17 void ar71xx_add_device_dsa(unsigned int id,
18 struct dsa_platform_data *d) __init;
19
20 #endif /* _AR71XX_DEV_DSA_H */