Home
last modified time | relevance | path

Searched refs:primary (Results 1 – 1 of 1) sorted by relevance

/sys/dev/x86/
Dide.c82 IDE primary; variable
90 primary.base = IDE_PRIMARY_BASE; in IDE_Init()
91 primary.devctl = IDE_PRIMARY_DEVCTL; in IDE_Init()
92 Spinlock_Init(&primary.lock, "IDE Primary Controller Lock", in IDE_Init()
95 if (!IDE_HasController(&primary)) { in IDE_Init()
100 Spinlock_Lock(&primary.lock); in IDE_Init()
101 IDE_Reset(&primary); in IDE_Init()
102 IDE_Identify(&primary, 0); in IDE_Init()
103 IDE_Identify(&primary, 1); in IDE_Init()
104 Spinlock_Unlock(&primary.lock); in IDE_Init()
[all …]