coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
sata.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #ifndef I82801GX_SATA_H
4 #define I82801GX_SATA_H
5 
6 #define SATA_MAP 0x90
7 #define SATA_PCS 0x92
8 #define SATA_IR 0x94
9 #define SIF1 0x180
10 #define SIF2 (1 << 23)
11 #define SIF3(ports) ((~(ports) & 0xf) << 24)
12 #define SCRE (1 << 28)
13 #define SCRD (1 << 30)
14 
15 void sata_enable(struct device *dev);
16 
17 #endif
void sata_enable(struct device *dev)
Definition: sata.c:33
Definition: device.h:107