1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-02-18 01:14:43 +02:00
juhosg 5e68925d9a ar71xx: fixup onboard PCIe chip registration on the DB120 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 12:48:03 +00:00

24 lines
722 B
C

/*
* Atheros DB120 reference board PCI initialization
*
* Copyright (C) 2010-2011 Jaiganesh Narayanan <jnarayanan@atheros.com>
* Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
*
* Parts of this file are based on Atheros linux 2.6.31 BSP
*
* 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_DB120_PCI_H
#define _AR71XX_DEV_DB120_PCI_H
#if defined(CONFIG_AR71XX_DEV_DB120_PCI)
void db120_pci_init(u8 *cal_data, u8 *mac_addr);
#else
static inline void db120_pci_init(u8 *cal_data, u8 *mac_addr) { }
#endif
#endif /* _AR71XX_DEV_DB120_PCI_H */