Skip to content

Commit

Permalink
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-…
Browse files Browse the repository at this point in the history
…linus

* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
  [MIPS] Sibyte: Register PIO PATA device only for Swarm and Litte Sur
  • Loading branch information
torvalds committed Oct 8, 2008
2 parents 392eaef + 8806048 commit 6984937
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/mips/sibyte/swarm/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#include <asm/sibyte/sb1250_genbus.h>
#include <asm/sibyte/sb1250_regs.h>

#if defined(CONFIG_SIBYTE_SWARM) || defined(CONFIG_SIBYTE_LITTLESUR)

#define DRV_NAME "pata-swarm"

#define SWARM_IDE_SHIFT 5
Expand Down Expand Up @@ -79,3 +81,5 @@ static int __init swarm_pata_init(void)
}

device_initcall(swarm_pata_init);

#endif /* defined(CONFIG_SIBYTE_SWARM) || defined(CONFIG_SIBYTE_LITTLESUR) */

0 comments on commit 6984937

Please sign in to comment.