[BACK]Return to ide.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / include / asm-h8300

File: [Development] / linux-2.6-xfs / include / asm-h8300 / Attic / ide.h (download)

Revision 1.2, Fri Mar 12 06:17:49 2004 UTC (13 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.1: +2 -2 lines

Merge up to 2.6.4

/****************************************************************************/

/*
 *  linux/include/asm-h8300/ide.h
 *
 *  Copyright (C) 1994-1996  Linus Torvalds & authors
 *  Copyright (C) 2001       Lineo Inc., davidm@snapgear.com
 *  Copyright (C) 2002       Greg Ungerer (gerg@snapgear.com)
 *  Copyright (C) 2002       Yoshinori Sato (ysato@users.sourceforge.jp)
 */

/****************************************************************************/
#ifndef _H8300_IDE_H
#define _H8300_IDE_H
/****************************************************************************/
#ifdef __KERNEL__
/****************************************************************************/

void h8300_ide_print_resource(char *name, hw_regs_t *hw);
static __inline__ int ide_default_irq(unsigned long base) { return 0; };
static __inline__ unsigned long ide_default_io_base(int index) { return 0; };

static __inline__ void ide_init_hwif_ports(hw_regs_t *hw, unsigned long data_port,
	 unsigned long ctrl_port, int *irq)
{
}


static inline void ide_init_default_hwifs(void)
{
}

#define MAX_HWIFS	1

#define __ide_mm_insw(port,addr,count)  do { } while(0)
#define __ide_mm_insl(port,addr,count)  do { } while(0)
#define __ide_mm_outsw(port,addr,count) do { } while(0)
#define __ide_mm_outsl(port,addr,count) do { } while(0)

/****************************************************************************/
#endif /* __KERNEL__ */
#endif /* _H8300_IDE_H */
/****************************************************************************/