mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 14:44:10 +08:00
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: [MIPS] Sibyte: Register PIO PATA device only for Swarm and Litte Sur
This commit is contained in:
commit
69849375d6
@ -9,6 +9,8 @@
|
|||||||
#include <asm/sibyte/sb1250_genbus.h>
|
#include <asm/sibyte/sb1250_genbus.h>
|
||||||
#include <asm/sibyte/sb1250_regs.h>
|
#include <asm/sibyte/sb1250_regs.h>
|
||||||
|
|
||||||
|
#if defined(CONFIG_SIBYTE_SWARM) || defined(CONFIG_SIBYTE_LITTLESUR)
|
||||||
|
|
||||||
#define DRV_NAME "pata-swarm"
|
#define DRV_NAME "pata-swarm"
|
||||||
|
|
||||||
#define SWARM_IDE_SHIFT 5
|
#define SWARM_IDE_SHIFT 5
|
||||||
@ -79,3 +81,5 @@ static int __init swarm_pata_init(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
device_initcall(swarm_pata_init);
|
device_initcall(swarm_pata_init);
|
||||||
|
|
||||||
|
#endif /* defined(CONFIG_SIBYTE_SWARM) || defined(CONFIG_SIBYTE_LITTLESUR) */
|
||||||
|
Loading…
Reference in New Issue
Block a user