4584528981fe0090aa89f1a2ec9bdec3fbb203c1
2 * Atheros AP94 reference board PCI initialization
4 * Copyright (C) 2009-2010 Gabor Juhos <juhosg@openwrt.org>
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published
8 * by the Free Software Foundation.
11 #ifndef _AR71XX_DEV_AP94_PCI_H
12 #define _AR71XX_DEV_AP94_PCI_H
14 #if defined(CONFIG_AR71XX_DEV_AP94_PCI)
15 void ap94_pci_init(u8
*cal_data0
, u8
*mac_addr0
,
16 u8
*cal_data1
, u8
*mac_addr1
) __init
;
18 void ap94_pci_setup_wmac_led_pin(unsigned wmac
, int pin
) __init
;
19 void ap94_pci_setup_wmac_gpio(unsigned wmac
, u32 mask
, u32 val
) __init
;
22 static inline void ap94_pci_init(u8
*cal_data0
, u8
*mac_addr0
,
23 u8
*cal_data1
, u8
*mac_addr1
) {}
25 static inline void ap94_pci_setup_wmac_led_pin(unsigned wmac
, int pin
) {}
26 static inline void ap94_pci_setup_wmac_gpio(unsigned wmac
,
30 #endif /* _AR71XX_DEV_AP94_PCI_H */
This page took 0.035576 seconds and 3 git commands to generate.