Commit 76fff7db authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Linus Torvalds

[PATCH] add asm-generic/hdreg.h

Use it on all archs which define ide_ioreg_t to unsigned long.
parent b7c2214d
/* #include <asm-generic/hdreg.h>
* linux/include/asm-alpha/hdreg.h
*
* Copyright (C) 1994-1996 Linus Torvalds & authors
*/
#ifndef __ASMalpha_HDREG_H
#define __ASMalpha_HDREG_H
typedef unsigned long ide_ioreg_t;
#endif /* __ASMalpha_HDREG_H */
/* #include <asm-generic/hdreg.h>
* linux/include/asm-arm/hdreg.h
*
* Copyright (C) 1994-1996 Linus Torvalds & authors
*/
#ifndef __ASMARM_HDREG_H
#define __ASMARM_HDREG_H
typedef unsigned long ide_ioreg_t;
#endif /* __ASMARM_HDREG_H */
/* #include <asm-generic/hdreg.h>
* linux/include/asm-arm26/hdreg.h
*
* Used by include/linux/ide.h
*
* Copyright (C) 1994-1996 Linus Torvalds & authors
*/
#ifndef __ASMARM_HDREG_H
#define __ASMARM_HDREG_H
typedef unsigned long ide_ioreg_t;
#endif /* __ASMARM_HDREG_H */
#ifndef __ASM_GENERIC_HDREG_H
#define __ASM_GENERIC_HDREG_H
typedef unsigned long ide_ioreg_t;
#endif /* __ASM_GENERIC_HDREG_H */
/* #include <asm-generic/hdreg.h>
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* This file contains the MIPS architecture specific IDE code.
*
* Copyright (C) 1994-1996 Linus Torvalds & authors
* Copyright (C) 2001 Ralf Baechle
*/
#ifndef _ASM_HDREG_H
#define _ASM_HDREG_H
typedef unsigned long ide_ioreg_t;
#endif /* _ASM_HDREG_H */
#ifndef _ASM_HDREG_H #include <asm-generic/hdreg.h>
#define _ASM_HDREG_H
typedef unsigned long ide_ioreg_t;
#endif
/* #include <asm-generic/hdreg.h>
* include/asm-ppc/hdreg.h
*
* Copyright (C) 1994-1996 Linus Torvalds & authors
*/
/*
* This file contains the ppc architecture specific IDE code.
*/
#ifndef __ASMPPC_HDREG_H
#define __ASMPPC_HDREG_H
typedef unsigned long ide_ioreg_t;
#endif /* __ASMPPC_HDREG_H */
/* #include <asm-generic/hdreg.h>
* linux/include/asm-ppc/hdreg.h
*
* Copyright (C) 1994-1996 Linus Torvalds & authors
*
* 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 of the License, or (at your option) any later version.
*/
/*
* This file contains the ppc architecture specific IDE code.
*/
#ifndef __ASMPPC64_HDREG_H
#define __ASMPPC64_HDREG_H
typedef unsigned long ide_ioreg_t;
#endif /* __ASMPPC64_HDREG_H */
/* #include <asm-generic/hdreg.h>
* linux/include/asm-sh/hdreg.h
*
* Copyright (C) 1994-1996 Linus Torvalds & authors
*/
#ifndef __ASM_SH_HDREG_H
#define __ASM_SH_HDREG_H
typedef unsigned long ide_ioreg_t;
#endif /* __ASM_SH_HDREG_H */
/* $Id: hdreg.h,v 1.2 2000/12/05 00:56:36 anton Exp $ #include <asm-generic/hdreg.h>
* hdreg.h: SPARC PCI specific IDE glue.
*
* Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu)
* Copyright (C) 1998 Eddie C. Dost (ecd@skynet.be)
*/
#ifndef __SPARC_HDREG_H
#define __SPARC_HDREG_H
typedef unsigned long ide_ioreg_t;
#endif /* __SPARC_HDREG_H */
/* $Id: hdreg.h,v 1.1 1999/05/14 07:23:13 davem Exp $ #include <asm-generic/hdreg.h>
* hdreg.h: Ultra/PCI specific IDE glue.
*
* Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu)
* Copyright (C) 1998 Eddie C. Dost (ecd@skynet.be)
*/
#ifndef __SPARC64_HDREG_H
#define __SPARC64_HDREG_H
typedef unsigned long ide_ioreg_t;
#endif /* __SPARC64_HDREG_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment