aboutsummaryrefslogblamecommitdiffstats
path: root/drivers/usb/storage/dpcm.h
blob: 81b464cfcc1e63f458b41142210d93845bf979cf (plain) (tree)

































                                                                          
/* Driver for Microtech DPCM-USB CompactFlash/SmartMedia reader
 *
 * $Id: dpcm.h,v 1.2 2000/08/25 00:13:51 mdharm Exp $
 *
 * DPCM driver v0.1:
 *
 * First release
 *
 * Current development and maintenance by:
 *   (c) 2000 Brian Webb (webbb@earthlink.net)
 *
 * See dpcm.c for more explanation
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation; either version 2, or (at your option) any
 * later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#ifndef _MICROTECH_DPCM_USB_H
#define _MICROTECH_DPCM_USB_H

extern int dpcm_transport(struct scsi_cmnd *srb, struct us_data *us);

#endif
@left: GPIO line for left value. * @right: GPIO line for right value. * @bleft: GPIO line for left button. * @bmiddle: GPIO line for middle button. * @bright: GPIO line for right button. * * This struct must be added to the platform_device in the board code. * It is used by the gpio_mouse driver to setup GPIO lines and to * calculate mouse movement. */ struct gpio_mouse_platform_data { int scan_ms; int polarity; union { struct { int up; int down; int left; int right; int bleft; int bmiddle; int bright; }; int pins[GPIO_MOUSE_PIN_MAX]; }; }; #endif /* _GPIO_MOUSE_H */