summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801gx/sata.h
blob: 664f59490d9da83c5099f88b3b5c085ebb8bf150 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0-or-later */

#ifndef I82801GX_SATA_H
#define I82801GX_SATA_H

#define SATA_MAP	0x90
#define SATA_PCS	0x92
#define SATA_IR		0x94
#define  SIF1		0x180
#define  SIF2		(1 << 23)
#define  SIF3(ports)	((~(ports) & 0xf) << 24)
#define  SCRE		(1 << 28)
#define  SCRD		(1 << 30)

void sata_enable(struct device *dev);

#endif