Lines Matching refs:primary
82 IDE primary;
90 primary.base = IDE_PRIMARY_BASE;
91 primary.devctl = IDE_PRIMARY_DEVCTL;
92 Spinlock_Init(&primary.lock, "IDE Primary Controller Lock",
95 if (!IDE_HasController(&primary)) {
100 Spinlock_Lock(&primary.lock);
101 IDE_Reset(&primary);
102 IDE_Identify(&primary, 0);
103 IDE_Identify(&primary, 1);
104 Spinlock_Unlock(&primary.lock);
246 primaryDrives[drive].ide = &primary;