mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-01 10:58:06 +02:00
b5cfb56ed4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26606 3c298f89-4303-0410-b956-a3cf2f4a3e73
26 lines
821 B
C
26 lines
821 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_pin(int pin) { }
|
|
static inline void ap91_pci_setup_wmac_gpio(u32 mask, u32 gpio) { }
|
|
#endif
|
|
|
|
#endif /* _AR71XX_DEV_AP91_PCI_H */
|
|
|