2006-06-27 03:40:19 +03: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 16:18:55 +02:00
|
|
|
#ifndef __GPIO_H
|
|
|
|
#define __GPIO_H
|
|
|
|
|
2007-03-14 03:19:24 +02:00
|
|
|
#ifdef BROADCOM
|
|
|
|
#include "gpio-bcm947xx.h"
|
2005-12-25 16:18:55 +02:00
|
|
|
#else
|
2009-03-09 23:57:11 +02: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 16:18:55 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __GPIO_H */
|