mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-14 02:02:50 +02:00
6cc1945af5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24568 3c298f89-4303-0410-b956-a3cf2f4a3e73
26 lines
817 B
C
26 lines
817 B
C
/*
|
|
* Atheros AP91 reference board PCI initialization
|
|
*
|
|
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License version 2 as published
|
|
* by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef _AR71XX_DEV_AP91_PCI_H
|
|
#define _AR71XX_DEV_AP91_PCI_H
|
|
|
|
#if defined(CONFIG_AR71XX_DEV_AP91_PCI)
|
|
void ap91_pci_init(u8 *cal_data, u8 *mac_addr) __init;
|
|
void ap91_pci_setup_wmac_led_pin(int pin) __init;
|
|
void ap91_pci_setup_wmac_gpio(u32 mask, u32 val) __init;
|
|
#else
|
|
static inline void ap91_pci_init(u8 *cal_data, u8 *mac_addr) { }
|
|
static inline void ap91_pci_setup_wmac_led(int pin) { }
|
|
static inline void ap91_pci_setup_wmac_gpio(u32 mask, u32 gpio) { }
|
|
#endif
|
|
|
|
#endif /* _AR71XX_DEV_AP91_PCI_H */
|
|
|