2006-06-27 00:40:19 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2006 OpenWrt.org
|
|
|
|
*
|
|
|
|
* This is free software, licensed under the GNU General Public License v2.
|
|
|
|
* See /LICENSE for more information.
|
|
|
|
*/
|
|
|
|
|
2005-12-25 14:18:55 +00:00
|
|
|
#ifndef __GPIO_H
|
|
|
|
#define __GPIO_H
|
|
|
|
|
2011-08-04 20:07:58 +00:00
|
|
|
#ifdef CONFIG_BCM47XX
|
2007-03-14 01:19:24 +00:00
|
|
|
#include "gpio-bcm947xx.h"
|
2005-12-25 14:18:55 +00:00
|
|
|
#else
|
2009-03-09 21:57:11 +00:00
|
|
|
#warning "Unsupported configuration."
|
|
|
|
|
|
|
|
#define gpio_in() (-1U)
|
|
|
|
#define gpio_out(mask, value) (-1U)
|
|
|
|
#define gpio_outen(mask, value) (-1U)
|
|
|
|
#define gpio_control(mask, value) (-1U)
|
|
|
|
#define gpio_intmask(mask, value) (-1U)
|
|
|
|
#define gpio_intpolarity(mask, value) (-1U)
|
|
|
|
|
2005-12-25 14:18:55 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __GPIO_H */
|