dev-dsa.h 574 B

123456789101112131415161718192021
  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. #ifndef _ATH79_DEV_DSA_H
  12. #define _ATH79_DEV_DSA_H
  13. #include <net/dsa.h>
  14. void ath79_register_dsa(struct device *netdev,
  15. struct device *miidev,
  16. struct dsa_platform_data *d);
  17. #endif /* _ATH79_DEV_DSA_H */