Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Commit

Permalink
[libata] No need for all those arch libata-portmap.h headers
Browse files Browse the repository at this point in the history
They all contain the same thing.  Instead, have a single generic one in
include/asm-generic, and permit an arch to override as needed.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Jeff Garzik committed Sep 25, 2006
1 parent 7c25041 commit a6d967a
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
1 change: 0 additions & 1 deletion include/asm-alpha/libata-portmap.h

This file was deleted.

1 change: 0 additions & 1 deletion include/asm-frv/libata-portmap.h

This file was deleted.

1 change: 0 additions & 1 deletion include/asm-i386/libata-portmap.h

This file was deleted.

1 change: 0 additions & 1 deletion include/asm-ia64/libata-portmap.h

This file was deleted.

1 change: 0 additions & 1 deletion include/asm-powerpc/libata-portmap.h

This file was deleted.

1 change: 0 additions & 1 deletion include/asm-sparc/libata-portmap.h

This file was deleted.

1 change: 0 additions & 1 deletion include/asm-sparc64/libata-portmap.h

This file was deleted.

1 change: 0 additions & 1 deletion include/asm-x86_64/libata-portmap.h

This file was deleted.

8 changes: 8 additions & 0 deletions include/linux/libata.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,15 @@
#include <linux/workqueue.h>
#include <scsi/scsi_host.h>

/*
* Define if arch has non-standard setup. This is a _PCI_ standard
* not a legacy or ISA standard.
*/
#ifdef CONFIG_ATA_NONSTANDARD
#include <asm/libata-portmap.h>
#else
#include <asm-generic/libata-portmap.h>
#endif

/*
* compile-time options: to be removed as soon as all the drivers are
Expand Down

0 comments on commit a6d967a

Please sign in to comment.